Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: bitcoinrocks on February 14, 2015, 03:56:30 PM



Title: HD wallets = privacy?
Post by: bitcoinrocks on February 14, 2015, 03:56:30 PM
Do BIP 32 hierarchical deterministic wallets provide true privacy so that none of the transactions to or from the HD wallet can be linked together?  I'm mainly interested in preventing everyone I pay from linking me to my main BTC wallet.


Title: Re: HD wallets = privacy?
Post by: shorena on February 14, 2015, 04:02:57 PM
Do BIP 32 hierarchical deterministic wallets provide true privacy so that none of the transactions to or from the HD wallet can be linked together?

No, the idea behind HD wallets is that you only have to create a single backup. The transactions are made the same with other wallets. If the wallet you are using allows you to craft them by hand you might be able to achieve this, but this has nothing to do with HD or not.

I'm mainly interested in preventing everyone I pay from linking me to my main BTC wallet.

Use a mixer.


Title: Re: HD wallets = privacy?
Post by: bitcoinrocks on February 14, 2015, 04:25:47 PM
Do BIP 32 hierarchical deterministic wallets provide true privacy so that none of the transactions to or from the HD wallet can be linked together?

No, the idea behind HD wallets is that you only have to create a single backup. The transactions are made the same with other wallets. If the wallet you are using allows you to craft them by hand you might be able to achieve this, but this has nothing to do with HD or not.

Got it, I didn't understand that before.


I'm mainly interested in preventing everyone I pay from linking me to my main BTC wallet.

Use a mixer.

If a wallet uses a different address for each transaction, how can the addresses/transactions be linked to each other?


Title: Re: HD wallets = privacy?
Post by: shorena on February 14, 2015, 04:45:08 PM
-snip-
If a wallet uses a different address for each transaction, how can the addresses/transactions be linked to each other?

Lets say you create a new address for every time you receive bitcoins (as you should and I hope most of us do). You receive several inputs[1] over time, e.g. like below.

0.00369522 and 0.003 on address A
0.10, 0.05 and 0.05 on address B

Now you want to spend 0.2 BTC (and add a fee). For this you will need inputs that you received via A and B. The inputs you received via B are enough for 0.2, but you still need to pay a fee, so you need another input and will also need a change address. When you create a transaction like that the addresses are considered to be related and its commonly accepted that they belong to the same person even though it is possible that several people create a single transaction. On top of that usually you cant cherry pick the inputs either the wallet will just pick them for you, AFAIK Coin Control for bitcoin core/qt is the exception to that. It lets you pick each input before you create a transaction.
You can obfuscate this by using a mixer.


tl;dr you can use different addresses to receive bitcoins, but you have a limited control over the "sending" address.


[1] A transaction is spending formerly received coins (inputs). These inputs have to be spend entirely. If your inputs are higher than your output(s) a wallet will generate a change address for you for the rest. If the inputs have been received on different addresses they appear in blockexplorers as the sending addresses even though technically addresses can not send bitcoins. Example: https://www.blocktrail.com/BTC/tx/b07a2b5647621789d95ae456f3f71f7034fb820e921d9f2e4fea7a3db8b733b9
this TX spends two inputs into two outputs.


Title: Re: HD wallets = privacy?
Post by: bitcoinrocks on February 14, 2015, 04:55:56 PM
My what an excellent grasp you have. :)  Thank you for enlightening me.

I'm trying to figure out a way to spend BTC without tying my main wallet to my transactions.  Should this do it:

https://bitcointalk.org/index.php?topic=955020.msg10453447#msg10453447


Title: Re: HD wallets = privacy?
Post by: shorena on February 14, 2015, 05:38:22 PM
My what an excellent grasp you have. :)  Thank you for enlightening me.

I'm trying to figure out a way to spend BTC without tying my main wallet to my transactions.  Should this do it:

https://bitcointalk.org/index.php?topic=955020.msg10453447#msg10453447

Ill quote the post here, to keep it clear.

I've been thinking over how to send and receive BTC without tying my main wallet to the transactions.  Here's the best I can come up with:

- Open two Blockchain.info wallets, label one "public" and one "private".
- Always send BTC from my main wallet only to my private Blockchain wallet, never to my public Blockchain wallet or anywhere else.
- Always send BTC from my private wallet to my public wallet using Shared Coin (faster, less than total privacy) or Shared Send (slower, total privacy).
- Send BTC from my public wallet anywhere I want.  If I don't want the destination to be known then I can use Shared Coin or Shared Send, but if it doesn't matter then I can use a regular send which is fastest.
- Receive BTC to my public account and send to my main account with Shared Coin or Shared Send.

I think this prevents my main wallet from being tied to my day-to-day transactions, especially if I use Shared Send instead of Shared Coin.  Is there a better/easier way?

This should work, but I think you can skip the "private" wallet as it only acts as an intermediary between your "main" wallet and your "public" wallet. The idea behind this was probably that you have to use a bc.i account in order to use shared coin/send, but you can skip this step by using a mixing service or any other high volume wallet. E.g. a big casino/exchange could act as a mixer. The BTC you deposit is usually used for the withdrawal request from someone else and your withdrawal will come from an esentially random input from someone else as well. Another point that speaks for mixing serivce - be it an actual mixer or something that is just used as one - IMHO is that you can use different services from time to time. This will further complicate things for someone that is trying to make sense of your finances.


Title: Re: HD wallets = privacy?
Post by: GTO911 on February 14, 2015, 06:30:11 PM
Monero


Title: Re: HD wallets = privacy?
Post by: R2D221 on February 14, 2015, 07:11:39 PM
Monero

Yeah, what about it?


Title: Re: HD wallets = privacy?
Post by: bitcoinrocks on February 14, 2015, 08:24:55 PM
I've been thinking over how to send and receive BTC without tying my main wallet to the transactions.  Here's the best I can come up with:

- Open two Blockchain.info wallets, label one "public" and one "private".
- Always send BTC from my main wallet only to my private Blockchain wallet, never to my public Blockchain wallet or anywhere else.
- Always send BTC from my private wallet to my public wallet using Shared Coin (faster, less than total privacy) or Shared Send (slower, total privacy).
- Send BTC from my public wallet anywhere I want.  If I don't want the destination to be known then I can use Shared Coin or Shared Send, but if it doesn't matter then I can use a regular send which is fastest.
- Receive BTC to my public account and send to my main account with Shared Coin or Shared Send.

I think this prevents my main wallet from being tied to my day-to-day transactions, especially if I use Shared Send instead of Shared Coin.  Is there a better/easier way?

This should work, but I think you can skip the "private" wallet as it only acts as an intermediary between your "main" wallet and your "public" wallet. The idea behind this was probably that you have to use a bc.i account in order to use shared coin/send, but you can skip this step by using a mixing service or any other high volume wallet. E.g. a big casino/exchange could act as a mixer. The BTC you deposit is usually used for the withdrawal request from someone else and your withdrawal will come from an esentially random input from someone else as well. Another point that speaks for mixing serivce - be it an actual mixer or something that is just used as one - IMHO is that you can use different services from time to time. This will further complicate things for someone that is trying to make sense of your finances.

So you're saying I could use a mixing service or an exchange in place of the "private" wallet?  Why would that be better?

Also Blockchain's Shared Coin uses CoinJoin which (from what I can gather) is a (nearly?) trustless method for mixing which gives it an advantage over a conventional mixing service or exchange.


Title: Re: HD wallets = privacy?
Post by: ivonna on February 14, 2015, 08:42:42 PM
More privacy would probably result in using a wallet that allows for proper coin control. That is a wallet that allows you to specify which addresses that you want to use to sign a particular transaction.

You would essentially want to make sure that you receive no more then one payment into each address and when yo go to spend your coins you want to use no more then one address to send the coins from and use a newly generated address as your change address.

You will eventually end up with a lot of addresses with small inputs so you will need to figure out a way to combine inputs without sacrificing privacy. This is usually where mixers come into play


Title: Re: HD wallets = privacy?
Post by: thejaytiesto on February 15, 2015, 12:47:50 AM
Do BIP 32 hierarchical deterministic wallets provide true privacy so that none of the transactions to or from the HD wallet can be linked together?

No, the idea behind HD wallets is that you only have to create a single backup. The transactions are made the same with other wallets. If the wallet you are using allows you to craft them by hand you might be able to achieve this, but this has nothing to do with HD or not.

I'm mainly interested in preventing everyone I pay from linking me to my main BTC wallet.

Use a mixer.
What if the coins you re receiving are crime coins? im paranoid about that.


Title: Re: HD wallets = privacy?
Post by: PolarPoint on February 15, 2015, 12:57:13 AM
Partial privacy can be achieved by receiving funds into a new address every time. All your bitcoins are spread out across a hundred addresses and no one can monitor your total holdings. This is how Satoshi envisioned it.


Title: Re: HD wallets = privacy?
Post by: R2D221 on February 15, 2015, 03:10:29 AM
What if the coins you re receiving are crime coins? im paranoid about that.

There's no such thing as “crime coins”. There are crimes, and there are coins, but coins are not capable of committing crimes.


Title: Re: HD wallets = privacy?
Post by: Kazimir on February 15, 2015, 11:25:09 AM
What if the coins you re receiving are crime coins? im paranoid about that.
Bitcoins, like any proper form of money, are 100% fungible (http://www.merriam-webster.com/dictionary/fungible).


Title: Re: HD wallets = privacy?
Post by: shorena on February 15, 2015, 06:50:44 PM
-snip-
So you're saying I could use a mixing service or an exchange in place of the "private" wallet?  Why would that be better?

Its not per se better, but it is more flexible.

Also Blockchain's Shared Coin uses CoinJoin which (from what I can gather) is a (nearly?) trustless method for mixing which gives it an advantage over a conventional mixing service or exchange.

I personally dont trust blockchain.info very much, so this might very well be bias on my end.

Partial privacy can be achieved by receiving funds into a new address every time. All your bitcoins are spread out across a hundred addresses and no one can monitor your total holdings. This is how Satoshi envisioned it.

Yes, but when you want to spend them you might have to combine inputs from several addresses, which would like addresses together.


Title: Re: HD wallets = privacy?
Post by: PolarPoint on February 15, 2015, 07:58:35 PM
Partial privacy can be achieved by receiving funds into a new address every time. All your bitcoins are spread out across a hundred addresses and no one can monitor your total holdings. This is how Satoshi envisioned it.

Yes, but when you want to spend them you might have to combine inputs from several addresses, which would like addresses together.

You combine just enough funds from different addresses to pay for what you need and send the change to a new address. No one can monitor your total holdings. That is what OP wants.


Title: Re: HD wallets = privacy?
Post by: R2D221 on February 15, 2015, 08:02:40 PM
Bitcoins, like any proper form of money, are 100% fungible (http://www.merriam-webster.com/dictionary/fungible).

maybe if you repeat that long enough, it will become true.

Why is this false, then?


Title: Re: HD wallets = privacy?
Post by: thelibertycap on February 15, 2015, 08:05:53 PM
What if the coins you re receiving are crime coins? im paranoid about that.
Bitcoins, like any proper form of money, are 100% fungible (http://www.merriam-webster.com/dictionary/fungible).

LOL, nope, bitcoin is not 100% fungible. Does that mean bitcoin is not a proper form of money? Nope.
I like bitcoin's traceability as much as I like ring signature's untraceability.
Monero in your definition is proper money but I don't think it will be bigger than bitcoin. Bitcoins are just better for some things and more easily regulated, I think governments will support bitcoin because of this traceability and a perfectly readable public ledger.


Title: Re: HD wallets = privacy?
Post by: R2D221 on February 15, 2015, 08:10:53 PM
Please explain why Bitcoin is not fungible.


Title: Re: HD wallets = privacy?
Post by: thelibertycap on February 15, 2015, 08:14:47 PM
Please explain why Bitcoin is not fungible.

Would you buy bitcoins stolen from bter or mtgox for the same price as coins on exchanges? There are sellers out there....
I believe you can get a decent discount ;)


Title: Re: HD wallets = privacy?
Post by: elephantas1 on February 15, 2015, 08:19:39 PM
Please explain why Bitcoin is not fungible.

Would you buy bitcoins stolen from bter or mtgox for the same price as coins on exchanges? There are sellers out there....
I believe you can get a decent discount ;)
uhmm can you give example of at least one seller? i have never seen one on forum


Title: Re: HD wallets = privacy?
Post by: R2D221 on February 15, 2015, 08:25:30 PM
Please explain why Bitcoin is not fungible.

Would you buy bitcoins stolen from bter or mtgox for the same price as coins on exchanges? There are sellers out there....
I believe you can get a decent discount ;)

I have no way of knowing they are stolen. I can trace the transactions (well, as a matter of fact, I don't know how), but that will just be an assumption ready than irrefutable truth.


Title: Re: HD wallets = privacy?
Post by: thelibertycap on February 15, 2015, 08:34:13 PM
Please explain why Bitcoin is not fungible.

Would you buy bitcoins stolen from bter or mtgox for the same price as coins on exchanges? There are sellers out there....
I believe you can get a decent discount ;)

I have no way of knowing they are stolen. I can trace the transactions (well, as a matter of fact, I don't know how), but that will just be an assumption ready than irrefutable truth.

bter:
7170 BTC got stolen from our cold wallet in this transaction:
https://blockchain.info/tx/f5b0363f03e1ed8bb812c135361ea93590c831ce9f13a3750be1b93575baccc6

if those coins move into your wallet and you try to sell on an exchange, you will be suspect no 1.
bitcoin's transactions are a public ledger, everybody sees where the coins are moving

Edit: "suspect" is a very weak word... it's like you have big pile of cocaine at home and try to tell the cops you know nothing about it


Title: Re: HD wallets = privacy?
Post by: thelibertycap on February 15, 2015, 08:35:31 PM
Please explain why Bitcoin is not fungible.

Would you buy bitcoins stolen from bter or mtgox for the same price as coins on exchanges? There are sellers out there....
I believe you can get a decent discount ;)
uhmm can you give example of at least one seller? i have never seen one on forum

you think hackers that stole millions in bitcoin will advertise here?
such people are usually not stupid.


Title: Re: HD wallets = privacy?
Post by: R2D221 on February 15, 2015, 08:40:33 PM
7170 BTC got stolen from our cold wallet in this transaction:
https://blockchain.info/tx/f5b0363f03e1ed8bb812c135361ea93590c831ce9f13a3750be1b93575baccc6

if those coins move into your wallet and you try to sell on an exchange, you will be suspect no 1.
bitcoin's transactions are a public ledger, everybody sees where the coins are moving

Edit: "suspect" is a very weak word... it's like you have big pile of cocaine at home and try to tell the cops you know nothing about it

Thanks for making me a suspect of a crime I didn't commit. Meanwhile, the actual thief of the 7170 BTC will roam free as nothing has happened.


Title: Re: HD wallets = privacy?
Post by: thelibertycap on February 15, 2015, 08:46:27 PM
7170 BTC got stolen from our cold wallet in this transaction:
https://blockchain.info/tx/f5b0363f03e1ed8bb812c135361ea93590c831ce9f13a3750be1b93575baccc6

if those coins move into your wallet and you try to sell on an exchange, you will be suspect no 1.
bitcoin's transactions are a public ledger, everybody sees where the coins are moving

Edit: "suspect" is a very weak word... it's like you have big pile of cocaine at home and try to tell the cops you know nothing about it

Thanks for making me a suspect of a crime I didn't commit. Meanwhile, the actual thief of the 7170 BTC will roam free as nothing has happened.

life is hard :) if you bought those coins you had to pay with cash (bank transfer if the hacker is stupid) and i am sure if you are reasonable with the government officials and lead them to the seller, you would not be charged.
that's what's actually nice about bitcoin. thieves can be caught when they start cashing out...


Title: Re: HD wallets = privacy?
Post by: R2D221 on February 15, 2015, 08:51:40 PM
7170 BTC got stolen from our cold wallet in this transaction:
https://blockchain.info/tx/f5b0363f03e1ed8bb812c135361ea93590c831ce9f13a3750be1b93575baccc6

if those coins move into your wallet and you try to sell on an exchange, you will be suspect no 1.
bitcoin's transactions are a public ledger, everybody sees where the coins are moving

Edit: "suspect" is a very weak word... it's like you have big pile of cocaine at home and try to tell the cops you know nothing about it

Thanks for making me a suspect of a crime I didn't commit. Meanwhile, the actual thief of the 7170 BTC will roam free as nothing has happened.

life is hard :) if you bought those coins you had to pay with cash (bank transfer if the hacker is stupid) and i am sure if you are reasonable with the government officials and lead them to the seller, you would not be charged.
that's what's actually nice about bitcoin. thieves can be caught when they start cashing out...

OK, so you're telling me I'm free to buy those bitcoins as long as I help the government catch the bad guys. That seems reasonable, and it also means that Bitcoin remains fungible.


Title: Re: HD wallets = privacy?
Post by: thelibertycap on February 15, 2015, 09:03:19 PM
7170 BTC got stolen from our cold wallet in this transaction:
https://blockchain.info/tx/f5b0363f03e1ed8bb812c135361ea93590c831ce9f13a3750be1b93575baccc6

if those coins move into your wallet and you try to sell on an exchange, you will be suspect no 1.
bitcoin's transactions are a public ledger, everybody sees where the coins are moving

Edit: "suspect" is a very weak word... it's like you have big pile of cocaine at home and try to tell the cops you know nothing about it

Thanks for making me a suspect of a crime I didn't commit. Meanwhile, the actual thief of the 7170 BTC will roam free as nothing has happened.

life is hard :) if you bought those coins you had to pay with cash (bank transfer if the hacker is stupid) and i am sure if you are reasonable with the government officials and lead them to the seller, you would not be charged.
that's what's actually nice about bitcoin. thieves can be caught when they start cashing out...

OK, so you're telling me I'm free to buy those bitcoins as long as I help the government catch the bad guys. That seems reasonable, and it also means that Bitcoin remains fungible.

You are a tough nut to crack :)
http://www.coindesk.com/bitcoin-tracking-proposal-divides-bitcoin-community/
http://www.coindesk.com/bonafide-raises-850k-build-reputation-system-bitcoin/


Title: Re: HD wallets = privacy?
Post by: R2D221 on February 15, 2015, 09:10:54 PM
I'm disappointed that Mike Hearn actually believes that coin marking is a good idea.


Title: Re: HD wallets = privacy?
Post by: Kazimir on February 15, 2015, 10:40:31 PM
LOL, nope, bitcoin is not 100% fungible.
Yes it is.

Suppose I have one bitcoin on address A (stolen from MtGox), and one on address B (legally purchased from Coinbase). I now transfer them both to address C. And then from C, I transfer one bitcoin to address P and one to address Q (in a single tx). Which one is the stolen bitcoin: the one on P or Q?


Title: Re: HD wallets = privacy?
Post by: Kazimir on February 15, 2015, 10:43:29 PM
maybe if you repeat that long enough, it will become true.
It's already true. See my example above.


Title: Re: HD wallets = privacy?
Post by: bitllionaire on February 15, 2015, 10:44:23 PM
I think they don't provide privacy, the privacy is only provided by you being careful with your transactions


Title: Re: HD wallets = privacy?
Post by: thelibertycap on February 16, 2015, 09:17:58 AM
LOL, nope, bitcoin is not 100% fungible.
Yes it is.

Suppose I have one bitcoin on address A (stolen from MtGox), and one on address B (legally purchased from Coinbase). I now transfer them both to address C. And then from C, I transfer one bitcoin to address P and one to address Q (in a single tx). Which one is the stolen bitcoin: the one on P or Q?

If Bitcoin is 100% fungible then these guys are doing some crazy magic distinguishing one bitcoin from the another:

Sanitizing Bitcoin: This Company Wants To Track 'Clean' Bitcoin Accounts
It’s a tracking system for Bitcoin ownership that would theoretically weed out ‘bad actors’ – like the Dread Pirate Roberts – from the legitimate Bitcoin business world. Their plan is to compile a database of the known identities associated with Bitcoin addresses in the hope that Coin Validation will become the one-stop-identity shop for law enforcement when trying to find out who’s doing something nefarious with Bitcoin, while providing a red-flag system for businesses who have customers trying to use Bitcoin that’s associated with illicit use.
http://www.forbes.com/sites/kashmirhill/2013/11/13/sanitizing-bitcoin-coin-validation/

-

Lets take your example - if I own the wallet C and try to convert all those bitcoins to cash, do you think everything would go smooth and nobody would ask questions because every bitcoin is like any other bitcoin?

If you said bitcoin is 90% fungible I would have said nothing but 100%?
Obviously not.


Title: Re: HD wallets = privacy?
Post by: R2D221 on February 16, 2015, 12:13:04 PM
Definitely, what they are doing is crazy.


Title: Re: HD wallets = privacy?
Post by: R2D221 on February 16, 2015, 12:13:56 PM
Also, banknotes have serial numbers, and I see nobody saying that the dollar is not fungible.


Title: Re: HD wallets = privacy?
Post by: Kazimir on February 16, 2015, 04:21:16 PM
Lets take your example - if I own the wallet C and try to convert all those bitcoins to cash, do you think everything would go smooth and nobody would ask questions because every bitcoin is like any other bitcoin?
I'm not considering wallet C, I'm considering P and Q. Or, similar to the step from A+B to P+Q, you can do the same five or ten more times. You'll end up with an arbitrary number of wallets, which can most definitely be converted to Euros or Dollars without any problem. The only involvement of 'tainted' coins is many steps back in the transaction chain (of which nobody can claim they were already yours at that point), and there's no way to tell 'right' from 'wrong' coins.

Besides, you seem to assume you always want to convert bitcoins to fiat. Not true. Any bitcoins I have, legally earned or stolen, I sure as hell would not invest them in feeble, air-funded currencies like EUR or USD.


Title: Re: HD wallets = privacy?
Post by: bitcoinrocks on February 16, 2015, 10:31:34 PM
I think they don't provide privacy, the privacy is only provided by you being careful with your transactions

I think this sums it up well, and who wants to be careful with their transactions?  Sounds inconvenient.  Better to use some kind of a mixer.

BTW, why don't the thieves just use a mixer, maybe a CoinJoin mixer?


Title: Re: HD wallets = privacy?
Post by: R2D221 on February 16, 2015, 10:33:23 PM
BTW, why don't the thieves just use a mixer, maybe a CoinJoin mixer?

If they know what they're doing, they will do just that. And then, how will I know if money they are sending me was related to the robbery or not?


Title: Re: HD wallets = privacy?
Post by: bitcoinrocks on February 16, 2015, 10:33:30 PM
Also Blockchain's Shared Coin uses CoinJoin which (from what I can gather) is a (nearly?) trustless method for mixing which gives it an advantage over a conventional mixing service or exchange.

I personally dont trust blockchain.info very much, so this might very well be bias on my end.

Why is that?  Is this a widely held opinion?


Title: Re: HD wallets = privacy?
Post by: rich93 on February 16, 2015, 10:45:02 PM
Also Blockchain's Shared Coin uses CoinJoin which (from what I can gather) is a (nearly?) trustless method for mixing which gives it an advantage over a conventional mixing service or exchange.

I personally dont trust blockchain.info very much, so this might very well be bias on my end.

Why is that?  Is this a widely held opinion?

Maybe because of this.

http://www.coindesk.com/good-samaritan-blockchain-hacker-returned-255-btc-speaks/


Title: Re: HD wallets = privacy?
Post by: shorena on February 16, 2015, 10:47:44 PM
-snip-
Why is that?  Is this a widely held opinion?

Not sure, their Block explorer was unreliable for a long time. There are other options now, so I cant tell if they improved performance. The reused R value incident was the most recent screw up and while their reaction was good it still leaves a bad aftertaste. I think its still the most popular online wallet though.


Title: Re: HD wallets = privacy?
Post by: bitcoinrocks on February 16, 2015, 11:13:29 PM
Do any of the others wallets have a built-in interface to a mixer?


Title: Re: HD wallets = privacy?
Post by: 98problems on February 17, 2015, 06:59:41 AM
-snip-
Why is that?  Is this a widely held opinion?

Not sure, their Block explorer was unreliable for a long time. There are other options now, so I cant tell if they improved performance. The reused R value incident was the most recent screw up and while their reaction was good it still leaves a bad aftertaste. I think its still the most popular online wallet though.
blockchain is by far the most popular online wallet at the moment. The reused R value incident did not leave any of their customers with any actual lost funds (and blockchain actually lost very few funds as a result of this).

On the positive side, customers/users of blockchain's wallet service do have the ease of using a website to manage their funds while having the security of controlling their private keys.

With that being said there are a number of potential security vulnerabilities to using their wallet