Bitcoin Forum
May 07, 2024, 11:11:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Wallet Safekeeping - Best Practices  (Read 5580 times)
Cryptofibe (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 24, 2013, 06:31:12 AM
 #1

Hi,

I would like to obtain some clarification on what are the technical best practices to safekeeping wallets. I apologize for my newbieness on this matter, but I am looking for some clear and concise advice on the following:

a. If I understand correctly, our unique wallet data is held in wallet.dat -- this is the most important file that uniquely represents our identifier on the bitcoin network.

This would be my hypothetical question.

Let's pretend that I downloaded a fresh Bitcoin client, extracted my address. Then immediately backed-up my wallet.dat on some type of offline storage for example. Then placed this offline storage in a vault Smiley

If I was to send myself payments to this address and in 5 years for example -- I would place wallet.dat back into another Bitcoin wallet, would it catch-up and find all the payments that were ever sent to that wallet?

Essentially, my proposed approach is to instantiate the Bitcoin Client once to have a wallet.dat generated and to obtain the associated address. Delete the wallet.dat for this not to be active on a computer connected to a network. Then store offline (hack-proof), and simply use the address to bank coins.  

Are there any technical risks to this approach? E.g. Major Code changes that would negate such storage methodology?

Thanks in advance.
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
voidmain
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile WWW
December 24, 2013, 06:58:21 AM
 #2

If I was to send myself payments to this address and in 5 years for example -- I would place wallet.dat back into another Bitcoin wallet, would it catch-up and find all the payments that were ever sent to that wallet?

Yes, it will catch up.

IMO,
5 years of time, the HDD or USB stick could be corrupted in hardware level. Low probability but could happen.
Preparing 2~3 USB sticks and storing identical wallet.dat file will be safer to keep it long. Also, check both USB's condition once a month, by mounting onto "linux or mac, offline computer" I wouldn't consider windows as a safe computer.

Lastly, if you encrypted wallet file, 5 years could be long enough time to forget your own password. There's no such thing as "reset password". Be very careful not to forget.
Cryptofibe (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 24, 2013, 07:02:58 AM
 #3

If I was to send myself payments to this address and in 5 years for example -- I would place wallet.dat back into another Bitcoin wallet, would it catch-up and find all the payments that were ever sent to that wallet?

Yes, it will catch up.

IMO,
5 years of time, the HDD or USB stick could be corrupted in hardware level. Low probability but could happen.
Preparing 2~3 USB sticks and storing identical wallet.dat file will be safer to keep it long. Also, check both USB's condition once a month, by mounting onto "linux or mac, offline computer" I wouldn't consider windows as a safe computer.

Lastly, if you encrypted wallet file, 5 years could be long enough time to forget your own password. There's no such thing as "reset password". Be very careful not to forget.

I appreciate the response. This pretty much answers my question. Yes, of course multiple immediate copies on multiple external storage. Perhaps even burning a copy of wallet.dat, a copy in .rar and .zip of the same file over multiple dvd copies would achieve the same purpose.

What about code changes or even "forking" as I have seen with some Alt-Coins. Does that not require some changes to the wallet.dat to remain valid?

Nancarrow
Hero Member
*****
Offline Offline

Activity: 492
Merit: 500


View Profile
December 24, 2013, 12:09:58 PM
 #4

You could also use deterministic wallets that generate a bunch of pseudorandom addresses from a random key. This is how electrum does it and I like their approach very much. You can just store a 12-word passphrase in your safe, or even just in your brain if you're careful (but brain+safe+completely separate USB keys somewhere is best).
Of course you have to be careful about how you're going to generate the random key for those. But I find dice work very nicely!

If I've said anything amusing and/or informative and you're feeling generous:
1GNJq39NYtf7cn2QFZZuP5vmC1mTs63rEW
n00dles0up
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
December 25, 2013, 12:09:22 AM
 #5

I would backup on multiple different mediums. CD, USB, HDD, old SD cards. As well as store them in various locations like parents house, friends house, in-laws house etc
voidmain
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile WWW
December 25, 2013, 02:37:00 AM
 #6

If I was to send myself payments to this address and in 5 years for example -- I would place wallet.dat back into another Bitcoin wallet, would it catch-up and find all the payments that were ever sent to that wallet?

Yes, it will catch up.

IMO,
5 years of time, the HDD or USB stick could be corrupted in hardware level. Low probability but could happen.
Preparing 2~3 USB sticks and storing identical wallet.dat file will be safer to keep it long. Also, check both USB's condition once a month, by mounting onto "linux or mac, offline computer" I wouldn't consider windows as a safe computer.

Lastly, if you encrypted wallet file, 5 years could be long enough time to forget your own password. There's no such thing as "reset password". Be very careful not to forget.

I appreciate the response. This pretty much answers my question. Yes, of course multiple immediate copies on multiple external storage. Perhaps even burning a copy of wallet.dat, a copy in .rar and .zip of the same file over multiple dvd copies would achieve the same purpose.

What about code changes or even "forking" as I have seen with some Alt-Coins. Does that not require some changes to the wallet.dat to remain valid?



DVD-R or CD-R would be a good idea because they are cheap and guaranteed read-only.

I strongly believe bitcoin-qt source code contributors would do their best not to compromise old version wallet...
With many years, attackers may find a security hole, then dev team may have to compromise old version wallet file format. This case will be a very big news and dev team would announce proper wallet upgrade guide... I can't imagine more details for now...

If any attacker can hack bitcoin(or blockchain) by completely dominating dev team, so quickly that lots of wallets could be already stolen, that will be the end of bitcoin. Even alt-coins will lose trust that case. That could boost physical precious metal.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1025



View Profile
December 25, 2013, 02:06:22 PM
 #7

It is hard to beat paper for this application.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
antanst
Sr. Member
****
Offline Offline

Activity: 294
Merit: 260


View Profile
December 25, 2013, 04:26:11 PM
 #8

In five years, the CD's and DVD's you burned may be corrupt. Optical discs' quality isn't what it used to be. Of course, this varies from manufacturer to manufacturer. If you want to digitally store data, the most future-proof way would probably be to use multiple good quality SD cards.

If I was to send myself payments to this address and in 5 years for example -- I would place wallet.dat back into another Bitcoin wallet, would it catch-up and find all the payments that were ever sent to that wallet?

Keeping wallet.dat for long term storage is not a good idea. Although you will be able to extract your private keys even if the wallet.dat format changes in the future, it would be better to generate your private keys using vanitygen or bitaddress.org software (offline!) and store them into paper.

light888
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
December 25, 2013, 04:48:31 PM
 #9

Or you can tatoo your private key on your private parts  Grin
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1025



View Profile
December 26, 2013, 12:46:27 AM
 #10

In five years, the CD's and DVD's you burned may be corrupt. Optical discs' quality isn't what it used to be. Of course, this varies from manufacturer to manufacturer. If you want to digitally store data, the most future-proof way would probably be to use multiple good quality SD cards.

All types of flash memory are a bad idea for long term storage.  They discharge over time.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
antanst
Sr. Member
****
Offline Offline

Activity: 294
Merit: 260


View Profile
December 26, 2013, 06:12:18 PM
 #11

In five years, the CD's and DVD's you burned may be corrupt. Optical discs' quality isn't what it used to be. Of course, this varies from manufacturer to manufacturer. If you want to digitally store data, the most future-proof way would probably be to use multiple good quality SD cards.

All types of flash memory are a bad idea for long term storage.  They discharge over time.

Indeed. But they discharge extremely slowly. I can't think of a more reliable way to digitally store data.

oscarg
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile WWW
December 27, 2013, 06:08:54 PM
Last edit: December 28, 2013, 02:23:50 AM by oscarg
 #12

Heres my take....

Use Armory, create your wallet(s) etc,
https://bitcoinarmory.com/

Then do a "paper backup" of it.
The backups are "Deterministic" meaning they only have to be backed up once and will always work.

Purchase some some piece(s)/ingots/whatever of stainless steel ....
Something about the size of a credit card would be ideal... but depends how small you can engrave the numbers..
I would recommend getting the best quality steel possible, as you want it to last and cheap steel may have impurities..

These Stainless Steel Dog Tags  $5 each - but possibly a bit small
http://www.ebay.com/itm/Mens-Stainless-Steel-Flat-Blank-Military-Dog-Tag-Pendant-Ball-Chain-Necklace-/121101538317?pt=Fashion_Jewelry&hash=item1c3236d40d

Or maybe a piece of Stainless Steel plumbing like this  $54.95 for 4 of them
http://www.ebay.com/itm/Lot-of-4-NW-KF-50-Blank-Flange-Blind-Flange-Cap-Vacuum-Fitting-Stainless-Steel/271326364659?_trksid=p2047675.m1982&_trkparms=aid%3D333005%26algo%3DRIC.FIT%26ao%3D1%26asc%3D177%26meid%3D3698187346659690298%26pid%3D100009%26prg%3D1088%26rk%3D1%26rkt%3D5%26sd%3D331092260391%26

And then buy something like a set of these (Steel Alphabetic punch set) $18
http://www.ebay.com.au/itm/like/230881776683?lpid=87
It appears the paper backups only use the 26 alphabetic characters, but I have not confirmed that...
 
And spend an hour bashing the backup numbers onto the steel plate/ingot/whatever with a hammer.

Put them in a safe, in the attic, carve a small slot in the top of a door it can slide into,
or even nail them to the underside of your house.

Why Stainless Steel, rather than Titanium/gold/copper/brass/bronze etc etc?

Stainless steel does not rust or tarnish much and has a very high melting point (1500c/2750f)
so its very likely to survive a house fire.
Also its cheap, although that is not really important..

It will outlast anything else I can think of... It will probably outlive you and your money troubles Smiley








etotheipi
Legendary
*
expert
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
December 27, 2013, 08:35:20 PM
 #13

Heres my take....

Use Armory, create your wallet(s) etc,
https://bitcoinarmory.com/

Then do a "paper backup" of it.
The backups are "Deterministic" meaning they only have to be backed up once and will always work.
...

IMPORTANT: Make sure you can remember the password, and that you KNOW you will remember it in 20 years,
if you are unsure, then carve at least a hint into the ingot as well.

Armory paper backups are explicitly unencrypted.  The vast majority of people using the paper backups is because they forgot their wallet password.  If you need physical security, use Armory's "fragmented backup" feature to create multiple pieces and store them separately. 

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
oscarg
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile WWW
December 28, 2013, 02:23:21 AM
Last edit: December 28, 2013, 02:45:56 AM by oscarg
 #14

@etotheipi
Ah right. Thanks.
Ill edit.
Love the product BTW Smiley

Was I correct that the paper backups only use the 26 character alphabet?

For me this a the perfect use for a paper backup.

P.S.
Anyone with Euler in their avatar is OK by Me Wink
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
December 28, 2013, 02:59:03 PM
 #15

I think it only backs up 100 addresses still
Unless you use armory, your backup must be refreshed. This fact is kinda hidden

oscarg
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile WWW
December 29, 2013, 05:53:08 AM
 #16

I think it only backs up 100 addresses still
Unless you use armory, your backup must be refreshed. This fact is kinda hidden
Thats interesting. Where did you see that?
That would seem to be an important point to nail down.
With the multiple change addresses etc it would seem 100 addresses could be exceeded quite quickly on a busy wallet.

Agree re Armory, there are too many variables with anything else.

bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
December 29, 2013, 05:56:31 AM
 #17

I think it only backs up 100 addresses still
Unless you use armory, your backup must be refreshed. This fact is kinda hidden
Thats interesting. Where did you see that?
That would seem to be an important point to nail down.
With the multiple change addresses etc it would seem 100 addresses could be exceeded quite quickly on a busy wallet.

Agree re Armory, there are too many variables with anything else.



Yeah it's not really a promoted fact but fatal

https://en.bitcoin.it/wiki/Securing_your_wallet#Securing_the_Bitcoin-QT_or_bitcoind_wallet

CryptKeeper
Legendary
*
Offline Offline

Activity: 2044
Merit: 1055



View Profile
December 29, 2013, 06:22:51 AM
 #18

All types of flash memory are a bad idea for long term storage.  They discharge over time.

Discharged sd cards? Never heard about it!

SD cards are the safest digital storage, much more reliable than CDs or DVDs. But better create an additional paper wallet from your private key, then you're completely covered.

Follow me on twitter! I'm a private Bitcoin and altcoin hodler. Giving away crypto for free on my Twitter feed!
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
December 29, 2013, 06:27:40 AM
 #19

All types of flash memory are a bad idea for long term storage.  They discharge over time.

Discharged sd cards? Never heard about it!

SD cards are the safest digital storage, much more reliable than CDs or DVDs. But better create an additional paper wallet from your private key, then you're completely covered.

They need power every once in a while

Get these http://www.newegg.com/Product/Product.aspx?Item=N82E16800995117

CryptKeeper
Legendary
*
Offline Offline

Activity: 2044
Merit: 1055



View Profile
December 29, 2013, 08:18:55 AM
 #20

All types of flash memory are a bad idea for long term storage.  They discharge over time.

Discharged sd cards? Never heard about it!

SD cards are the safest digital storage, much more reliable than CDs or DVDs. But better create an additional paper wallet from your private key, then you're completely covered.

They need power every once in a while

Get these http://www.newegg.com/Product/Product.aspx?Item=N82E16800995117

You're right about the sd cards, only last a few years... did'nt know that!  Shocked

M-Disks are great or you could take this: http://www.sandisk.com/products/usb/memory-vault/

Follow me on twitter! I'm a private Bitcoin and altcoin hodler. Giving away crypto for free on my Twitter feed!
Pages: [1] 2 »  All
  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!