Bitcoin Forum
April 25, 2024, 06:13:13 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Number of dynamic SHA rounds on core wallet encryption - specs  (Read 152 times)
rterwedo (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 2


View Profile
December 20, 2017, 10:53:04 AM
Last edit: December 20, 2017, 01:05:34 PM by rterwedo
Merited by ABCbits (1)
 #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!
1714068793
Hero Member
*
Offline Offline

Posts: 1714068793

View Profile Personal Message (Offline)

Ignore
1714068793
Reply with quote  #2

1714068793
Report to moderator
1714068793
Hero Member
*
Offline Offline

Posts: 1714068793

View Profile Personal Message (Offline)

Ignore
1714068793
Reply with quote  #2

1714068793
Report to moderator
1714068793
Hero Member
*
Offline Offline

Posts: 1714068793

View Profile Personal Message (Offline)

Ignore
1714068793
Reply with quote  #2

1714068793
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714068793
Hero Member
*
Offline Offline

Posts: 1714068793

View Profile Personal Message (Offline)

Ignore
1714068793
Reply with quote  #2

1714068793
Report to moderator
1714068793
Hero Member
*
Offline Offline

Posts: 1714068793

View Profile Personal Message (Offline)

Ignore
1714068793
Reply with quote  #2

1714068793
Report to moderator
1714068793
Hero Member
*
Offline Offline

Posts: 1714068793

View Profile Personal Message (Offline)

Ignore
1714068793
Reply with quote  #2

1714068793
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
December 20, 2017, 03:59:57 PM
Merited by ABCbits (1)
 #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 (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 2


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:  

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