Bitcoin Forum
September 24, 2018, 05:02:11 AM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Older unencrypted wallet.dat useless after encrypting a copy?  (Read 67 times)
samspaces
Legendary
*
Offline Offline

Activity: 1307
Merit: 1000


View Profile
December 29, 2017, 10:41:49 PM
 #1

Hi, I got this pop up upon encrypting a bitcoin-0.15 wallet.dat.



I'm curious how in the world this warning would play out. How would the chain know I'm running a version of a, on a later date, encrypted wallet.
1537765331
Hero Member
*
Offline Offline

Posts: 1537765331

View Profile Personal Message (Offline)

Ignore
1537765331
Reply with quote  #2

1537765331
Report to moderator
1537765331
Hero Member
*
Offline Offline

Posts: 1537765331

View Profile Personal Message (Offline)

Ignore
1537765331
Reply with quote  #2

1537765331
Report to moderator
1537765331
Hero Member
*
Offline Offline

Posts: 1537765331

View Profile Personal Message (Offline)

Ignore
1537765331
Reply with quote  #2

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

Posts: 1537765331

View Profile Personal Message (Offline)

Ignore
1537765331
Reply with quote  #2

1537765331
Report to moderator
ranochigo
Legendary
*
Offline Offline

Activity: 1554
Merit: 1094


View Profile WWW
December 30, 2017, 04:11:26 AM
 #2

They don't. The warning is correct however.

Bitcoin Core purges your keypool with 1000 keys or your HD seed. In the case of the HD seed, the previous keys that were used are exported into the wallet file. Since the keypool is refreshed/HD seed changed, any future address generated with your new backup will diverge from your old backup.

samspaces
Legendary
*
Offline Offline

Activity: 1307
Merit: 1000


View Profile
December 30, 2017, 02:02:26 PM
 #3

They don't. The warning is correct however.

Bitcoin Core purges your keypool with 1000 keys or your HD seed. In the case of the HD seed, the previous keys that were used are exported into the wallet file. Since the keypool is refreshed/HD seed changed, any future address generated with your new backup will diverge from your old backup.

Without a HD seed, am I correct in assuming that the first 1000 addresses that all the different wallet backups will generate are the same, and that only after the first 1000 keys are used, they diverge?
ranochigo
Legendary
*
Offline Offline

Activity: 1554
Merit: 1094


View Profile WWW
December 30, 2017, 02:46:59 PM
 #4

They don't. The warning is correct however.

Bitcoin Core purges your keypool with 1000 keys or your HD seed. In the case of the HD seed, the previous keys that were used are exported into the wallet file. Since the keypool is refreshed/HD seed changed, any future address generated with your new backup will diverge from your old backup.

Without a HD seed, am I correct in assuming that the first 1000 addresses that all the different wallet backups will generate are the same, and that only after the first 1000 keys are used, they diverge?
No. It diverges at that point for which you encrypt/change the password. The unused keypool gets refreshed and hence any future keys will be different.

samspaces
Legendary
*
Offline Offline

Activity: 1307
Merit: 1000


View Profile
December 30, 2017, 05:17:59 PM
 #5

They don't. The warning is correct however.

Bitcoin Core purges your keypool with 1000 keys or your HD seed. In the case of the HD seed, the previous keys that were used are exported into the wallet file. Since the keypool is refreshed/HD seed changed, any future address generated with your new backup will diverge from your old backup.

Without a HD seed, am I correct in assuming that the first 1000 addresses that all the different wallet backups will generate are the same, and that only after the first 1000 keys are used, they diverge?
No. It diverges at that point for which you encrypt/change the password. The unused keypool gets refreshed and hence any future keys will be different.

Ok, thanks!
Spendulus
Legendary
*
Offline Offline

Activity: 2002
Merit: 1051



View Profile
January 01, 2018, 03:49:54 AM
 #6

They don't. The warning is correct however.

Bitcoin Core purges your keypool with 1000 keys or your HD seed. In the case of the HD seed, the previous keys that were used are exported into the wallet file. Since the keypool is refreshed/HD seed changed, any future address generated with your new backup will diverge from your old backup.
Future addresses, yes.

But what about past activity? Say that a person had put $100 in BTC into an unencrypted wallet for the last 10 months, and he then encrypts the wallet (Bitcoin CORE).

Someone finds an old unencrypted wallet.

How is it possible that it would not have valid content that was retrievable by the finder?



ranochigo
Legendary
*
Offline Offline

Activity: 1554
Merit: 1094


View Profile WWW
January 01, 2018, 03:59:00 AM
 #7

Future addresses, yes.

But what about past activity? Say that a person had put $100 in BTC into an unencrypted wallet for the last 10 months, and he then encrypts the wallet (Bitcoin CORE).

Someone finds an old unencrypted wallet.

How is it possible that it would not have valid content that was retrievable by the finder?
It's not possible for any backups to be invalidated. There isn't any way to surefire make an existing backup useless without the need for a central authority to validate each backup. The old backup will have the previously used private keys.

If someone finds an old unencrypted wallet and your old addresses still have coins in it, they can spend it. You have to send it to a new address in your new backup to deter this possibility.

Spendulus
Legendary
*
Offline Offline

Activity: 2002
Merit: 1051



View Profile
January 01, 2018, 04:12:19 AM
 #8

Future addresses, yes.

But what about past activity? Say that a person had put $100 in BTC into an unencrypted wallet for the last 10 months, and he then encrypts the wallet (Bitcoin CORE).

Someone finds an old unencrypted wallet.

How is it possible that it would not have valid content that was retrievable by the finder?
It's not possible for any backups to be invalidated. There isn't any way to surefire make an existing backup useless without the need for a central authority to validate each backup. The old backup will have the previously used private keys.

If someone finds an old unencrypted wallet and your old addresses still have coins in it, they can spend it. You have to send it to a new address in your new backup to deter this possibility.

This is what I thought. The popup message which comes up is then quite confusing.
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!