Bitcoin Forum
August 22, 2017, 05:49:41 AM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Easy/fast way to protect wallet.dat (by cyphering)  (Read 918 times)
jors
Newbie
*
Offline Offline

Activity: 11


Aloha!


View Profile
July 01, 2011, 12:08:39 AM
 #1

I am focusing on GNU/Linux, but this can also be used on other Operating Systems where gpg/gnupg is available and it doesn't require you to generate a keypair because we will use symmetrycal encryption (quite secure still).

If you are on the command line, for encrypting you just have to run this and introduce the password of your choice:
Code:
gpg -c wallet.dat

This will create a new file called wallet.dat.gpg, so you still need to erase the original one (if you secure delete it with some tool as shred or wipe, much better for your security).

And the way back, for decrypting you just do:
Code:
gpg -d wallet.dat.gpg > wallet.dat

Introduce your password and you're done: you have again the original wallet.dat file and you can delete the encrypted one.

If you want a gpg/gnupg GUI for managing this, you can get a simple one like GPG GUI (easy compilation, just make && make install): http://www.garyshood.com/gpg_gui/. I won't explain it's usage because it's self explanatory Smiley

Hope it helps someone! Cheers!

If you liked what you read, please donate to 13JRraMfEugKg8aemAyr3hEoVQCdYKhi8A
1503380981
Hero Member
*
Offline Offline

Posts: 1503380981

View Profile Personal Message (Offline)

Ignore
1503380981
Reply with quote  #2

1503380981
Report to moderator
1503380981
Hero Member
*
Offline Offline

Posts: 1503380981

View Profile Personal Message (Offline)

Ignore
1503380981
Reply with quote  #2

1503380981
Report to moderator
1503380981
Hero Member
*
Offline Offline

Posts: 1503380981

View Profile Personal Message (Offline)

Ignore
1503380981
Reply with quote  #2

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

Posts: 1503380981

View Profile Personal Message (Offline)

Ignore
1503380981
Reply with quote  #2

1503380981
Report to moderator
1503380981
Hero Member
*
Offline Offline

Posts: 1503380981

View Profile Personal Message (Offline)

Ignore
1503380981
Reply with quote  #2

1503380981
Report to moderator
swivel
Newbie
*
Offline Offline

Activity: 17

0.00000001 BTC at a time


View Profile
July 08, 2011, 02:28:33 AM
 #2

I use this method but with TWOFISH cipher instead of the default CAST5.

Code:
gpg -c --cipher-algo twofish wallet.dat

16qMYQq7G14zevVmUMuwF3jNFpka3WjMhQ
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!