Author

Topic: keeping old wallet files dangerous ? (Read 800 times)

newbie
Activity: 14
Merit: 0
September 26, 2011, 02:16:50 PM
#9
However, once the old backups are not distributed anywhere, I can safely remove them and start backing-up the encrypted wallet file, right ?
hero member
Activity: 938
Merit: 1002
September 26, 2011, 02:10:03 PM
#8
I remember seeing somewhere that a new keypool is created after you encrypt your wallet, but I can't find it anymore. I also can't find anything like that in the code, but it's quite possible that I'm looking in the wrong place.

I just tested it, doesn't seem to be the case. I created a new wallet, backed it up, encrypted it and reloaded bitcoin. I then generated a new address using the new encrypted wallet and then the unencrypted backup wallet. They both generated the same address.

I think this behaviour is expected, otherwise old backups would be invalid after encryption (EDIT: of course "invalid" is the wrong word here, they would just cease to be future proof). There are a lot of people who don't take snapshots that often and rely on the keypool.
legendary
Activity: 1204
Merit: 1015
September 26, 2011, 01:15:01 PM
#7
I remember seeing somewhere that a new keypool is created after you encrypt your wallet, but I can't find it anymore. I also can't find anything like that in the code, but it's quite possible that I'm looking in the wrong place.
hero member
Activity: 938
Merit: 1002
September 26, 2011, 12:55:02 PM
#6
Should I keep the older wallet files ? Like a month old, or is it dangerous ?
I mean can somebody get the BTC out, starting from an older  wallet file ?

Not only the keys are the same, there is also a pool of 100 "future" keys that are kept in your old wallet, so the next 100 keys you generate using your encrypted wallet are already contained in the old one.

I don't like deleting backups. Anything can happen, the new encryption feature can fail, you can forget your password, etc. Just create an encrypted backup of your old wallet.dat instead of deleting it (preferably using a different passphrase). I use gpg, just because it's very handy. Keeping cleartext backups of your wallet is not a very good idea anyway.
newbie
Activity: 22
Merit: 0
September 26, 2011, 11:47:22 AM
#5
I like that 0.4 has encryption but I've been hesitant to update because it seems like it would be a pita to use
legendary
Activity: 2506
Merit: 1010
September 25, 2011, 04:38:01 PM
#4
I was asking for suggestions here:
 - http://bitcoin.stackexchange.com/questions/1243/can-i-force-my-wallet-to-only-have-news-keys-post-encryption


I suspect the best way to be fully protected will be to create a new wallet and send all the coins to the new wallet.
legendary
Activity: 1050
Merit: 1000
You are WRONG!
September 25, 2011, 06:18:06 AM
#3
no it is not.
yes it is, the private keys are still unencrypted in the old wallet.
anyone who can get their hands on his keys, is able to spend his btc.
legendary
Activity: 1050
Merit: 1000
You are WRONG!
September 25, 2011, 04:48:01 AM
#2
yes! its danrouruse in that sense. BUT i think its more dangerouse to not have a secure plaintext copy...

the keys in the old wallet is the same keys that is in the encrypted wallet.
newbie
Activity: 14
Merit: 0
September 25, 2011, 02:07:11 AM
#1
Hello all,

I was just wondering. I upgraded my client to 0.4, and encrypted my wallet.
Should I keep the older wallet files ? Like a month old, or is it dangerous ?
I mean can somebody get the BTC out, starting from an older  wallet file ?

Thanks for explaining,

Peter
Jump to: