Bitcoin Forum
November 15, 2018, 07:42:01 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Number of dynamic SHA rounds on core wallet encryption - specs  (Read 36 times)
rterwedo
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 20, 2017, 10:53:04 AM
 #1

Hi - long story short, been going over the original spec for wallet encryption, and the dynamic number of SHA rounds used in a wallet for core ~.4.

https://github.com/bitcoin/bitcoin/blob/6b8a5ab622e5c9386c872036646bf94da983b190/doc/README

Lines 77-79

Is this meant to be taken literally, in that given a wallet encrypted on machine 1, with a dynamic number of rounds X, if that wallet is moved over to a new machine and subsequently opened/decrypted - would X stay the same or take on the specs of machine 2?  (It appears it would only change if pwd is changed)

We are working on a recovery for an owner with multiple wallets.  Our process has been to go after the one with the least amount of SHA iterations (obviously bc its faster) even tho that is the one without the coins in it, under the assumption the pwd is the same or similar to the wallets with higher SHA rounds and at the worst will provide confirmation of pwd formatting possibly used in the harder wallets.

I am just trying to account for any reasons the wallets rounds may be different.

1) Pwd changed on a new faster machine
2) Brand new wallet on new machine (also possible bc the addresses are different, although it could make sense he used a similar format for new wallet)
3) ***Wallet opened on new faster machine but pwd is not changed

#3 is what I am asking about.

Thanks!
1542267721
Hero Member
*
Offline Offline

Posts: 1542267721

View Profile Personal Message (Offline)

Ignore
1542267721
Reply with quote  #2

1542267721
Report to moderator
1542267721
Hero Member
*
Offline Offline

Posts: 1542267721

View Profile Personal Message (Offline)

Ignore
1542267721
Reply with quote  #2

1542267721
Report to moderator
1542267721
Hero Member
*
Offline Offline

Posts: 1542267721

View Profile Personal Message (Offline)

Ignore
1542267721
Reply with quote  #2

1542267721
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1542267721
Hero Member
*
Offline Offline

Posts: 1542267721

View Profile Personal Message (Offline)

Ignore
1542267721
Reply with quote  #2

1542267721
Report to moderator
1542267721
Hero Member
*
Offline Offline

Posts: 1542267721

View Profile Personal Message (Offline)

Ignore
1542267721
Reply with quote  #2

1542267721
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1582
Merit: 1739


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
December 20, 2017, 03:59:57 PM
 #2

The number of iterations is only changed when the encryption is changed, i.e. a new password is set. The number of iterations will not change on any unlock of the wallet.

rterwedo
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 22, 2017, 09:43:15 AM
 #3

The number of iterations is only changed when the encryption is changed, i.e. a new password is set. The number of iterations will not change on any unlock of the wallet.

Thank you for the confirmation!
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!