Bitcoin Forum
April 25, 2024, 05:06:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: keeping old wallet files dangerous ?  (Read 782 times)
petermeuris (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
September 25, 2011, 07:07:11 AM
Last edit: September 25, 2011, 07:29:28 AM by petermeuris
 #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
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714021579
Hero Member
*
Offline Offline

Posts: 1714021579

View Profile Personal Message (Offline)

Ignore
1714021579
Reply with quote  #2

1714021579
Report to moderator
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
September 25, 2011, 09: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.

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
September 25, 2011, 11: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.

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
September 25, 2011, 09: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.

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


fireball500
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
September 26, 2011, 04:47:22 PM
 #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
memvola
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1002


View Profile
September 26, 2011, 05: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.
Maged
Legendary
*
Offline Offline

Activity: 1204
Merit: 1015


View Profile
September 26, 2011, 06: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.

memvola
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1002


View Profile
September 26, 2011, 07:10:03 PM
Last edit: September 26, 2011, 07:54:47 PM by memvola
 #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.
petermeuris (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
September 26, 2011, 07: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 ?
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!