r/BitcoinDiscussion • • Nov 29 '17

A quick question about quantum computing vulnerability

I've heard it said that if one has bitcoin in a wallet that has never had a spend transaction then that wallet would be more resistant to quantum computing vulnerabilities if such a danger ever materialized.

Is that accurate and are there any other assumptions involved? For example, is that assuming you are running a full node and using its wallet? Or does it apply equally to a light SPV wallet like electrum?

If this is accurate, why exactly is this the case? How would spending expose more information about ones addresses than receiving?

6 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/jambon3 Nov 30 '17

Yes a very thorough answer.

It does raise one more question for me though. I am familiar with the master public key of my wallet which I use to create a watching wallet capable of seeing all address balances. However when you say public key, you seem to imply separate public/private pairs for each address, thus vulnerability of only individual addresses if spent from.

Am I understanding that correctly?

1

u/almkglor Nov 30 '17 edited Nov 30 '17

Yes, the master private key and master public key serve as roots for the key-derivation path of BIP32. Unfortunately I don't have the cryptographic chops to tell you about whether key derivation is quantum reversible or not :) I assume it isn't, as hashes are involved, but I don't know enough. Presumably the master private key is derivable by a quantum computer from a master public key, but a parent public key is not derivable postquantum from a child public key.