Bitcoin Forum
May 27, 2024, 12:32:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Does revealing one private key compromise an entire deterministic wallet?  (Read 880 times)
tandit (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
November 25, 2013, 12:28:06 AM
 #1

Does revealing one private key compromise an entire deterministic wallet? 
justusranvier
Legendary
*
Offline Offline

Activity: 1400
Merit: 1009



View Profile
November 25, 2013, 12:29:47 AM
 #2

Sometimes
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4186
Merit: 8435



View Profile WWW
November 25, 2013, 01:18:22 AM
 #3

If it is using the 'type-2' public derivation, e.g. as is the case for all keys in a current armory wallet (IIRC), and the attacker knows the extended public key (e.g. attacker has a watching wallet) then yes.

This is why in BIP32 the recommended top level uses the 'type-1' private derivation which doesn't have this surprising property (but also lacks the nifty ability for a untrusted party to generate addresses for the wallet).
tandit (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
November 25, 2013, 03:58:08 AM
 #4

Does that mean I should create a new electrum wallet?
justusranvier
Legendary
*
Offline Offline

Activity: 1400
Merit: 1009



View Profile
November 25, 2013, 05:41:35 AM
 #5

If it is using the 'type-2' public derivation, e.g. as is the case for all keys in a current armory wallet (IIRC), and the attacker knows the extended public key (e.g. attacker has a watching wallet) then yes.

This is why in BIP32 the recommended top level uses the 'type-1' private derivation which doesn't have this surprising property (but also lacks the nifty ability for a untrusted party to generate addresses for the wallet).
That's why I think implementations should add an extra level of structure such that you create a different xpub for every entity from whom you receive funds.

I know, quadratic scaling, but it's worth it for the added safety.
crazy_rabbit
Legendary
*
Offline Offline

Activity: 1204
Merit: 1001


RUM AND CARROTS: A PIRATE LIFE FOR ME


View Profile
November 25, 2013, 05:55:09 AM
 #6

Does that mean I should create a new electrum wallet?

are you in some sort of situation you're not mentioning? It's hard for people to give you advice to such a vague question.

more or less retired.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!