Bitcoin Forum
March 29, 2024, 05:11:19 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can I create a deterministic wallet and export/disclose individual keys?  (Read 332 times)
Colba17 (OP)
Newbie
*
Offline Offline

Activity: 19
Merit: 1


View Profile
May 26, 2017, 08:20:16 AM
 #1

If one private key of a deterministic wallet gets compromised, are the other keys (and the seed) still secure?

Example: create an armory offline wallet with seed. In this case armory 0.90-beta installed in ubuntu 12.04 offline computer.

I want to transfer some BTC from one address in the offline armory wallet by importing the private key for one of the addresses in the offline wallet to a Bitcoin Core online wallet for whatever reason. If the private key is somehow compromised, are the remaining BTC on different addresses in the same armory offline wallet still secure (same seed)? Thanks!!
1711689079
Hero Member
*
Offline Offline

Posts: 1711689079

View Profile Personal Message (Offline)

Ignore
1711689079
Reply with quote  #2

1711689079
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711689079
Hero Member
*
Offline Offline

Posts: 1711689079

View Profile Personal Message (Offline)

Ignore
1711689079
Reply with quote  #2

1711689079
Report to moderator
1711689079
Hero Member
*
Offline Offline

Posts: 1711689079

View Profile Personal Message (Offline)

Ignore
1711689079
Reply with quote  #2

1711689079
Report to moderator
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3640
Merit: 1345

Armory Developer


View Profile
May 26, 2017, 09:53:51 AM
 #2

If a private key on an Armory address chain gets compromised, consider the whole wallet compromised.

clemdementhe
Newbie
*
Offline Offline

Activity: 24
Merit: 2


View Profile
May 26, 2017, 02:57:59 PM
 #3

If a private key on an Armory address chain gets compromised, consider the whole wallet compromised.

If you have the time, would you mind explaining why? Or point us to an explanation? Is there even a way to know that an address has been generated from a seed? Thanks.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3640
Merit: 1345

Armory Developer


View Profile
May 29, 2017, 10:28:21 AM
 #4

https://github.com/goatpig/BitcoinArmory/blob/master/cppForSwig/EncryptionUtils.cpp#L825

Code is self explanatory. Public key N+1 is derived from (public key N) x Chaincode. The chaincode is a public member. If you want an ELI5, search this forum, there are a few written.

clemdementhe
Newbie
*
Offline Offline

Activity: 24
Merit: 2


View Profile
May 29, 2017, 08:41:16 PM
 #5

Thanks. I thought the chaincode was wallet-specific. I'll have to do more reading...
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3640
Merit: 1345

Armory Developer


View Profile
May 30, 2017, 06:57:33 AM
 #6

The chaincode is wallet specific. Public member means it is treated as publicly exposed data in the wallet. It is never encrypted and carried around in WO wallets. To put this in a realistic scenario, an attacker with your WO wallet and a single private key on the derivation chain can reveal the entire private chain.

clemdementhe
Newbie
*
Offline Offline

Activity: 24
Merit: 2


View Profile
May 30, 2017, 11:24:00 AM
 #7

Ah, of course, that makes sense now. Thanks for taking the time. That was a potential vulnerability I'd missed but will now take into account.
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!