<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.bitcoin.it/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jrwr</id>
	<title>Bitcoin Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.bitcoin.it/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jrwr"/>
	<link rel="alternate" type="text/html" href="https://en.bitcoin.it/wiki/Special:Contributions/Jrwr"/>
	<updated>2026-05-07T17:10:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=User:Jrwr&amp;diff=11559</id>
		<title>User:Jrwr</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=User:Jrwr&amp;diff=11559"/>
		<updated>2011-06-25T03:41:30Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Welcome to JRWR&#039;s Talk Page of DOOM! ==&lt;br /&gt;
&lt;br /&gt;
I&#039;m engaged in several projects related to Bitcoin and Reddit - /r/Gaming&lt;br /&gt;
&lt;br /&gt;
==== Tip Jar ====&lt;br /&gt;
[http://blockexplorer.com/q/getreceivedbyaddress/17ZCvqZH2suk4SoczhcjK7HPi9NjJqPs9R 17ZCvqZH2suk4SoczhcjK7HPi9NjJqPs9R]&lt;br /&gt;
=== Articles Created or Edited/Improved ===&lt;br /&gt;
[[WalletPaperbackup|WalletPaperBackup]]&lt;br /&gt;
&lt;br /&gt;
=== Projects Worked On ===&lt;br /&gt;
[http://jrwr.co.cc/bitcoind/ Bitcoin Block Chain mirror, Updated every 6 hours]&lt;br /&gt;
&lt;br /&gt;
[http://valvearg.com/wiki/Valve_ARG_Wiki Portal 2 ARG Wiki]&lt;br /&gt;
&lt;br /&gt;
[http://jrwr.co.cc/black-knights/ The Black Knights - AstroEmpires guild forums]&lt;br /&gt;
&lt;br /&gt;
[http://jrwr.co.cc/logicwiki/index.php?title=Main_Page LogicWiki - The LOGIC Guild Wiki]&lt;br /&gt;
&lt;br /&gt;
[http://zombie.halibah.com Survivor Zero - A Zombie RPG-FPS Made by Reddit Users] -- Current Project&lt;br /&gt;
&lt;br /&gt;
=== About Me ===&lt;br /&gt;
Forrest F.&amp;lt;br /&amp;gt;&lt;br /&gt;
21 Year old programmer, mostly in PHP. I&#039;m in the Dept of Labor Job Corps Program Training to work as a Rail Road Clerk, Stuck on a Lenovo s10e Netbook with a Atom 1.60Ghz and  a Cricket Wireless Card (Yay 7.5GB a month!)&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=User:Jrwr&amp;diff=11471</id>
		<title>User:Jrwr</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=User:Jrwr&amp;diff=11471"/>
		<updated>2011-06-24T03:50:57Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: /* Projects Worked On */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Welcome to JRWR&#039;s Talk Page of DOOM! ==&lt;br /&gt;
&lt;br /&gt;
I&#039;m engaged in several projects related to Bitcoin and Reddit - /r/Gaming&lt;br /&gt;
&lt;br /&gt;
==== Tip Jar ====&lt;br /&gt;
1BsVCbS5ikd8zLwaFSzm41PbbwzE5fDJYQ&lt;br /&gt;
&lt;br /&gt;
=== Articles Created or Edited/Improved ===&lt;br /&gt;
[[WalletPaperbackup|WalletPaperBackup]]&lt;br /&gt;
&lt;br /&gt;
=== Projects Worked On ===&lt;br /&gt;
[http://jrwr.co.cc/bitcoind/ Bitcoin Block Chain mirror, Updated every 6 hours]&lt;br /&gt;
&lt;br /&gt;
[http://valvearg.com/wiki/Valve_ARG_Wiki Portal 2 ARG Wiki]&lt;br /&gt;
&lt;br /&gt;
[http://jrwr.co.cc/black-knights/ The Black Knights - AstroEmpires guild forums]&lt;br /&gt;
&lt;br /&gt;
[http://jrwr.co.cc/logicwiki/index.php?title=Main_Page LogicWiki - The LOGIC Guild Wiki]&lt;br /&gt;
&lt;br /&gt;
[http://zombie.halibah.com Survivor Zero - A Zombie RPG-FPS Made by Reddit Users] -- Current Project&lt;br /&gt;
&lt;br /&gt;
=== About Me ===&lt;br /&gt;
Forrest F.&amp;lt;br /&amp;gt;&lt;br /&gt;
21 Year old programmer, mostly in PHP. I&#039;m in the Dept of Labor Job Corps Program Training to work as a Rail Road Clerk, Stuck on a Lenovo s10e Netbook with a Atom 1.60Ghz and  a Cricket Wireless Card (Yay 7.5GB a month!)&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=User:Jrwr&amp;diff=11470</id>
		<title>User:Jrwr</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=User:Jrwr&amp;diff=11470"/>
		<updated>2011-06-24T03:46:18Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Welcome to JRWR&#039;s Talk Page of DOOM! ==&lt;br /&gt;
&lt;br /&gt;
I&#039;m engaged in several projects related to Bitcoin and Reddit - /r/Gaming&lt;br /&gt;
&lt;br /&gt;
==== Tip Jar ====&lt;br /&gt;
1BsVCbS5ikd8zLwaFSzm41PbbwzE5fDJYQ&lt;br /&gt;
&lt;br /&gt;
=== Articles Created or Edited/Improved ===&lt;br /&gt;
[[WalletPaperbackup|WalletPaperBackup]]&lt;br /&gt;
&lt;br /&gt;
=== Projects Worked On ===&lt;br /&gt;
[http://jrwr.co.cc/bitcoind/ Bitcoin Block Chain mirror, Updated every 6 hours]&lt;br /&gt;
&lt;br /&gt;
[http://jrwr.co.cc/black-knights/ The Black Knights - AstroEmpires guild forums]&lt;br /&gt;
&lt;br /&gt;
[http://jrwr.co.cc/logicwiki/index.php?title=Main_Page LogicWiki - The LOGIC Guild Wiki]&lt;br /&gt;
&lt;br /&gt;
[http://zombie.halibah.com Survivor Zero - A Zombie RPG-FPS Made by Reddit Users] -- Current Project&lt;br /&gt;
&lt;br /&gt;
=== About Me ===&lt;br /&gt;
Forrest F.&amp;lt;br /&amp;gt;&lt;br /&gt;
21 Year old programmer, mostly in PHP. I&#039;m in the Dept of Labor Job Corps Program Training to work as a Rail Road Clerk, Stuck on a Lenovo s10e Netbook with a Atom 1.60Ghz and  a Cricket Wireless Card (Yay 7.5GB a month!)&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11468</id>
		<title>WalletPaperbackup</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11468"/>
		<updated>2011-06-24T02:15:34Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PaperBack Encrypted Paper Backup of your Wallet ==&lt;br /&gt;
&lt;br /&gt;
=== Basics ===&lt;br /&gt;
A program called [http://www.ollydbg.de/Paperbak/index.html PaperBack][http://jrwr.co.cc/bitcoin/paperback/ «2»] allows a user to encrypt and  print a paper copy of a file, to restore the file you scan or provide a image of the printed paper and it decodes the file&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;«It should be noted this guide is for Windows Only, A Linux based guide is coming soon»&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
=== How to use with your Wallet ===&lt;br /&gt;
#Download PaperBack from the location provided before&lt;br /&gt;
#Open PaperBack&lt;br /&gt;
#Open Options and select the options you wish to have (For more info, read the page provided above)&lt;br /&gt;
#Drag and drop the file (wallet.dat) into the window for printing&lt;br /&gt;
##File -&amp;gt; Save to bitmap, It will ask you what file to encode, and then where to save the bitmap&lt;br /&gt;
&lt;br /&gt;
=== Restoring your Wallet ===&lt;br /&gt;
#Scan or provide the bitmap of the backup&lt;br /&gt;
#Wait for processing&lt;br /&gt;
#Save wallet.dat&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
Here is the first Image: [http://i.imgur.com/8b7nz.png Encoded Image]&amp;lt;br /&amp;gt;&lt;br /&gt;
Its a empty wallet.dat with Encryption on (AES-256), standard options past that&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is the damaged copy, Opened in GIMP saved as a JPEG at 4% Compression, then converted back into a Bitmap: [http://i.imgur.com/XT4Uc.png Damaged Re-Encoded Image]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
ECC had to correct 56bytes of bad data.. once decoded the md5 hashes where the same!&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is a screenshot asking for the password (The password is &amp;quot;bitcoin&amp;quot;)&lt;br /&gt;
[http://i.imgur.com/OEj6G.png Screen Shot]&lt;br /&gt;
&lt;br /&gt;
[http://i.imgur.com/yxoBZ.jpg Example of printed output]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Guide By: [[User:Jrwr|Jrwr]] 01:44, 24 June 2011 (GMT)&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11467</id>
		<title>WalletPaperbackup</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11467"/>
		<updated>2011-06-24T02:12:16Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PaperBack Encrypted Paper Backup of your Wallet ==&lt;br /&gt;
&lt;br /&gt;
=== Basics ===&lt;br /&gt;
A program called [http://www.ollydbg.de/Paperbak/index.html PaperBack][http://jrwr.co.cc/bitcoin/paperback/ «2»] allows a user to encrypt and  print a paper copy of a file, to restore the file you scan or provide a image of the printed paper and it decodes the file&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;«It should be noted this guide is for Windows Only, A Linux based guide is coming soon»&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
=== How to use with your Wallet ===&lt;br /&gt;
#Download PaperBack from the location provided before&lt;br /&gt;
#Open PaperBack&lt;br /&gt;
#Open Options and select the options you wish to have (For more info, read the page provided above)&lt;br /&gt;
#Drag and drop the file (wallet.dat) into the window for printing&lt;br /&gt;
##File -&amp;gt; Save to bitmap, It will ask you what file to encode, and then where to save the bitmap&lt;br /&gt;
&lt;br /&gt;
=== Restoring your Wallet ===&lt;br /&gt;
#Scan or provide the bitmap of the backup&lt;br /&gt;
#Wait for processing&lt;br /&gt;
#Save wallet.dat&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
Here is the first Image: [http://imgur.com/8b7nz Encoded Image]&amp;lt;br /&amp;gt;&lt;br /&gt;
Its a empty wallet.dat with Encryption on (AES-256), standard options past that&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is the damaged copy, Opened in GIMP saved as a JPEG at 4% Compression, then converted back into a Bitmap: [http://imgur.com/8b7nz Damaged Re-Encoded Image]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
ECC had to correct 56bytes of bad data.. once decoded the md5 hashes where the same!&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is a screenshot asking for the password (The password is &amp;quot;bitcoin&amp;quot;)&lt;br /&gt;
[http://imgur.com/OEj6G Screen Shot]&lt;br /&gt;
&lt;br /&gt;
[http://i.imgur.com/yxoBZ.jpg Example of printed output]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Guide By: [[User:Jrwr|Jrwr]] 01:44, 24 June 2011 (GMT)&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Talk:Securing_your_wallet&amp;diff=11466</id>
		<title>Talk:Securing your wallet</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Talk:Securing_your_wallet&amp;diff=11466"/>
		<updated>2011-06-24T02:02:31Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The five paragraphs in Technical Background all say the same thing. --[[User:Mcandre|Mcandre]]&lt;br /&gt;
&lt;br /&gt;
Note: the backupwallet.sh script in the linux section doesn&#039;t actually work.&lt;br /&gt;
I suspect it is caused by the wiki changing the formatting.&lt;br /&gt;
I wrote my own version that uses much more standard shell syntax.&lt;br /&gt;
&lt;br /&gt;
[[User:Wscott|Wscott]] 11:28, 11 February 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
I fixed the backupwallet.sh script. It just needed a nowiki tag around a conditional statement. -- [[User:Mweather|Mweather]] 23:48, 20 May 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
The approach for &amp;quot;Making a secure workspace&amp;quot; seems to differ greatly for linux and mac. Why? It seems like if you are going to make firefox secure, which is basically all the linux section recommends, you would want to do that on a mac too. And the recommendation in the mac section to keep the wallet in an encrypted volume with a symlink in the expected system location should be done on a linux box too, shouldn&#039;t it, like using truecrypt or something... Am I wrong??? Can someone with advanced knowledge please advise...? Also, if you want bitcoin to run all the time in the background on linux, but you have it set up in a separate user from your main user account, well, you are out of luck? Can justifications and explanations be added to the recommendations, and also I guess some alternatives with pros and cons be offered, for people with different needs and computing situations. Thanks! --[[User:GusGustavo|GusGustavo]] 13:33, 26 May 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
== Time Sensitivity ==&lt;br /&gt;
&lt;br /&gt;
Is it possible to still send money to my wallet, even if it&#039;s backed up and offline?  Do bitcoins ever expire if they&#039;re not spent, or is there anything bad that can happen by not using my bitcoin client in a long time? [[User:Daniel.benoy|Daniel.benoy]] 23:18, 8 June 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
== Creating a New Wallet ==&lt;br /&gt;
&lt;br /&gt;
This section isn&#039;t helpful; it tells you when to create a new wallet, but not how.  I&#039;m a new user, and the wallet was created when I installed the BitCoin program.  I will find out how to create a new wallet, and then edit this section so that it actually explains the task that it sets out to explain. :-) [[User:ErgoOne|ErgoOne]] 15:19, 9 June 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
== Making a secure workspace ==&lt;br /&gt;
&lt;br /&gt;
For me space needed in ~/Library/Application Support/Bitcoin (Mac) is more than 400MB (!) after having loaded all blocks from bitcoin app. So 100MB is much too small (may be sufficient for just wallet.dat, but then the steps to do had to be changed). [[User:Hartrock|Hartrock]] 18:48, 12 June 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
I updated the wiki steps to just backup wallet.dat --[[User:ChocoboLee|ChocoboLee]] 19:18, 15 June 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
== Flaws with argument regarding encryption ==&lt;br /&gt;
&lt;br /&gt;
Can someone please explain to me how encrypting your wallet will actually protect against a trojan stealing it.  Because once you mount the encrypted file, and decrypt it not only can bitcoin see it but the trojan can as well.  This strategy seems to work only in the following circumstances:&lt;br /&gt;
1. The wallet that has the majority of your cash you never decrypt when you have an open internet connection.&lt;br /&gt;
2. Assumes that a trojan only operates when an internet connection is present and it can transmit the wallet data file.&lt;br /&gt;
&lt;br /&gt;
Even if you were paranoid and never were connected to the internet when the wallet file with the bulk of your funds was decrypted this still would not solve the problem.  In the event that a trojan seeks to copy your wallet file to another location on your computer it could wait for an open internet connection to transmit this data.  So even if you reencrypt the wallet file before connecting to the internet this type of trojan has already made a copy of the decrypted file and can transmit it as soon as an internet connection becomes available.&lt;br /&gt;
&lt;br /&gt;
Also how in the world could you ever use this wallet to transfer cash to another user if you are offline?  Maybe I don&#039;t understand how bitcoin works but don&#039;t you need to be online in order to transfer bitcoins?  Basically the bottom line is that bitcoin cannot read an encrypted wallet file which means that in order to use the wallet you need to decrypt it which means its vulnerable to trojans who can steal it the moment you want to use it.&lt;br /&gt;
&lt;br /&gt;
This seems to be a fundamental flaw in this discussion &amp;quot;securing your wallet&amp;quot;  Why doesn&#039;t bitcoin just address this in the software allowing for the wallet to always be encrypted and require a password upon startup.  If you want bitcoin to go mainstream I don&#039;t understand why you can&#039;t address this fundamental flaw that would be solved by an always encrypted wallet file that the software can read and write to.&lt;br /&gt;
&lt;br /&gt;
====Added a new entry to backup methods====&lt;br /&gt;
[[WalletPaperbackup]] Is a great way to get your wallet out of the digital world and onto paper&lt;br /&gt;
--[[User:Jrwr|Jrwr]] 02:02, 24 June 2011 (GMT)&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Talk:WalletPaperbackup&amp;diff=11463</id>
		<title>Talk:WalletPaperbackup</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Talk:WalletPaperbackup&amp;diff=11463"/>
		<updated>2011-06-24T01:52:28Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You can find the Post that started it all [http://forum.bitcoin.org/index.php?topic=21043.0 Here] --[[User:Jrwr|Jrwr]] 01:52, 24 June 2011 (GMT)&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Talk:WalletPaperbackup&amp;diff=11462</id>
		<title>Talk:WalletPaperbackup</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Talk:WalletPaperbackup&amp;diff=11462"/>
		<updated>2011-06-24T01:52:05Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: Created page with &amp;quot;You can find the Post that started it all [http://forum.bitcoin.org/index.php?topic=21043.0 Here] ~~~~&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You can find the Post that started it all [http://forum.bitcoin.org/index.php?topic=21043.0 Here] [[User:Jrwr|Jrwr]] 01:52, 24 June 2011 (GMT)&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Securing_your_wallet&amp;diff=11461</id>
		<title>Securing your wallet</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Securing_your_wallet&amp;diff=11461"/>
		<updated>2011-06-24T01:50:47Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: /* General Solutions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Wallet security can be broken down into two independent goals:&lt;br /&gt;
# Protecting your wallet against loss.&lt;br /&gt;
# Protecting your wallet against theft.&lt;br /&gt;
&lt;br /&gt;
In the case that your current wallet hasn&#039;t been protected adequately (e.g. put online with a weaker password):&lt;br /&gt;
# Making a new secure wallet, using appropriate long-term protection.&lt;br /&gt;
&lt;br /&gt;
==Technical Background==&lt;br /&gt;
&lt;br /&gt;
Bitcoin transactions send Bitcoins to a specific public key. A Bitcoin address is an encoded hash of a public key. In order to use received Bitcoins, you need to have the private key matching the public key you received with. This is sort of like a super long password associated with an account (public key). Your Bitcoin wallet contains all of the private keys necessary for spending your received transactions. If you delete your wallet without a backup, then you no longer have the authorization information necessary to claim your coins, and the coins associated with those keys are lost forever.&lt;br /&gt;
&lt;br /&gt;
The wallet contains a pool of queued keys. By default there are 100 keys in the [[key pool]].  The size of the pool is configurable using the &amp;quot;-keypool&amp;quot; command line argument.  When you need an address for whatever reason (send, “new address”, generation, etc.), the key is not actually generated freshly, but taken from this pool. A brand new address is generated to fill the pool back to 100. So when a backup is first created, it has all of your old keys plus 100 unused keys. After sending a transaction, it has 99 unused keys. After a total of 100 new-key actions, you will start using keys that are not in your backup. Since the backup does not have the private keys necessary for authorizing spends of these coins, restoring from the old backup will cause you to lose Bitcoins.&lt;br /&gt;
&lt;br /&gt;
Creating a new address generates a new pair of public and private keys, which are added to your wallet. Each keypair is mostly random numbers, so they cannot be known prior to generation. If you backup your wallet and then create more than 100 new addresses, the keypair associated with the newest addresses will not be in the old wallet because the new keypairs are only known after creating them. Any coins received at these addresses will be lost if you restore from the backup.&lt;br /&gt;
&lt;br /&gt;
The situation is made somewhat more confusing because the receiving addresses shown in the UI are not the only keys in your wallet. Each Bitcoin generation is given a new public key, and, more importantly, each sent transaction also sends some number of Bitcoins back to yourself at a new key. When sending Bitcoins to anyone, you generate a new keypair for yourself and simultaneously send Bitcoins to your new public key and the actual recipient&#039;s public key. This is an anonymity feature – it makes tracking Bitcoin transactions much more difficult.&lt;br /&gt;
&lt;br /&gt;
So if you create a backup, do more than 100 things that cause a new key to be used, and then restore from the backup, some Bitcoins will be lost. Bitcoin has not deleted any keys (keys are never deleted) – it has created a new key that is not in your old backup and then sent Bitcoins to it.&lt;br /&gt;
&lt;br /&gt;
== Making a new wallet ==&lt;br /&gt;
&lt;br /&gt;
In the case that a wallet has been distributed, or stored, in a (real or potential) compromised state, it is wise to create a new wallet and transfer the full balance of Bitcoins to an address contained only in the newly created wallet.&lt;br /&gt;
&lt;br /&gt;
For example, this will be necessary if one created a wallet with a password of 12 characters, as suggested. However a few years have passed and the wallet is now more easily compromised.  Just re-encrypting isn&#039;t secure.  One needs to make a new wallet and make the old wallet worthless (spending the funds to the new wallet).&lt;br /&gt;
&lt;br /&gt;
==Making a secure workspace==&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
&lt;br /&gt;
The first step is to make a [http://www.howtogeek.com/howto/ubuntu/add-a-user-on-ubuntu-server/ new user,] so run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;adduser new_user_name&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
as root. When you get to the prompt &#039;Enter the new value, or press ENTER for the default&#039;, just keep hitting ENTER.&lt;br /&gt;
&lt;br /&gt;
Then switch user to the new user.  To get to the new user you can use the switch user icon for your system, which on Ubuntu is in the &#039;System/Quit&#039; screen, or if there is no switch icon on your system you can log out and log back in as the new user.  Then click on a folder in the new user to display the file browser, then keep going up folders until you see the new user home directory, then right click to bring up the Properties dialog, then click on the Permissions tab, then in the Others section, set the folder access to None.&lt;br /&gt;
&lt;br /&gt;
For secure browsing, open Firefox, and then go into the Edit menu and click Preferences.  Starting from the left, click on the General tab, and in the &#039;Startup/When Firefox starts&#039; pop up menu, choose &#039;Show a Blank Page&#039;.  Then click on the Content tab, and deselect &#039;Load images automatically&#039; and deselect &#039;Enable Javascript&#039;.  Then click on the Privacy tab, and in the &#039;History/Firefox will&#039; pop up menu, choose &#039;Never remember history&#039;.  Then click on the Security tab, and in the Passwords section, deselect &#039;Remember passwords for sites&#039; and deselect &#039;Use a master password&#039;.  Then click on the Advanced tab, then click on the Update tab, and then in the &#039;Automatically check for updates to&#039; section, deselect &#039;Add-ons&#039; and &#039;Search Engines&#039;.&lt;br /&gt;
&lt;br /&gt;
When javascript is disabled, the [http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.23/bitcoin-0.3.23-linux.tar.gz/download linux download page] will not download automatically, so you&#039;ll have to click on the &#039;direct link&#039; part of the &amp;quot;Problems with the download? Please use this &#039;direct link&#039; or try another mirror.&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
After you&#039;ve made your secure new user, to maintain security you should use it only for bitcoin.&lt;br /&gt;
&lt;br /&gt;
It&#039;s also a good idea to encrypt the Home directory of whatever user you run Bitcoin under using ecryptfs-utils. To do this:&lt;br /&gt;
# If the Home directory is not empty you should back it up first, by just copying the data to an external drive or something.&lt;br /&gt;
# install ecryptfs-utils (on Ubuntu: sudo apt-get install ecryptfs-utils)&lt;br /&gt;
# log out of X (graphical system) and press Ctrl+Alt+F1 to login to the command shell (you must be logged out or some files will be open and the tool won&#039;t be able to encrypt your data)&lt;br /&gt;
# change directory to something that&#039;s not in your home folder (ex: cd / )&lt;br /&gt;
# run the migration tool (on Ubuntu: sudo ecryptfs-migrate-home -u username)&lt;br /&gt;
# if it&#039;s successful, you can now press ALT+F8 to go back to the GUI and login&lt;br /&gt;
# run &#039;ecryptfs-unwrap-passphrase&#039; and &#039;&#039;&#039;WRITE DOWN OR SAVE THE CODE IT RETURNS&#039;&#039;&#039; because you will need it if you ever have to pull your data off while the OS is not working. (You can run it again later if you need to, but run it now so that you can get your data if your Linux install gets botched.)&lt;br /&gt;
# run &#039;ecryptfs-setup-swap&#039; to encrypt your swap partition (the encrypted folder data is not encrypted while it&#039;s in memory, and so if it&#039;s ever sent to the swap partition it can be stolen from there unless that too is encrypted - be aware that this will mean you cannot use Hibernate anymore, as the bootloader won&#039;t be able to restore the hibernation data)&lt;br /&gt;
(instructions from [http://bodhizazen.net/Tutorials/Ecryptfs/#Migrate])&lt;br /&gt;
&lt;br /&gt;
===Mac===&lt;br /&gt;
&lt;br /&gt;
=====Backup all data (500MB)=====&lt;br /&gt;
Follow these instructions to backup all the bitcoin data (wallet and block chains) to an encrypted disk image.&lt;br /&gt;
# Open Disk Utility&lt;br /&gt;
# Click New Image and choose 500MB, 128-bit or 256-bit (faster or more secure) encryption and single partition.&lt;br /&gt;
# Save it somewhere you won&#039;t lose it (like your Wuala, Dropbox, Strongspace or whatever)&lt;br /&gt;
# Choose a safe and strong password&lt;br /&gt;
# Move everything from ~/Library/Application Support/Bitcoin/ to the image&lt;br /&gt;
# Symlink it back so the app would be able to use it&lt;br /&gt;
:::ln -s /Volumes/Bitcoin ~/Library/Application Support/Bitcoin&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to mount your image before using Bitcoin and unmount after quitting it.&lt;br /&gt;
&lt;br /&gt;
=====Backup just wallet.dat (40MB)=====&lt;br /&gt;
Follow these instructions to backup just the wallet.dat file. This results in a smaller disk image, but it&#039;s more complicated to do.&lt;br /&gt;
# Open Disk Utility&lt;br /&gt;
# Click New Image and choose 40MB, 128-bit or 256-bit (faster or more secure) encryption and single partition.&lt;br /&gt;
# Save it somewhere you won&#039;t lose it (like your Wuala, Dropbox, Strongspace or whatever)&lt;br /&gt;
# Choose a safe and strong password&lt;br /&gt;
# Move your wallet.dat file to the image&lt;br /&gt;
# Symlink it back so the app would be able to use it&lt;br /&gt;
:::ln -s /Volumes/Bitcoin/wallet.dat ~/Library/Application Support/Bitcoin/wallet.dat&lt;br /&gt;
&lt;br /&gt;
[[File:MountWalletAndLauchnBitcoin_OSX_Automator.png|thumbnail|150px|Mount Wallet and launch Bitcoin]]&lt;br /&gt;
Don&#039;t forget to mount your image before using Bitcoin and unmount after quitting it.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: If you start the Bitcoin application without having the image mounted, the application will overwrite your symlink with a new wallet. If that happens, don&#039;t panic. Just delete the new wallet.dat, mount the image, and recreate the symlink like above.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Automation&#039;&#039;&#039;: You can create a small application using [http://en.wikipedia.org/wiki/Automator_%28software%29 Automator] (included in OS X) to automatically mount the wallet and then launch Bitcoin App. See the Screenshot on how to do this.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
&lt;br /&gt;
If you are using Windows XP or Windows 7, you can keep your wallet on an encrypted disk image created by third-party software, such as [http://www.truecrypt.org/ TrueCrypt] (open source) or [http://www.jetico.com/encryption-bestcrypt/ Jetico BestCrypt] (commercial).  You can probably do the same with Windows Vista (but why would you use that?) or Windows 2000.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; You should configure BitCoin in this manner only on computers where you use BitCoin, but do not use that computer to mine.  For example, this is a good configuration for a notebook or tablet computer.&lt;br /&gt;
&lt;br /&gt;
Assuming that you have installed the Windows BitCoin client and run it at least once, the process is described below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;To mount the BitCoin data directory on an encrypted drive&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol start=1 type=1&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Use the third-party disk image encryption program of your choice to create and mount an encrypted disk image of at least 100 MB in size.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Locate the BitCoin data directory, and copy the directory with all contents to the encrypted drive.&lt;br /&gt;
&amp;lt;p&amp;gt;For help finding this directory, see &amp;lt;b&amp;gt;[[Securing_your_wallet#Locating_BitCoin_s_data_directory|Locating BitCoin&#039;s Data Directory]]&amp;lt;/b&amp;gt;.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a Windows shortcut that starts BitCoin with the &amp;lt;code&amp;gt;-datadir&amp;lt;/code&amp;gt; parameter and specifies the encrypted drive and directory.&lt;br /&gt;
&amp;lt;p&amp;gt;For example, if you installed Bitcoin in the default directory, mounted your BitCoin encrypted drive as &amp;lt;code&amp;gt;E:\&amp;lt;/code&amp;gt;, and stored your BitCoin data directory on it as &amp;lt;code&amp;gt;Bitcoin&amp;lt;/code&amp;gt;, you would type the following command as the shortcut Target:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;code&amp;gt;C:\Program Files\Bitcoin\bitcoin.exe -datadir=E:\Bitcoin&amp;lt;/code&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open BitCoin&#039;s settings and configure it &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; to start automatically when you start Windows.&lt;br /&gt;
&amp;lt;p&amp;gt;This is to allow you to mount the BitCoin encrypted disk image before starting BitCoin.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Shut down BitCoin, and then restart it from the new shortcut.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After doing this, any time you want to use BitCoin, you must first mount the BitCoin encrypted disk image using the same drive designation, and then run BitCoin from the shortcut that you created, so that it can find its data and your wallet. :-)&lt;br /&gt;
&lt;br /&gt;
== Locating BitCoin&#039;s data directory ==&lt;br /&gt;
&lt;br /&gt;
The [[data directory]] is the location where Bitcoin&#039;s data files are stored, including the wallet data file.&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
&lt;br /&gt;
Go to Start -&amp;gt; Run (or press WinKey+R) and run this:&lt;br /&gt;
&lt;br /&gt;
 explorer %APPDATA%\BitCoin&lt;br /&gt;
&lt;br /&gt;
BitCoin&#039;s data folder will open. For most users, this is the following locations:&lt;br /&gt;
&lt;br /&gt;
 C:\Documents and Settings\YourUserName\Application data\BitCoin (XP)&lt;br /&gt;
 &lt;br /&gt;
 C:\Users\YourUserName\Appdata\Roaming\BitCoin (Vista and 7)&lt;br /&gt;
&lt;br /&gt;
&amp;quot;AppData&amp;quot; and &amp;quot;Application data&amp;quot; are hidden by default.&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
&lt;br /&gt;
By default BitCoin will put its data here:&lt;br /&gt;
&lt;br /&gt;
 ~/.bitcoin/&lt;br /&gt;
&lt;br /&gt;
You need to do a &amp;quot;ls -a&amp;quot; to see directories that start with a dot.&lt;br /&gt;
&lt;br /&gt;
If that&#039;s not it, you can do a search like this:&lt;br /&gt;
&lt;br /&gt;
 find / -name wallet.dat -print 2&amp;gt;/dev/null&lt;br /&gt;
&lt;br /&gt;
=== Mac ===&lt;br /&gt;
&lt;br /&gt;
By default BitCoin will put its data here:&lt;br /&gt;
&lt;br /&gt;
 ~/Library/Application Support/Bitcoin/&lt;br /&gt;
&lt;br /&gt;
==Backup==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: I would strongly recommend against using Dropbox to back up your Bitcoin data due to [http://en.wikipedia.org/wiki/Dropbox_(service)#Criticism security concerns] such as:&lt;br /&gt;
# the fact that they store your encryption key (meaning that a disgruntled Dropbox employee or an attacker who gained access to the system could decrypt your Dropbox data and steal your Bitcoins)&lt;br /&gt;
# the fact that the Dropbox client only needs a password for the first login. After it authenticates once, the server assigns it a token which it uses to show that, at one time, its user knew the password rather than sending the actual password (meaning that if you ever use the Dropbox client on another PC, that PC&#039;s users can access your Dropbox - even if you change your password - and can steal your Bitcoins or get a virus that will steal your Bitcoins).&lt;br /&gt;
&lt;br /&gt;
For these reasons, I personally prefer to use Wuala, which does not store your encryption key and requires a password each time (the client can be set to remember your password, but the server will check each time to make sure that the client is sending the correct password). Like Dropbox, the basic, lowest-storage-space account with Wuala is free of charge, and coincidentally, Wuala [http://www.wuala.com/en/bitcoin is experimenting with allowing users to pay for &amp;quot;upgraded&amp;quot; plans using Bitcoin.]&lt;br /&gt;
&lt;br /&gt;
In fact, whether you use Dropbox as your backup or not, use what Steve Gibson calls &amp;quot;pre-Internet encryption&amp;quot; (which he actually [http://itknowledgeexchange.techtarget.com/security-corner/cloud-security-and-privacy-do-they-exist/ discussed in the context of Dropbox&#039;s security concerns]) and use some form of encryption on the files before you back them up, just in case someone other than yourself ever gains access to that backup. Make sure to pick a password that&#039;s memorable but secure.&lt;br /&gt;
&lt;br /&gt;
The only file you need to back up is &amp;quot;wallet.dat&amp;quot;. Ensure that BitCoin is closed, copy this file somewhere else, encrypt it, and put it somewhere safe. Ideally, you would put this file in two places: one nearby, and one 100+ miles away.&lt;br /&gt;
&lt;br /&gt;
You can use the [[api|backupwallet]] JSON-RPC command to back up without shutting down Bitcoin.&lt;br /&gt;
&lt;br /&gt;
=== General Solutions ===&lt;br /&gt;
&lt;br /&gt;
Your wallet.dat file is not encrypted by BitCoin. Anyone who can access it can easily steal all of your coins. Use one of these encryption programs if there is any chance someone might stumble upon your wallet.&lt;br /&gt;
* [http://www.7-zip.org/ 7-zip] - Supports strongly-encrypted archives.&lt;br /&gt;
* [http://www.axantum.com/axcrypt/ AxCrypt]&lt;br /&gt;
* [http://lrzip.kolivas.org lrzip] - Compression software for Linux and OSX that supports very high grade password protected encryption&lt;br /&gt;
* [http://www.truecrypt.org/ TrueCrypt] - Volume-based on-the-fly encryption (for advanced users)&lt;br /&gt;
* [http://www.rarlab.com/ WinRar] - Commonly used archive software that supports verification records and encryption.&lt;br /&gt;
&lt;br /&gt;
There is also a list of [[OpenSourceEncryptionSoftware|open source encryption software.]]&lt;br /&gt;
&lt;br /&gt;
There is also a method to Print out and encrypt your Wallet.dat as a special barcode. See details here: [[WalletPaperbackup]]&lt;br /&gt;
&lt;br /&gt;
==== Password Strength ====&lt;br /&gt;
Brute-force password cracking has come a long distance, a previously thought secure password of random [a-Z] [0-9] [!-~] of 8 characters long can be trivially solved now (using appropriate hardware)... The recommended length is &#039;&#039;&#039;at least&#039;&#039;&#039; 12 characters long.  You can also use a multi-word password. [http://www.baekdal.com/tips/password-security-usability The Usability of Passwords] &lt;br /&gt;
&lt;br /&gt;
However, simply using dictionary words is also insecure as it opens you up to a dictionary attack. If you use dictionary words, be sure to throw random symbols and numbers in the mix as well.&lt;br /&gt;
&lt;br /&gt;
A good way to create secure but easy-to-remember passwords is to pick a password (ex: d0g) and pad it with a good number of repeated characters afterward (such as 10 $ signs - so d0g becomes d0g$$$$$$$$$$) - this is just as cryptographically secure as a random password of equal length so long as the attacker does not know which symbol you are following your &amp;quot;word&amp;quot; with and how many times it is repeated. ([https://www.grc.com/haystack.htm source])&lt;br /&gt;
&lt;br /&gt;
If you use keyfiles in addition to a password, it is unlikely that your encrypted file can ever be cracked using brute force methods, even 10 years from now when even a 12 character password might be too short.&lt;br /&gt;
&lt;br /&gt;
Assume that any encrypted files you store online (eg. gmail, Dropbox) will be stored somewhere forever and can never be erased.&lt;br /&gt;
&lt;br /&gt;
==== Storage of Archive ====&lt;br /&gt;
One of the most simple methods for storing a appropriately &#039;&#039;&#039;encrypted&#039;&#039;&#039; archive of your wallet.dat file is to send the archive as an email attachment to your own e-mail address.  Services like gmail.com use very comprehensive distributed networks that make the loss of data very unlikely.  One can even obfuscate the name of the files within the archive, and name the archive something less inviting, such as: &#039;personal notes&#039; or &#039;car insurance&#039;.&lt;br /&gt;
&lt;br /&gt;
Another solution is to use a file storage service like [http://www.wuala.com/bitcoin Wuala] ( encrypted, [http://www.bitcoin.org/smf/index.php?topic=5817.0 instructions]), [http://www.dropbox.com Dropbox] and [http://en.wikipedia.org/wiki/Comparison_of_online_backup_services others], including the more secure [http://www.spideroak.com SpiderOak].&lt;br /&gt;
&lt;br /&gt;
=== Linux solution ===&lt;br /&gt;
&lt;br /&gt;
Linux users can setup cron by running &#039;crontab -e&#039; and adding this line:&lt;br /&gt;
&lt;br /&gt;
  01 */1 * * * /usr/local/bin/backupwallet.sh&lt;br /&gt;
&lt;br /&gt;
This cron line runs backupwallet.sh at the 01 minute of every hour. Remember to add a newline after the last line of the crontab file, or else the last line won&#039;t run.&lt;br /&gt;
&lt;br /&gt;
backupwallet.sh:&lt;br /&gt;
&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  &lt;br /&gt;
  TS=$(date &amp;quot;+%Y%m%d-%H-%M&amp;quot;)&lt;br /&gt;
  WALLET=/tmp/wallet${TS}&lt;br /&gt;
  WALLET_E=/tmp/wallet${TS}.crypt&lt;br /&gt;
  &lt;br /&gt;
  if&lt;br /&gt;
    echo -n making backup...&lt;br /&gt;
    bitcoind backupwallet $WALLET &lt;br /&gt;
    &amp;lt;nowiki&amp;gt;[[ ! -s &amp;quot;$WALLET&amp;quot; ]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  then echo failed&lt;br /&gt;
  elif&lt;br /&gt;
    echo done&lt;br /&gt;
    echo -n encrypting....&lt;br /&gt;
    ! gpg -r myusername --output $WALLET_E --encrypt $WALLET&lt;br /&gt;
  then echo failed&lt;br /&gt;
  elif&lt;br /&gt;
    echo done&lt;br /&gt;
    echo -n copying to distant server...&lt;br /&gt;
    ! scp $WALLET_E user@myserver.org:~/wallets/&lt;br /&gt;
  then echo failed&lt;br /&gt;
  else echo done&lt;br /&gt;
  fi&lt;br /&gt;
  &lt;br /&gt;
  rm -f $WALLET $WALLET_E&lt;br /&gt;
&lt;br /&gt;
The shell script:&lt;br /&gt;
&lt;br /&gt;
* Calls bitcoind backupwallet to create a time/date-stamped wallet.&lt;br /&gt;
* GPG encrypts the wallet with your public key.&lt;br /&gt;
* Copies the result to a backup location.&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
==Restore==&lt;br /&gt;
&lt;br /&gt;
Assuming your backup is recent enough that you haven&#039;t used up all of your key pool... restoring a wallet to a new (or old) location and rescanning the block chain should leave you with all your coins. Just follow these steps:&lt;br /&gt;
* Quit bitcoin(d).&lt;br /&gt;
* Copy your backed up wallet.dat into your bitcoin profile directory.&lt;br /&gt;
* If copying into existing profile, delete file &#039;&#039;blkindex.dat&#039;&#039; and &#039;&#039;blk0001.dat&#039;&#039; to make the client re-scan the block chain.&lt;br /&gt;
And you&#039;ll be good as new.&lt;br /&gt;
&lt;br /&gt;
==Erasing Plain Text Wallets==&lt;br /&gt;
&lt;br /&gt;
A good practice is to keep at least two wallets, one as a &amp;quot;current account&amp;quot; for everyday transactions and one as a &amp;quot;savings account&amp;quot; where you store the majority of your Bitcoins.  &lt;br /&gt;
&lt;br /&gt;
The &amp;quot;savings account&amp;quot; wallet should be backed up in encrypted form only and all plaintext copies of this wallet should be erased. In case someone gains unauthorised access to your computer (either by physically stealing it or by exploiting a system vulnerability via the internet), they will only be able to spend the coins in your &amp;quot;current account&amp;quot; wallet.&lt;br /&gt;
&lt;br /&gt;
In most operating systems, including Windows, Linux, and Mac OS X, simply deleting a wallet.dat file will &#039;&#039;not&#039;&#039; generally destroy it. It is likely that advanced tools can still be used to recover the wallet.dat file, even after it has been deleted.&lt;br /&gt;
&lt;br /&gt;
The Linux &#039;&#039;&#039;shred&#039;&#039;&#039; command can be used to overwrite the wallet file with random data prior to deleting; this particular copy of the file will then be practically impossible to recover.  Using shred (and similar tools on Windows) however does not guarantee that still other copies don&#039;t exist somewhere hidden on your HD. That will depend on your system configuration and what packages you have installed. Some system restore and backup tools, for instance, create periodic snapshots of your  filesystem, duplicating your wallet.dat.&lt;br /&gt;
&lt;br /&gt;
In Mac OS, clicking &amp;quot;Secure Empty Trash&amp;quot; in the Finder menu will shred the contents of the trash can. As with any OS this doesn&#039;t guarantee that there are not other copies elsewhere on your system.&lt;br /&gt;
&lt;br /&gt;
For Windows, the built-in command &#039;&#039;cipher /W&#039;&#039; will shred all previously-deleted files. [http://www.cylog.org/utilities/cybershredder.jsp CyberShredder] can securely deleted individual files.&lt;br /&gt;
&lt;br /&gt;
==eWallet==&lt;br /&gt;
&lt;br /&gt;
Storing bitcoins with an [[eWallet]] provider incurs risks as well. Basically you grant the third party, in this case eWallet, full access to your wallet.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[Data directory]]&lt;br /&gt;
&lt;br /&gt;
[[de:Sichere deine Geldbörse]]&lt;br /&gt;
[[zh-cn:保护你的钱包]]&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Securing_your_wallet&amp;diff=11460</id>
		<title>Securing your wallet</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Securing_your_wallet&amp;diff=11460"/>
		<updated>2011-06-24T01:49:57Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: /* General Solutions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Wallet security can be broken down into two independent goals:&lt;br /&gt;
# Protecting your wallet against loss.&lt;br /&gt;
# Protecting your wallet against theft.&lt;br /&gt;
&lt;br /&gt;
In the case that your current wallet hasn&#039;t been protected adequately (e.g. put online with a weaker password):&lt;br /&gt;
# Making a new secure wallet, using appropriate long-term protection.&lt;br /&gt;
&lt;br /&gt;
==Technical Background==&lt;br /&gt;
&lt;br /&gt;
Bitcoin transactions send Bitcoins to a specific public key. A Bitcoin address is an encoded hash of a public key. In order to use received Bitcoins, you need to have the private key matching the public key you received with. This is sort of like a super long password associated with an account (public key). Your Bitcoin wallet contains all of the private keys necessary for spending your received transactions. If you delete your wallet without a backup, then you no longer have the authorization information necessary to claim your coins, and the coins associated with those keys are lost forever.&lt;br /&gt;
&lt;br /&gt;
The wallet contains a pool of queued keys. By default there are 100 keys in the [[key pool]].  The size of the pool is configurable using the &amp;quot;-keypool&amp;quot; command line argument.  When you need an address for whatever reason (send, “new address”, generation, etc.), the key is not actually generated freshly, but taken from this pool. A brand new address is generated to fill the pool back to 100. So when a backup is first created, it has all of your old keys plus 100 unused keys. After sending a transaction, it has 99 unused keys. After a total of 100 new-key actions, you will start using keys that are not in your backup. Since the backup does not have the private keys necessary for authorizing spends of these coins, restoring from the old backup will cause you to lose Bitcoins.&lt;br /&gt;
&lt;br /&gt;
Creating a new address generates a new pair of public and private keys, which are added to your wallet. Each keypair is mostly random numbers, so they cannot be known prior to generation. If you backup your wallet and then create more than 100 new addresses, the keypair associated with the newest addresses will not be in the old wallet because the new keypairs are only known after creating them. Any coins received at these addresses will be lost if you restore from the backup.&lt;br /&gt;
&lt;br /&gt;
The situation is made somewhat more confusing because the receiving addresses shown in the UI are not the only keys in your wallet. Each Bitcoin generation is given a new public key, and, more importantly, each sent transaction also sends some number of Bitcoins back to yourself at a new key. When sending Bitcoins to anyone, you generate a new keypair for yourself and simultaneously send Bitcoins to your new public key and the actual recipient&#039;s public key. This is an anonymity feature – it makes tracking Bitcoin transactions much more difficult.&lt;br /&gt;
&lt;br /&gt;
So if you create a backup, do more than 100 things that cause a new key to be used, and then restore from the backup, some Bitcoins will be lost. Bitcoin has not deleted any keys (keys are never deleted) – it has created a new key that is not in your old backup and then sent Bitcoins to it.&lt;br /&gt;
&lt;br /&gt;
== Making a new wallet ==&lt;br /&gt;
&lt;br /&gt;
In the case that a wallet has been distributed, or stored, in a (real or potential) compromised state, it is wise to create a new wallet and transfer the full balance of Bitcoins to an address contained only in the newly created wallet.&lt;br /&gt;
&lt;br /&gt;
For example, this will be necessary if one created a wallet with a password of 12 characters, as suggested. However a few years have passed and the wallet is now more easily compromised.  Just re-encrypting isn&#039;t secure.  One needs to make a new wallet and make the old wallet worthless (spending the funds to the new wallet).&lt;br /&gt;
&lt;br /&gt;
==Making a secure workspace==&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
&lt;br /&gt;
The first step is to make a [http://www.howtogeek.com/howto/ubuntu/add-a-user-on-ubuntu-server/ new user,] so run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;adduser new_user_name&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
as root. When you get to the prompt &#039;Enter the new value, or press ENTER for the default&#039;, just keep hitting ENTER.&lt;br /&gt;
&lt;br /&gt;
Then switch user to the new user.  To get to the new user you can use the switch user icon for your system, which on Ubuntu is in the &#039;System/Quit&#039; screen, or if there is no switch icon on your system you can log out and log back in as the new user.  Then click on a folder in the new user to display the file browser, then keep going up folders until you see the new user home directory, then right click to bring up the Properties dialog, then click on the Permissions tab, then in the Others section, set the folder access to None.&lt;br /&gt;
&lt;br /&gt;
For secure browsing, open Firefox, and then go into the Edit menu and click Preferences.  Starting from the left, click on the General tab, and in the &#039;Startup/When Firefox starts&#039; pop up menu, choose &#039;Show a Blank Page&#039;.  Then click on the Content tab, and deselect &#039;Load images automatically&#039; and deselect &#039;Enable Javascript&#039;.  Then click on the Privacy tab, and in the &#039;History/Firefox will&#039; pop up menu, choose &#039;Never remember history&#039;.  Then click on the Security tab, and in the Passwords section, deselect &#039;Remember passwords for sites&#039; and deselect &#039;Use a master password&#039;.  Then click on the Advanced tab, then click on the Update tab, and then in the &#039;Automatically check for updates to&#039; section, deselect &#039;Add-ons&#039; and &#039;Search Engines&#039;.&lt;br /&gt;
&lt;br /&gt;
When javascript is disabled, the [http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.23/bitcoin-0.3.23-linux.tar.gz/download linux download page] will not download automatically, so you&#039;ll have to click on the &#039;direct link&#039; part of the &amp;quot;Problems with the download? Please use this &#039;direct link&#039; or try another mirror.&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
After you&#039;ve made your secure new user, to maintain security you should use it only for bitcoin.&lt;br /&gt;
&lt;br /&gt;
It&#039;s also a good idea to encrypt the Home directory of whatever user you run Bitcoin under using ecryptfs-utils. To do this:&lt;br /&gt;
# If the Home directory is not empty you should back it up first, by just copying the data to an external drive or something.&lt;br /&gt;
# install ecryptfs-utils (on Ubuntu: sudo apt-get install ecryptfs-utils)&lt;br /&gt;
# log out of X (graphical system) and press Ctrl+Alt+F1 to login to the command shell (you must be logged out or some files will be open and the tool won&#039;t be able to encrypt your data)&lt;br /&gt;
# change directory to something that&#039;s not in your home folder (ex: cd / )&lt;br /&gt;
# run the migration tool (on Ubuntu: sudo ecryptfs-migrate-home -u username)&lt;br /&gt;
# if it&#039;s successful, you can now press ALT+F8 to go back to the GUI and login&lt;br /&gt;
# run &#039;ecryptfs-unwrap-passphrase&#039; and &#039;&#039;&#039;WRITE DOWN OR SAVE THE CODE IT RETURNS&#039;&#039;&#039; because you will need it if you ever have to pull your data off while the OS is not working. (You can run it again later if you need to, but run it now so that you can get your data if your Linux install gets botched.)&lt;br /&gt;
# run &#039;ecryptfs-setup-swap&#039; to encrypt your swap partition (the encrypted folder data is not encrypted while it&#039;s in memory, and so if it&#039;s ever sent to the swap partition it can be stolen from there unless that too is encrypted - be aware that this will mean you cannot use Hibernate anymore, as the bootloader won&#039;t be able to restore the hibernation data)&lt;br /&gt;
(instructions from [http://bodhizazen.net/Tutorials/Ecryptfs/#Migrate])&lt;br /&gt;
&lt;br /&gt;
===Mac===&lt;br /&gt;
&lt;br /&gt;
=====Backup all data (500MB)=====&lt;br /&gt;
Follow these instructions to backup all the bitcoin data (wallet and block chains) to an encrypted disk image.&lt;br /&gt;
# Open Disk Utility&lt;br /&gt;
# Click New Image and choose 500MB, 128-bit or 256-bit (faster or more secure) encryption and single partition.&lt;br /&gt;
# Save it somewhere you won&#039;t lose it (like your Wuala, Dropbox, Strongspace or whatever)&lt;br /&gt;
# Choose a safe and strong password&lt;br /&gt;
# Move everything from ~/Library/Application Support/Bitcoin/ to the image&lt;br /&gt;
# Symlink it back so the app would be able to use it&lt;br /&gt;
:::ln -s /Volumes/Bitcoin ~/Library/Application Support/Bitcoin&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to mount your image before using Bitcoin and unmount after quitting it.&lt;br /&gt;
&lt;br /&gt;
=====Backup just wallet.dat (40MB)=====&lt;br /&gt;
Follow these instructions to backup just the wallet.dat file. This results in a smaller disk image, but it&#039;s more complicated to do.&lt;br /&gt;
# Open Disk Utility&lt;br /&gt;
# Click New Image and choose 40MB, 128-bit or 256-bit (faster or more secure) encryption and single partition.&lt;br /&gt;
# Save it somewhere you won&#039;t lose it (like your Wuala, Dropbox, Strongspace or whatever)&lt;br /&gt;
# Choose a safe and strong password&lt;br /&gt;
# Move your wallet.dat file to the image&lt;br /&gt;
# Symlink it back so the app would be able to use it&lt;br /&gt;
:::ln -s /Volumes/Bitcoin/wallet.dat ~/Library/Application Support/Bitcoin/wallet.dat&lt;br /&gt;
&lt;br /&gt;
[[File:MountWalletAndLauchnBitcoin_OSX_Automator.png|thumbnail|150px|Mount Wallet and launch Bitcoin]]&lt;br /&gt;
Don&#039;t forget to mount your image before using Bitcoin and unmount after quitting it.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: If you start the Bitcoin application without having the image mounted, the application will overwrite your symlink with a new wallet. If that happens, don&#039;t panic. Just delete the new wallet.dat, mount the image, and recreate the symlink like above.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Automation&#039;&#039;&#039;: You can create a small application using [http://en.wikipedia.org/wiki/Automator_%28software%29 Automator] (included in OS X) to automatically mount the wallet and then launch Bitcoin App. See the Screenshot on how to do this.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
&lt;br /&gt;
If you are using Windows XP or Windows 7, you can keep your wallet on an encrypted disk image created by third-party software, such as [http://www.truecrypt.org/ TrueCrypt] (open source) or [http://www.jetico.com/encryption-bestcrypt/ Jetico BestCrypt] (commercial).  You can probably do the same with Windows Vista (but why would you use that?) or Windows 2000.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; You should configure BitCoin in this manner only on computers where you use BitCoin, but do not use that computer to mine.  For example, this is a good configuration for a notebook or tablet computer.&lt;br /&gt;
&lt;br /&gt;
Assuming that you have installed the Windows BitCoin client and run it at least once, the process is described below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;To mount the BitCoin data directory on an encrypted drive&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol start=1 type=1&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Use the third-party disk image encryption program of your choice to create and mount an encrypted disk image of at least 100 MB in size.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Locate the BitCoin data directory, and copy the directory with all contents to the encrypted drive.&lt;br /&gt;
&amp;lt;p&amp;gt;For help finding this directory, see &amp;lt;b&amp;gt;[[Securing_your_wallet#Locating_BitCoin_s_data_directory|Locating BitCoin&#039;s Data Directory]]&amp;lt;/b&amp;gt;.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a Windows shortcut that starts BitCoin with the &amp;lt;code&amp;gt;-datadir&amp;lt;/code&amp;gt; parameter and specifies the encrypted drive and directory.&lt;br /&gt;
&amp;lt;p&amp;gt;For example, if you installed Bitcoin in the default directory, mounted your BitCoin encrypted drive as &amp;lt;code&amp;gt;E:\&amp;lt;/code&amp;gt;, and stored your BitCoin data directory on it as &amp;lt;code&amp;gt;Bitcoin&amp;lt;/code&amp;gt;, you would type the following command as the shortcut Target:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;code&amp;gt;C:\Program Files\Bitcoin\bitcoin.exe -datadir=E:\Bitcoin&amp;lt;/code&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open BitCoin&#039;s settings and configure it &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; to start automatically when you start Windows.&lt;br /&gt;
&amp;lt;p&amp;gt;This is to allow you to mount the BitCoin encrypted disk image before starting BitCoin.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Shut down BitCoin, and then restart it from the new shortcut.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After doing this, any time you want to use BitCoin, you must first mount the BitCoin encrypted disk image using the same drive designation, and then run BitCoin from the shortcut that you created, so that it can find its data and your wallet. :-)&lt;br /&gt;
&lt;br /&gt;
== Locating BitCoin&#039;s data directory ==&lt;br /&gt;
&lt;br /&gt;
The [[data directory]] is the location where Bitcoin&#039;s data files are stored, including the wallet data file.&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
&lt;br /&gt;
Go to Start -&amp;gt; Run (or press WinKey+R) and run this:&lt;br /&gt;
&lt;br /&gt;
 explorer %APPDATA%\BitCoin&lt;br /&gt;
&lt;br /&gt;
BitCoin&#039;s data folder will open. For most users, this is the following locations:&lt;br /&gt;
&lt;br /&gt;
 C:\Documents and Settings\YourUserName\Application data\BitCoin (XP)&lt;br /&gt;
 &lt;br /&gt;
 C:\Users\YourUserName\Appdata\Roaming\BitCoin (Vista and 7)&lt;br /&gt;
&lt;br /&gt;
&amp;quot;AppData&amp;quot; and &amp;quot;Application data&amp;quot; are hidden by default.&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
&lt;br /&gt;
By default BitCoin will put its data here:&lt;br /&gt;
&lt;br /&gt;
 ~/.bitcoin/&lt;br /&gt;
&lt;br /&gt;
You need to do a &amp;quot;ls -a&amp;quot; to see directories that start with a dot.&lt;br /&gt;
&lt;br /&gt;
If that&#039;s not it, you can do a search like this:&lt;br /&gt;
&lt;br /&gt;
 find / -name wallet.dat -print 2&amp;gt;/dev/null&lt;br /&gt;
&lt;br /&gt;
=== Mac ===&lt;br /&gt;
&lt;br /&gt;
By default BitCoin will put its data here:&lt;br /&gt;
&lt;br /&gt;
 ~/Library/Application Support/Bitcoin/&lt;br /&gt;
&lt;br /&gt;
==Backup==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: I would strongly recommend against using Dropbox to back up your Bitcoin data due to [http://en.wikipedia.org/wiki/Dropbox_(service)#Criticism security concerns] such as:&lt;br /&gt;
# the fact that they store your encryption key (meaning that a disgruntled Dropbox employee or an attacker who gained access to the system could decrypt your Dropbox data and steal your Bitcoins)&lt;br /&gt;
# the fact that the Dropbox client only needs a password for the first login. After it authenticates once, the server assigns it a token which it uses to show that, at one time, its user knew the password rather than sending the actual password (meaning that if you ever use the Dropbox client on another PC, that PC&#039;s users can access your Dropbox - even if you change your password - and can steal your Bitcoins or get a virus that will steal your Bitcoins).&lt;br /&gt;
&lt;br /&gt;
For these reasons, I personally prefer to use Wuala, which does not store your encryption key and requires a password each time (the client can be set to remember your password, but the server will check each time to make sure that the client is sending the correct password). Like Dropbox, the basic, lowest-storage-space account with Wuala is free of charge, and coincidentally, Wuala [http://www.wuala.com/en/bitcoin is experimenting with allowing users to pay for &amp;quot;upgraded&amp;quot; plans using Bitcoin.]&lt;br /&gt;
&lt;br /&gt;
In fact, whether you use Dropbox as your backup or not, use what Steve Gibson calls &amp;quot;pre-Internet encryption&amp;quot; (which he actually [http://itknowledgeexchange.techtarget.com/security-corner/cloud-security-and-privacy-do-they-exist/ discussed in the context of Dropbox&#039;s security concerns]) and use some form of encryption on the files before you back them up, just in case someone other than yourself ever gains access to that backup. Make sure to pick a password that&#039;s memorable but secure.&lt;br /&gt;
&lt;br /&gt;
The only file you need to back up is &amp;quot;wallet.dat&amp;quot;. Ensure that BitCoin is closed, copy this file somewhere else, encrypt it, and put it somewhere safe. Ideally, you would put this file in two places: one nearby, and one 100+ miles away.&lt;br /&gt;
&lt;br /&gt;
You can use the [[api|backupwallet]] JSON-RPC command to back up without shutting down Bitcoin.&lt;br /&gt;
&lt;br /&gt;
=== General Solutions ===&lt;br /&gt;
&lt;br /&gt;
Your wallet.dat file is not encrypted by BitCoin. Anyone who can access it can easily steal all of your coins. Use one of these encryption programs if there is any chance someone might stumble upon your wallet.&lt;br /&gt;
* [http://www.7-zip.org/ 7-zip] - Supports strongly-encrypted archives.&lt;br /&gt;
* [http://www.axantum.com/axcrypt/ AxCrypt]&lt;br /&gt;
* [http://lrzip.kolivas.org lrzip] - Compression software for Linux and OSX that supports very high grade password protected encryption&lt;br /&gt;
* [http://www.truecrypt.org/ TrueCrypt] - Volume-based on-the-fly encryption (for advanced users)&lt;br /&gt;
* [http://www.rarlab.com/ WinRar] - Commonly used archive software that supports verification records and encryption.&lt;br /&gt;
&lt;br /&gt;
There is also a list of [[OpenSourceEncryptionSoftware|open source encryption software.]]&lt;br /&gt;
&lt;br /&gt;
There is also a method to Print out your Wallet.Dat as a special Barcode, See Details here: [[WalletPaperbackup]]&lt;br /&gt;
&lt;br /&gt;
==== Password Strength ====&lt;br /&gt;
Brute-force password cracking has come a long distance, a previously thought secure password of random [a-Z] [0-9] [!-~] of 8 characters long can be trivially solved now (using appropriate hardware)... The recommended length is &#039;&#039;&#039;at least&#039;&#039;&#039; 12 characters long.  You can also use a multi-word password. [http://www.baekdal.com/tips/password-security-usability The Usability of Passwords] &lt;br /&gt;
&lt;br /&gt;
However, simply using dictionary words is also insecure as it opens you up to a dictionary attack. If you use dictionary words, be sure to throw random symbols and numbers in the mix as well.&lt;br /&gt;
&lt;br /&gt;
A good way to create secure but easy-to-remember passwords is to pick a password (ex: d0g) and pad it with a good number of repeated characters afterward (such as 10 $ signs - so d0g becomes d0g$$$$$$$$$$) - this is just as cryptographically secure as a random password of equal length so long as the attacker does not know which symbol you are following your &amp;quot;word&amp;quot; with and how many times it is repeated. ([https://www.grc.com/haystack.htm source])&lt;br /&gt;
&lt;br /&gt;
If you use keyfiles in addition to a password, it is unlikely that your encrypted file can ever be cracked using brute force methods, even 10 years from now when even a 12 character password might be too short.&lt;br /&gt;
&lt;br /&gt;
Assume that any encrypted files you store online (eg. gmail, Dropbox) will be stored somewhere forever and can never be erased.&lt;br /&gt;
&lt;br /&gt;
==== Storage of Archive ====&lt;br /&gt;
One of the most simple methods for storing a appropriately &#039;&#039;&#039;encrypted&#039;&#039;&#039; archive of your wallet.dat file is to send the archive as an email attachment to your own e-mail address.  Services like gmail.com use very comprehensive distributed networks that make the loss of data very unlikely.  One can even obfuscate the name of the files within the archive, and name the archive something less inviting, such as: &#039;personal notes&#039; or &#039;car insurance&#039;.&lt;br /&gt;
&lt;br /&gt;
Another solution is to use a file storage service like [http://www.wuala.com/bitcoin Wuala] ( encrypted, [http://www.bitcoin.org/smf/index.php?topic=5817.0 instructions]), [http://www.dropbox.com Dropbox] and [http://en.wikipedia.org/wiki/Comparison_of_online_backup_services others], including the more secure [http://www.spideroak.com SpiderOak].&lt;br /&gt;
&lt;br /&gt;
=== Linux solution ===&lt;br /&gt;
&lt;br /&gt;
Linux users can setup cron by running &#039;crontab -e&#039; and adding this line:&lt;br /&gt;
&lt;br /&gt;
  01 */1 * * * /usr/local/bin/backupwallet.sh&lt;br /&gt;
&lt;br /&gt;
This cron line runs backupwallet.sh at the 01 minute of every hour. Remember to add a newline after the last line of the crontab file, or else the last line won&#039;t run.&lt;br /&gt;
&lt;br /&gt;
backupwallet.sh:&lt;br /&gt;
&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  &lt;br /&gt;
  TS=$(date &amp;quot;+%Y%m%d-%H-%M&amp;quot;)&lt;br /&gt;
  WALLET=/tmp/wallet${TS}&lt;br /&gt;
  WALLET_E=/tmp/wallet${TS}.crypt&lt;br /&gt;
  &lt;br /&gt;
  if&lt;br /&gt;
    echo -n making backup...&lt;br /&gt;
    bitcoind backupwallet $WALLET &lt;br /&gt;
    &amp;lt;nowiki&amp;gt;[[ ! -s &amp;quot;$WALLET&amp;quot; ]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  then echo failed&lt;br /&gt;
  elif&lt;br /&gt;
    echo done&lt;br /&gt;
    echo -n encrypting....&lt;br /&gt;
    ! gpg -r myusername --output $WALLET_E --encrypt $WALLET&lt;br /&gt;
  then echo failed&lt;br /&gt;
  elif&lt;br /&gt;
    echo done&lt;br /&gt;
    echo -n copying to distant server...&lt;br /&gt;
    ! scp $WALLET_E user@myserver.org:~/wallets/&lt;br /&gt;
  then echo failed&lt;br /&gt;
  else echo done&lt;br /&gt;
  fi&lt;br /&gt;
  &lt;br /&gt;
  rm -f $WALLET $WALLET_E&lt;br /&gt;
&lt;br /&gt;
The shell script:&lt;br /&gt;
&lt;br /&gt;
* Calls bitcoind backupwallet to create a time/date-stamped wallet.&lt;br /&gt;
* GPG encrypts the wallet with your public key.&lt;br /&gt;
* Copies the result to a backup location.&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
==Restore==&lt;br /&gt;
&lt;br /&gt;
Assuming your backup is recent enough that you haven&#039;t used up all of your key pool... restoring a wallet to a new (or old) location and rescanning the block chain should leave you with all your coins. Just follow these steps:&lt;br /&gt;
* Quit bitcoin(d).&lt;br /&gt;
* Copy your backed up wallet.dat into your bitcoin profile directory.&lt;br /&gt;
* If copying into existing profile, delete file &#039;&#039;blkindex.dat&#039;&#039; and &#039;&#039;blk0001.dat&#039;&#039; to make the client re-scan the block chain.&lt;br /&gt;
And you&#039;ll be good as new.&lt;br /&gt;
&lt;br /&gt;
==Erasing Plain Text Wallets==&lt;br /&gt;
&lt;br /&gt;
A good practice is to keep at least two wallets, one as a &amp;quot;current account&amp;quot; for everyday transactions and one as a &amp;quot;savings account&amp;quot; where you store the majority of your Bitcoins.  &lt;br /&gt;
&lt;br /&gt;
The &amp;quot;savings account&amp;quot; wallet should be backed up in encrypted form only and all plaintext copies of this wallet should be erased. In case someone gains unauthorised access to your computer (either by physically stealing it or by exploiting a system vulnerability via the internet), they will only be able to spend the coins in your &amp;quot;current account&amp;quot; wallet.&lt;br /&gt;
&lt;br /&gt;
In most operating systems, including Windows, Linux, and Mac OS X, simply deleting a wallet.dat file will &#039;&#039;not&#039;&#039; generally destroy it. It is likely that advanced tools can still be used to recover the wallet.dat file, even after it has been deleted.&lt;br /&gt;
&lt;br /&gt;
The Linux &#039;&#039;&#039;shred&#039;&#039;&#039; command can be used to overwrite the wallet file with random data prior to deleting; this particular copy of the file will then be practically impossible to recover.  Using shred (and similar tools on Windows) however does not guarantee that still other copies don&#039;t exist somewhere hidden on your HD. That will depend on your system configuration and what packages you have installed. Some system restore and backup tools, for instance, create periodic snapshots of your  filesystem, duplicating your wallet.dat.&lt;br /&gt;
&lt;br /&gt;
In Mac OS, clicking &amp;quot;Secure Empty Trash&amp;quot; in the Finder menu will shred the contents of the trash can. As with any OS this doesn&#039;t guarantee that there are not other copies elsewhere on your system.&lt;br /&gt;
&lt;br /&gt;
For Windows, the built-in command &#039;&#039;cipher /W&#039;&#039; will shred all previously-deleted files. [http://www.cylog.org/utilities/cybershredder.jsp CyberShredder] can securely deleted individual files.&lt;br /&gt;
&lt;br /&gt;
==eWallet==&lt;br /&gt;
&lt;br /&gt;
Storing bitcoins with an [[eWallet]] provider incurs risks as well. Basically you grant the third party, in this case eWallet, full access to your wallet.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[Data directory]]&lt;br /&gt;
&lt;br /&gt;
[[de:Sichere deine Geldbörse]]&lt;br /&gt;
[[zh-cn:保护你的钱包]]&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Securing_your_wallet&amp;diff=11459</id>
		<title>Securing your wallet</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Securing_your_wallet&amp;diff=11459"/>
		<updated>2011-06-24T01:48:55Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: Adding WalletPaperbackup To the list of backup methods&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Wallet security can be broken down into two independent goals:&lt;br /&gt;
# Protecting your wallet against loss.&lt;br /&gt;
# Protecting your wallet against theft.&lt;br /&gt;
&lt;br /&gt;
In the case that your current wallet hasn&#039;t been protected adequately (e.g. put online with a weaker password):&lt;br /&gt;
# Making a new secure wallet, using appropriate long-term protection.&lt;br /&gt;
&lt;br /&gt;
==Technical Background==&lt;br /&gt;
&lt;br /&gt;
Bitcoin transactions send Bitcoins to a specific public key. A Bitcoin address is an encoded hash of a public key. In order to use received Bitcoins, you need to have the private key matching the public key you received with. This is sort of like a super long password associated with an account (public key). Your Bitcoin wallet contains all of the private keys necessary for spending your received transactions. If you delete your wallet without a backup, then you no longer have the authorization information necessary to claim your coins, and the coins associated with those keys are lost forever.&lt;br /&gt;
&lt;br /&gt;
The wallet contains a pool of queued keys. By default there are 100 keys in the [[key pool]].  The size of the pool is configurable using the &amp;quot;-keypool&amp;quot; command line argument.  When you need an address for whatever reason (send, “new address”, generation, etc.), the key is not actually generated freshly, but taken from this pool. A brand new address is generated to fill the pool back to 100. So when a backup is first created, it has all of your old keys plus 100 unused keys. After sending a transaction, it has 99 unused keys. After a total of 100 new-key actions, you will start using keys that are not in your backup. Since the backup does not have the private keys necessary for authorizing spends of these coins, restoring from the old backup will cause you to lose Bitcoins.&lt;br /&gt;
&lt;br /&gt;
Creating a new address generates a new pair of public and private keys, which are added to your wallet. Each keypair is mostly random numbers, so they cannot be known prior to generation. If you backup your wallet and then create more than 100 new addresses, the keypair associated with the newest addresses will not be in the old wallet because the new keypairs are only known after creating them. Any coins received at these addresses will be lost if you restore from the backup.&lt;br /&gt;
&lt;br /&gt;
The situation is made somewhat more confusing because the receiving addresses shown in the UI are not the only keys in your wallet. Each Bitcoin generation is given a new public key, and, more importantly, each sent transaction also sends some number of Bitcoins back to yourself at a new key. When sending Bitcoins to anyone, you generate a new keypair for yourself and simultaneously send Bitcoins to your new public key and the actual recipient&#039;s public key. This is an anonymity feature – it makes tracking Bitcoin transactions much more difficult.&lt;br /&gt;
&lt;br /&gt;
So if you create a backup, do more than 100 things that cause a new key to be used, and then restore from the backup, some Bitcoins will be lost. Bitcoin has not deleted any keys (keys are never deleted) – it has created a new key that is not in your old backup and then sent Bitcoins to it.&lt;br /&gt;
&lt;br /&gt;
== Making a new wallet ==&lt;br /&gt;
&lt;br /&gt;
In the case that a wallet has been distributed, or stored, in a (real or potential) compromised state, it is wise to create a new wallet and transfer the full balance of Bitcoins to an address contained only in the newly created wallet.&lt;br /&gt;
&lt;br /&gt;
For example, this will be necessary if one created a wallet with a password of 12 characters, as suggested. However a few years have passed and the wallet is now more easily compromised.  Just re-encrypting isn&#039;t secure.  One needs to make a new wallet and make the old wallet worthless (spending the funds to the new wallet).&lt;br /&gt;
&lt;br /&gt;
==Making a secure workspace==&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
&lt;br /&gt;
The first step is to make a [http://www.howtogeek.com/howto/ubuntu/add-a-user-on-ubuntu-server/ new user,] so run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;adduser new_user_name&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
as root. When you get to the prompt &#039;Enter the new value, or press ENTER for the default&#039;, just keep hitting ENTER.&lt;br /&gt;
&lt;br /&gt;
Then switch user to the new user.  To get to the new user you can use the switch user icon for your system, which on Ubuntu is in the &#039;System/Quit&#039; screen, or if there is no switch icon on your system you can log out and log back in as the new user.  Then click on a folder in the new user to display the file browser, then keep going up folders until you see the new user home directory, then right click to bring up the Properties dialog, then click on the Permissions tab, then in the Others section, set the folder access to None.&lt;br /&gt;
&lt;br /&gt;
For secure browsing, open Firefox, and then go into the Edit menu and click Preferences.  Starting from the left, click on the General tab, and in the &#039;Startup/When Firefox starts&#039; pop up menu, choose &#039;Show a Blank Page&#039;.  Then click on the Content tab, and deselect &#039;Load images automatically&#039; and deselect &#039;Enable Javascript&#039;.  Then click on the Privacy tab, and in the &#039;History/Firefox will&#039; pop up menu, choose &#039;Never remember history&#039;.  Then click on the Security tab, and in the Passwords section, deselect &#039;Remember passwords for sites&#039; and deselect &#039;Use a master password&#039;.  Then click on the Advanced tab, then click on the Update tab, and then in the &#039;Automatically check for updates to&#039; section, deselect &#039;Add-ons&#039; and &#039;Search Engines&#039;.&lt;br /&gt;
&lt;br /&gt;
When javascript is disabled, the [http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.23/bitcoin-0.3.23-linux.tar.gz/download linux download page] will not download automatically, so you&#039;ll have to click on the &#039;direct link&#039; part of the &amp;quot;Problems with the download? Please use this &#039;direct link&#039; or try another mirror.&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
After you&#039;ve made your secure new user, to maintain security you should use it only for bitcoin.&lt;br /&gt;
&lt;br /&gt;
It&#039;s also a good idea to encrypt the Home directory of whatever user you run Bitcoin under using ecryptfs-utils. To do this:&lt;br /&gt;
# If the Home directory is not empty you should back it up first, by just copying the data to an external drive or something.&lt;br /&gt;
# install ecryptfs-utils (on Ubuntu: sudo apt-get install ecryptfs-utils)&lt;br /&gt;
# log out of X (graphical system) and press Ctrl+Alt+F1 to login to the command shell (you must be logged out or some files will be open and the tool won&#039;t be able to encrypt your data)&lt;br /&gt;
# change directory to something that&#039;s not in your home folder (ex: cd / )&lt;br /&gt;
# run the migration tool (on Ubuntu: sudo ecryptfs-migrate-home -u username)&lt;br /&gt;
# if it&#039;s successful, you can now press ALT+F8 to go back to the GUI and login&lt;br /&gt;
# run &#039;ecryptfs-unwrap-passphrase&#039; and &#039;&#039;&#039;WRITE DOWN OR SAVE THE CODE IT RETURNS&#039;&#039;&#039; because you will need it if you ever have to pull your data off while the OS is not working. (You can run it again later if you need to, but run it now so that you can get your data if your Linux install gets botched.)&lt;br /&gt;
# run &#039;ecryptfs-setup-swap&#039; to encrypt your swap partition (the encrypted folder data is not encrypted while it&#039;s in memory, and so if it&#039;s ever sent to the swap partition it can be stolen from there unless that too is encrypted - be aware that this will mean you cannot use Hibernate anymore, as the bootloader won&#039;t be able to restore the hibernation data)&lt;br /&gt;
(instructions from [http://bodhizazen.net/Tutorials/Ecryptfs/#Migrate])&lt;br /&gt;
&lt;br /&gt;
===Mac===&lt;br /&gt;
&lt;br /&gt;
=====Backup all data (500MB)=====&lt;br /&gt;
Follow these instructions to backup all the bitcoin data (wallet and block chains) to an encrypted disk image.&lt;br /&gt;
# Open Disk Utility&lt;br /&gt;
# Click New Image and choose 500MB, 128-bit or 256-bit (faster or more secure) encryption and single partition.&lt;br /&gt;
# Save it somewhere you won&#039;t lose it (like your Wuala, Dropbox, Strongspace or whatever)&lt;br /&gt;
# Choose a safe and strong password&lt;br /&gt;
# Move everything from ~/Library/Application Support/Bitcoin/ to the image&lt;br /&gt;
# Symlink it back so the app would be able to use it&lt;br /&gt;
:::ln -s /Volumes/Bitcoin ~/Library/Application Support/Bitcoin&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to mount your image before using Bitcoin and unmount after quitting it.&lt;br /&gt;
&lt;br /&gt;
=====Backup just wallet.dat (40MB)=====&lt;br /&gt;
Follow these instructions to backup just the wallet.dat file. This results in a smaller disk image, but it&#039;s more complicated to do.&lt;br /&gt;
# Open Disk Utility&lt;br /&gt;
# Click New Image and choose 40MB, 128-bit or 256-bit (faster or more secure) encryption and single partition.&lt;br /&gt;
# Save it somewhere you won&#039;t lose it (like your Wuala, Dropbox, Strongspace or whatever)&lt;br /&gt;
# Choose a safe and strong password&lt;br /&gt;
# Move your wallet.dat file to the image&lt;br /&gt;
# Symlink it back so the app would be able to use it&lt;br /&gt;
:::ln -s /Volumes/Bitcoin/wallet.dat ~/Library/Application Support/Bitcoin/wallet.dat&lt;br /&gt;
&lt;br /&gt;
[[File:MountWalletAndLauchnBitcoin_OSX_Automator.png|thumbnail|150px|Mount Wallet and launch Bitcoin]]&lt;br /&gt;
Don&#039;t forget to mount your image before using Bitcoin and unmount after quitting it.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: If you start the Bitcoin application without having the image mounted, the application will overwrite your symlink with a new wallet. If that happens, don&#039;t panic. Just delete the new wallet.dat, mount the image, and recreate the symlink like above.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Automation&#039;&#039;&#039;: You can create a small application using [http://en.wikipedia.org/wiki/Automator_%28software%29 Automator] (included in OS X) to automatically mount the wallet and then launch Bitcoin App. See the Screenshot on how to do this.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
&lt;br /&gt;
If you are using Windows XP or Windows 7, you can keep your wallet on an encrypted disk image created by third-party software, such as [http://www.truecrypt.org/ TrueCrypt] (open source) or [http://www.jetico.com/encryption-bestcrypt/ Jetico BestCrypt] (commercial).  You can probably do the same with Windows Vista (but why would you use that?) or Windows 2000.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; You should configure BitCoin in this manner only on computers where you use BitCoin, but do not use that computer to mine.  For example, this is a good configuration for a notebook or tablet computer.&lt;br /&gt;
&lt;br /&gt;
Assuming that you have installed the Windows BitCoin client and run it at least once, the process is described below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;To mount the BitCoin data directory on an encrypted drive&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol start=1 type=1&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Use the third-party disk image encryption program of your choice to create and mount an encrypted disk image of at least 100 MB in size.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Locate the BitCoin data directory, and copy the directory with all contents to the encrypted drive.&lt;br /&gt;
&amp;lt;p&amp;gt;For help finding this directory, see &amp;lt;b&amp;gt;[[Securing_your_wallet#Locating_BitCoin_s_data_directory|Locating BitCoin&#039;s Data Directory]]&amp;lt;/b&amp;gt;.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a Windows shortcut that starts BitCoin with the &amp;lt;code&amp;gt;-datadir&amp;lt;/code&amp;gt; parameter and specifies the encrypted drive and directory.&lt;br /&gt;
&amp;lt;p&amp;gt;For example, if you installed Bitcoin in the default directory, mounted your BitCoin encrypted drive as &amp;lt;code&amp;gt;E:\&amp;lt;/code&amp;gt;, and stored your BitCoin data directory on it as &amp;lt;code&amp;gt;Bitcoin&amp;lt;/code&amp;gt;, you would type the following command as the shortcut Target:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;code&amp;gt;C:\Program Files\Bitcoin\bitcoin.exe -datadir=E:\Bitcoin&amp;lt;/code&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open BitCoin&#039;s settings and configure it &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; to start automatically when you start Windows.&lt;br /&gt;
&amp;lt;p&amp;gt;This is to allow you to mount the BitCoin encrypted disk image before starting BitCoin.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Shut down BitCoin, and then restart it from the new shortcut.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After doing this, any time you want to use BitCoin, you must first mount the BitCoin encrypted disk image using the same drive designation, and then run BitCoin from the shortcut that you created, so that it can find its data and your wallet. :-)&lt;br /&gt;
&lt;br /&gt;
== Locating BitCoin&#039;s data directory ==&lt;br /&gt;
&lt;br /&gt;
The [[data directory]] is the location where Bitcoin&#039;s data files are stored, including the wallet data file.&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
&lt;br /&gt;
Go to Start -&amp;gt; Run (or press WinKey+R) and run this:&lt;br /&gt;
&lt;br /&gt;
 explorer %APPDATA%\BitCoin&lt;br /&gt;
&lt;br /&gt;
BitCoin&#039;s data folder will open. For most users, this is the following locations:&lt;br /&gt;
&lt;br /&gt;
 C:\Documents and Settings\YourUserName\Application data\BitCoin (XP)&lt;br /&gt;
 &lt;br /&gt;
 C:\Users\YourUserName\Appdata\Roaming\BitCoin (Vista and 7)&lt;br /&gt;
&lt;br /&gt;
&amp;quot;AppData&amp;quot; and &amp;quot;Application data&amp;quot; are hidden by default.&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
&lt;br /&gt;
By default BitCoin will put its data here:&lt;br /&gt;
&lt;br /&gt;
 ~/.bitcoin/&lt;br /&gt;
&lt;br /&gt;
You need to do a &amp;quot;ls -a&amp;quot; to see directories that start with a dot.&lt;br /&gt;
&lt;br /&gt;
If that&#039;s not it, you can do a search like this:&lt;br /&gt;
&lt;br /&gt;
 find / -name wallet.dat -print 2&amp;gt;/dev/null&lt;br /&gt;
&lt;br /&gt;
=== Mac ===&lt;br /&gt;
&lt;br /&gt;
By default BitCoin will put its data here:&lt;br /&gt;
&lt;br /&gt;
 ~/Library/Application Support/Bitcoin/&lt;br /&gt;
&lt;br /&gt;
==Backup==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: I would strongly recommend against using Dropbox to back up your Bitcoin data due to [http://en.wikipedia.org/wiki/Dropbox_(service)#Criticism security concerns] such as:&lt;br /&gt;
# the fact that they store your encryption key (meaning that a disgruntled Dropbox employee or an attacker who gained access to the system could decrypt your Dropbox data and steal your Bitcoins)&lt;br /&gt;
# the fact that the Dropbox client only needs a password for the first login. After it authenticates once, the server assigns it a token which it uses to show that, at one time, its user knew the password rather than sending the actual password (meaning that if you ever use the Dropbox client on another PC, that PC&#039;s users can access your Dropbox - even if you change your password - and can steal your Bitcoins or get a virus that will steal your Bitcoins).&lt;br /&gt;
&lt;br /&gt;
For these reasons, I personally prefer to use Wuala, which does not store your encryption key and requires a password each time (the client can be set to remember your password, but the server will check each time to make sure that the client is sending the correct password). Like Dropbox, the basic, lowest-storage-space account with Wuala is free of charge, and coincidentally, Wuala [http://www.wuala.com/en/bitcoin is experimenting with allowing users to pay for &amp;quot;upgraded&amp;quot; plans using Bitcoin.]&lt;br /&gt;
&lt;br /&gt;
In fact, whether you use Dropbox as your backup or not, use what Steve Gibson calls &amp;quot;pre-Internet encryption&amp;quot; (which he actually [http://itknowledgeexchange.techtarget.com/security-corner/cloud-security-and-privacy-do-they-exist/ discussed in the context of Dropbox&#039;s security concerns]) and use some form of encryption on the files before you back them up, just in case someone other than yourself ever gains access to that backup. Make sure to pick a password that&#039;s memorable but secure.&lt;br /&gt;
&lt;br /&gt;
The only file you need to back up is &amp;quot;wallet.dat&amp;quot;. Ensure that BitCoin is closed, copy this file somewhere else, encrypt it, and put it somewhere safe. Ideally, you would put this file in two places: one nearby, and one 100+ miles away.&lt;br /&gt;
&lt;br /&gt;
You can use the [[api|backupwallet]] JSON-RPC command to back up without shutting down Bitcoin.&lt;br /&gt;
&lt;br /&gt;
=== General Solutions ===&lt;br /&gt;
&lt;br /&gt;
Your wallet.dat file is not encrypted by BitCoin. Anyone who can access it can easily steal all of your coins. Use one of these encryption programs if there is any chance someone might stumble upon your wallet.&lt;br /&gt;
* [http://www.7-zip.org/ 7-zip] - Supports strongly-encrypted archives.&lt;br /&gt;
* [http://www.axantum.com/axcrypt/ AxCrypt]&lt;br /&gt;
* [http://lrzip.kolivas.org lrzip] - Compression software for Linux and OSX that supports very high grade password protected encryption&lt;br /&gt;
* [http://www.truecrypt.org/ TrueCrypt] - Volume-based on-the-fly encryption (for advanced users)&lt;br /&gt;
* [http://www.rarlab.com/ WinRar] - Commonly used archive software that supports verification records and encryption.&lt;br /&gt;
&lt;br /&gt;
There is also a list of [[OpenSourceEncryptionSoftware|open source encryption software.]]&lt;br /&gt;
&lt;br /&gt;
There is also a method to Print out your Wallet.Dat as a special Barcode, See Details here: [WalletPaperbackup]&lt;br /&gt;
&lt;br /&gt;
==== Password Strength ====&lt;br /&gt;
Brute-force password cracking has come a long distance, a previously thought secure password of random [a-Z] [0-9] [!-~] of 8 characters long can be trivially solved now (using appropriate hardware)... The recommended length is &#039;&#039;&#039;at least&#039;&#039;&#039; 12 characters long.  You can also use a multi-word password. [http://www.baekdal.com/tips/password-security-usability The Usability of Passwords] &lt;br /&gt;
&lt;br /&gt;
However, simply using dictionary words is also insecure as it opens you up to a dictionary attack. If you use dictionary words, be sure to throw random symbols and numbers in the mix as well.&lt;br /&gt;
&lt;br /&gt;
A good way to create secure but easy-to-remember passwords is to pick a password (ex: d0g) and pad it with a good number of repeated characters afterward (such as 10 $ signs - so d0g becomes d0g$$$$$$$$$$) - this is just as cryptographically secure as a random password of equal length so long as the attacker does not know which symbol you are following your &amp;quot;word&amp;quot; with and how many times it is repeated. ([https://www.grc.com/haystack.htm source])&lt;br /&gt;
&lt;br /&gt;
If you use keyfiles in addition to a password, it is unlikely that your encrypted file can ever be cracked using brute force methods, even 10 years from now when even a 12 character password might be too short.&lt;br /&gt;
&lt;br /&gt;
Assume that any encrypted files you store online (eg. gmail, Dropbox) will be stored somewhere forever and can never be erased.&lt;br /&gt;
&lt;br /&gt;
==== Storage of Archive ====&lt;br /&gt;
One of the most simple methods for storing a appropriately &#039;&#039;&#039;encrypted&#039;&#039;&#039; archive of your wallet.dat file is to send the archive as an email attachment to your own e-mail address.  Services like gmail.com use very comprehensive distributed networks that make the loss of data very unlikely.  One can even obfuscate the name of the files within the archive, and name the archive something less inviting, such as: &#039;personal notes&#039; or &#039;car insurance&#039;.&lt;br /&gt;
&lt;br /&gt;
Another solution is to use a file storage service like [http://www.wuala.com/bitcoin Wuala] ( encrypted, [http://www.bitcoin.org/smf/index.php?topic=5817.0 instructions]), [http://www.dropbox.com Dropbox] and [http://en.wikipedia.org/wiki/Comparison_of_online_backup_services others], including the more secure [http://www.spideroak.com SpiderOak].&lt;br /&gt;
&lt;br /&gt;
=== Linux solution ===&lt;br /&gt;
&lt;br /&gt;
Linux users can setup cron by running &#039;crontab -e&#039; and adding this line:&lt;br /&gt;
&lt;br /&gt;
  01 */1 * * * /usr/local/bin/backupwallet.sh&lt;br /&gt;
&lt;br /&gt;
This cron line runs backupwallet.sh at the 01 minute of every hour. Remember to add a newline after the last line of the crontab file, or else the last line won&#039;t run.&lt;br /&gt;
&lt;br /&gt;
backupwallet.sh:&lt;br /&gt;
&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  &lt;br /&gt;
  TS=$(date &amp;quot;+%Y%m%d-%H-%M&amp;quot;)&lt;br /&gt;
  WALLET=/tmp/wallet${TS}&lt;br /&gt;
  WALLET_E=/tmp/wallet${TS}.crypt&lt;br /&gt;
  &lt;br /&gt;
  if&lt;br /&gt;
    echo -n making backup...&lt;br /&gt;
    bitcoind backupwallet $WALLET &lt;br /&gt;
    &amp;lt;nowiki&amp;gt;[[ ! -s &amp;quot;$WALLET&amp;quot; ]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  then echo failed&lt;br /&gt;
  elif&lt;br /&gt;
    echo done&lt;br /&gt;
    echo -n encrypting....&lt;br /&gt;
    ! gpg -r myusername --output $WALLET_E --encrypt $WALLET&lt;br /&gt;
  then echo failed&lt;br /&gt;
  elif&lt;br /&gt;
    echo done&lt;br /&gt;
    echo -n copying to distant server...&lt;br /&gt;
    ! scp $WALLET_E user@myserver.org:~/wallets/&lt;br /&gt;
  then echo failed&lt;br /&gt;
  else echo done&lt;br /&gt;
  fi&lt;br /&gt;
  &lt;br /&gt;
  rm -f $WALLET $WALLET_E&lt;br /&gt;
&lt;br /&gt;
The shell script:&lt;br /&gt;
&lt;br /&gt;
* Calls bitcoind backupwallet to create a time/date-stamped wallet.&lt;br /&gt;
* GPG encrypts the wallet with your public key.&lt;br /&gt;
* Copies the result to a backup location.&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
==Restore==&lt;br /&gt;
&lt;br /&gt;
Assuming your backup is recent enough that you haven&#039;t used up all of your key pool... restoring a wallet to a new (or old) location and rescanning the block chain should leave you with all your coins. Just follow these steps:&lt;br /&gt;
* Quit bitcoin(d).&lt;br /&gt;
* Copy your backed up wallet.dat into your bitcoin profile directory.&lt;br /&gt;
* If copying into existing profile, delete file &#039;&#039;blkindex.dat&#039;&#039; and &#039;&#039;blk0001.dat&#039;&#039; to make the client re-scan the block chain.&lt;br /&gt;
And you&#039;ll be good as new.&lt;br /&gt;
&lt;br /&gt;
==Erasing Plain Text Wallets==&lt;br /&gt;
&lt;br /&gt;
A good practice is to keep at least two wallets, one as a &amp;quot;current account&amp;quot; for everyday transactions and one as a &amp;quot;savings account&amp;quot; where you store the majority of your Bitcoins.  &lt;br /&gt;
&lt;br /&gt;
The &amp;quot;savings account&amp;quot; wallet should be backed up in encrypted form only and all plaintext copies of this wallet should be erased. In case someone gains unauthorised access to your computer (either by physically stealing it or by exploiting a system vulnerability via the internet), they will only be able to spend the coins in your &amp;quot;current account&amp;quot; wallet.&lt;br /&gt;
&lt;br /&gt;
In most operating systems, including Windows, Linux, and Mac OS X, simply deleting a wallet.dat file will &#039;&#039;not&#039;&#039; generally destroy it. It is likely that advanced tools can still be used to recover the wallet.dat file, even after it has been deleted.&lt;br /&gt;
&lt;br /&gt;
The Linux &#039;&#039;&#039;shred&#039;&#039;&#039; command can be used to overwrite the wallet file with random data prior to deleting; this particular copy of the file will then be practically impossible to recover.  Using shred (and similar tools on Windows) however does not guarantee that still other copies don&#039;t exist somewhere hidden on your HD. That will depend on your system configuration and what packages you have installed. Some system restore and backup tools, for instance, create periodic snapshots of your  filesystem, duplicating your wallet.dat.&lt;br /&gt;
&lt;br /&gt;
In Mac OS, clicking &amp;quot;Secure Empty Trash&amp;quot; in the Finder menu will shred the contents of the trash can. As with any OS this doesn&#039;t guarantee that there are not other copies elsewhere on your system.&lt;br /&gt;
&lt;br /&gt;
For Windows, the built-in command &#039;&#039;cipher /W&#039;&#039; will shred all previously-deleted files. [http://www.cylog.org/utilities/cybershredder.jsp CyberShredder] can securely deleted individual files.&lt;br /&gt;
&lt;br /&gt;
==eWallet==&lt;br /&gt;
&lt;br /&gt;
Storing bitcoins with an [[eWallet]] provider incurs risks as well. Basically you grant the third party, in this case eWallet, full access to your wallet.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[Data directory]]&lt;br /&gt;
&lt;br /&gt;
[[de:Sichere deine Geldbörse]]&lt;br /&gt;
[[zh-cn:保护你的钱包]]&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=User:Jrwr&amp;diff=11458</id>
		<title>User:Jrwr</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=User:Jrwr&amp;diff=11458"/>
		<updated>2011-06-24T01:45:30Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: Created page with &amp;quot;== Welcome to JRWR&amp;#039;s Talk Page of DOOM! ==  I&amp;#039;m engaged in several projects related to Bitcoin and Reddit - /r/Gaming  ==== Tip Jar ==== 1BsVCbS5ikd8zLwaFSzm41PbbwzE5fDJYQ  === A...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Welcome to JRWR&#039;s Talk Page of DOOM! ==&lt;br /&gt;
&lt;br /&gt;
I&#039;m engaged in several projects related to Bitcoin and Reddit - /r/Gaming&lt;br /&gt;
&lt;br /&gt;
==== Tip Jar ====&lt;br /&gt;
1BsVCbS5ikd8zLwaFSzm41PbbwzE5fDJYQ&lt;br /&gt;
&lt;br /&gt;
=== Articles Created or Edited/Improved ===&lt;br /&gt;
[[WalletPaperbackup|WalletPaperBackup]]&lt;br /&gt;
&lt;br /&gt;
=== About Me ===&lt;br /&gt;
Forrest F.&amp;lt;br /&amp;gt;&lt;br /&gt;
21 Year old programmer, mostly in PHP. I&#039;m in the Dept of Labor Job Corps Program Training to work as a Rail Road Clerk, Stuck on a Lenovo s10e Netbook with a Atom 1.60Ghz and  a Cricket Wireless Card (Yay 7.5GB a month!)&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11457</id>
		<title>WalletPaperbackup</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11457"/>
		<updated>2011-06-24T01:44:54Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PaperBack Encrypted Paper Backup of your Wallet ==&lt;br /&gt;
&lt;br /&gt;
=== Basics ===&lt;br /&gt;
A program called [http://www.ollydbg.de/Paperbak/index.html PaperBack][http://jrwr.co.cc/bitcoin/paperback/ «2»] allows a user to encrypt and  print a paper copy of a file, to restore the file you scan or provide a image of the printed paper and it decodes the file&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;«It should be noted this guide is for Windows Only, A Linux based guide is coming soon»&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
=== How to use with your Wallet ===&lt;br /&gt;
#Download PaperBack from the location provided before&lt;br /&gt;
#Open PaperBack&lt;br /&gt;
#Open Options and select the options you wish to have (For more info, read the page provided above)&lt;br /&gt;
#Drag and drop the file (wallet.dat) into the window for printing&lt;br /&gt;
##File -&amp;gt; Save to bitmap, It will ask you what file to encode, and then where to save the bitmap&lt;br /&gt;
&lt;br /&gt;
=== Restoring your Wallet ===&lt;br /&gt;
#Scan or provide the bitmap of the backup&lt;br /&gt;
#Wait for processing&lt;br /&gt;
#Save wallet.dat&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
Here is the first Image: [http://imgur.com/8b7nz Encoded Image]&amp;lt;br /&amp;gt;&lt;br /&gt;
Its a empty wallet.dat with Encryption on (AES-256), standard options past that&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is the damaged copy, Opened in GIMP saved as a JPEG at 4% Compression, then converted back into a Bitmap: [http://imgur.com/8b7nz Damaged Re-Encoded Image]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
ECC had to correct 56bytes of bad data.. once decoded the md5 hashes where the same!&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is a screenshot asking for the password (The password is &amp;quot;bitcoin&amp;quot;)&lt;br /&gt;
[http://imgur.com/OEj6G Screen Shot]&lt;br /&gt;
&lt;br /&gt;
Guide By: [[User:Jrwr|Jrwr]] 01:44, 24 June 2011 (GMT)&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11455</id>
		<title>WalletPaperbackup</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11455"/>
		<updated>2011-06-24T01:29:44Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PaperBack Encrypted Paper Backup of your Wallet ==&lt;br /&gt;
&lt;br /&gt;
=== Basics ===&lt;br /&gt;
A program called [http://www.ollydbg.de/Paperbak/index.html PaperBack][http://jrwr.co.cc/bitcoin/paperback/ «2»] allows a user to encrypt and  print a paper copy of a file, to restore the file you scan or provide a image of the printed paper and it decodes the file&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;«It should be noted this guide is for Windows Only, A Linux based guide is coming soon»&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
=== How to use with your Wallet ===&lt;br /&gt;
#Download PaperBack from the location provided before&lt;br /&gt;
#Open PaperBack&lt;br /&gt;
#Open Options and select the options you wish to have (For more info, read the page provided above)&lt;br /&gt;
#Drag and drop the file (wallet.dat) into the window for printing&lt;br /&gt;
#:File -&amp;gt; Save to bitmap, It will ask you what file to encode, and then where to save the bitmap&lt;br /&gt;
&lt;br /&gt;
=== Restoring your Wallet ===&lt;br /&gt;
#Scan or provide the bitmap of the backup&lt;br /&gt;
#Wait for processing&lt;br /&gt;
#Save wallet.dat&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
Here is the first Image: [http://imgur.com/8b7nz Encoded Image]&amp;lt;br /&amp;gt;&lt;br /&gt;
Its a empty wallet.dat with Encryption on (AES-256), standard options past that&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is the damaged copy, Opened in GIMP saved as a JPEG at 4% Compression, then converted back into a Bitmap: [http://imgur.com/8b7nz Damaged Re-Encoded Image]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
ECC had to correct 56bytes of bad data.. once decoded the md5 hashes where the same!&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is a screenshot asking for the password (The password is &amp;quot;bitcoin&amp;quot;)&lt;br /&gt;
[http://imgur.com/OEj6G Screen Shot]&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11452</id>
		<title>WalletPaperbackup</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11452"/>
		<updated>2011-06-24T01:23:41Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: /* How to use with you Wallet */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PaperBack Encrypted Paper Backup of your Wallet ==&lt;br /&gt;
&lt;br /&gt;
=== Basics ===&lt;br /&gt;
A program called [http://www.ollydbg.de/Paperbak/index.html PaperBack][http://jrwr.co.cc/bitcoin/paperback/ «2»] allows a user to encrypt and  print a paper copy of a file, to restore the file you scan or provide a image of the printed paper and it decodes the file&lt;br /&gt;
&lt;br /&gt;
=== How to use with you Wallet ===&lt;br /&gt;
«It should be noted this guide is for Windows Only, A Linux based guide is coming soon»&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
#Download PaperBack from the location provided before&lt;br /&gt;
#Open PaperBack&lt;br /&gt;
#Open Options and select the options you wish to have (For more info, read the page provided above)&lt;br /&gt;
#Drag and drop the file (wallet.dat) into the window for printing&lt;br /&gt;
#:File -&amp;gt; Save to bitmap, It will ask you what file to encode, and then where to save the bitmap&lt;br /&gt;
&lt;br /&gt;
=== Restoring your Wallet ===&lt;br /&gt;
#Scan or provide the bitmap of the backup&lt;br /&gt;
#Wait for processing&lt;br /&gt;
#Save wallet.dat&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
Here is the first Image: [http://imgur.com/8b7nz Encoded Image]&amp;lt;br /&amp;gt;&lt;br /&gt;
Its a empty wallet.dat with Encryption on (AES-256), standard options past that&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is the damaged copy, Opened in GIMP saved as a JPEG at 4% Compression, then converted back into a Bitmap: [http://imgur.com/8b7nz Damaged Re-Encoded Image]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
ECC had to correct 56bytes of bad data.. once decoded the md5 hashes where the same!&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is a screenshot asking for the password (The password is &amp;quot;bitcoin&amp;quot;)&lt;br /&gt;
[http://imgur.com/OEj6G Screen Shot]&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11449</id>
		<title>WalletPaperbackup</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11449"/>
		<updated>2011-06-24T01:22:23Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PaperBack Encrypted Paper Backup of your Wallet ==&lt;br /&gt;
&lt;br /&gt;
=== Basics ===&lt;br /&gt;
A program called [http://www.ollydbg.de/Paperbak/index.html PaperBack][http://jrwr.co.cc/bitcoin/paperback/ «2»] allows a user to encrypt and  print a paper copy of a file, to restore the file you scan or provide a image of the printed paper and it decodes the file&lt;br /&gt;
&lt;br /&gt;
=== How to use with you Wallet ===&lt;br /&gt;
# Download PaperBack from the location provided before&lt;br /&gt;
#Open PaperBack&lt;br /&gt;
#Open Options and select the options you wish to have (For more info, read the page provided above)&lt;br /&gt;
#Drag and drop the file (wallet.dat) into the window for printing&lt;br /&gt;
#:File -&amp;gt; Save to bitmap, It will ask you what file to encode, and then where to save the bitmap&lt;br /&gt;
&lt;br /&gt;
=== Restoring your Wallet ===&lt;br /&gt;
#Scan or provide the bitmap of the backup&lt;br /&gt;
#Wait for processing&lt;br /&gt;
#Save wallet.dat&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
Here is the first Image: [http://imgur.com/8b7nz Encoded Image]&amp;lt;br /&amp;gt;&lt;br /&gt;
Its a empty wallet.dat with Encryption on (AES-256), standard options past that&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is the damaged copy, Opened in GIMP saved as a JPEG at 4% Compression, then converted back into a Bitmap: [http://imgur.com/8b7nz Damaged Re-Encoded Image]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
ECC had to correct 56bytes of bad data.. once decoded the md5 hashes where the same!&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is a screenshot asking for the password (The password is &amp;quot;bitcoin&amp;quot;)&lt;br /&gt;
[http://imgur.com/OEj6G Screen Shot]&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11448</id>
		<title>WalletPaperbackup</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11448"/>
		<updated>2011-06-24T01:21:22Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PaperBack Encrypted Paper Backup of your Wallet ==&lt;br /&gt;
&lt;br /&gt;
=== Basics ===&lt;br /&gt;
A program called [http://www.ollydbg.de/Paperbak/index.html PaperBack][http://jrwr.co.cc/bitcoin/paperback/ [2]] allows a user to encrypt and  print a paper copy of a file, to restore the file you scan or provide a image of the printed paper and it decodes the file&lt;br /&gt;
&lt;br /&gt;
=== How to use with you Wallet ===&lt;br /&gt;
# Download PaperBack from the location provided before&lt;br /&gt;
#Open PaperBack&lt;br /&gt;
#Open Options and select the options you wish to have (For more info, read the page provided above)&lt;br /&gt;
#Drag and drop the file (wallet.dat) into the window for printing&lt;br /&gt;
#:File -&amp;gt; Save to bitmap, It will ask you what file to encode, and then where to save the bitmap&lt;br /&gt;
&lt;br /&gt;
=== Restoring your Wallet ===&lt;br /&gt;
#Scan or provide the bitmap of the backup&lt;br /&gt;
#Wait for processing&lt;br /&gt;
#Save wallet.dat&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
Here is the first Image: [http://imgur.com/8b7nz Encoded Image]&amp;lt;br /&amp;gt;&lt;br /&gt;
Its a empty wallet.dat with Encryption on (AES-256), standard options past that&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is the damaged copy, Opened in GIMP saved as a JPEG at 4% Compression, then converted back into a Bitmap: [http://imgur.com/8b7nz Damaged Re-Encoded Image]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
ECC had to correct 56bytes of bad data.. once decoded the md5 hashes where the same!&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is a screenshot asking for the password (The password is &amp;quot;bitcoin&amp;quot;)&lt;br /&gt;
[http://imgur.com/OEj6G Screen Shot]&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11446</id>
		<title>WalletPaperbackup</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=WalletPaperbackup&amp;diff=11446"/>
		<updated>2011-06-24T00:55:26Z</updated>

		<summary type="html">&lt;p&gt;Jrwr: Created page with &amp;quot;== PaperBack Encrypted Paper Backup of your Wallet ==  === Basics === A program called [http://www.ollydbg.de/Paperbak/index.html PaperBack] allows a user to encrypt and  print a...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PaperBack Encrypted Paper Backup of your Wallet ==&lt;br /&gt;
&lt;br /&gt;
=== Basics ===&lt;br /&gt;
A program called [http://www.ollydbg.de/Paperbak/index.html PaperBack] allows a user to encrypt and  print a paper copy of a file, to restore the file you scan or provide a image of the printed paper and it decodes the file&lt;br /&gt;
&lt;br /&gt;
=== How to use with you Wallet ===&lt;br /&gt;
# Download PaperBack from the location provided before&lt;br /&gt;
#Open PaperBack&lt;br /&gt;
#Open Options and select the options you wish to have (For more info, read the page provided above)&lt;br /&gt;
#Drag and drop the file (wallet.dat) into the window for printing&lt;br /&gt;
#:File -&amp;gt; Save to bitmap, It will ask you what file to encode, and then where to save the bitmap&lt;br /&gt;
&lt;br /&gt;
=== Restoring your Wallet ===&lt;br /&gt;
#Scan or provide the bitmap of the backup&lt;br /&gt;
#Wait for processing&lt;br /&gt;
#Save wallet.dat&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
Here is the first Image: [http://imgur.com/8b7nz Encoded Image]&amp;lt;br /&amp;gt;&lt;br /&gt;
Its a empty wallet.dat with Encryption on (AES-256), standard options past that&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is the damaged copy, Opened in GIMP saved as a JPEG at 4% Compression, then converted back into a Bitmap: [http://imgur.com/8b7nz Damaged Re-Encoded Image]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
ECC had to correct 56bytes of bad data.. once decoded the md5 hashes where the same!&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is a screenshot asking for the password (The password is &amp;quot;bitcoin&amp;quot;)&lt;br /&gt;
[http://imgur.com/OEj6G Screen Shot]&lt;/div&gt;</summary>
		<author><name>Jrwr</name></author>
	</entry>
</feed>