Author

Topic: Bitcoin encrypted/multi wallet bash script (Read 996 times)

sr. member
Activity: 322
Merit: 251
FirstBits: 168Bc
September 19, 2011, 06:50:11 PM
#5
Wow. That's a whole lot of bash scripting. I'd never heard of srm and shred. I've been using ascii symmetric encryption, but am considering public keys with a smart card. I've replicated my encrypted wallets in git, which I highly recommend. Gpg and git help me sleep soundly at night.

gpg  -o wallet.dat wallets/mywallet1.asc
gpg -ca wallet.dat wallets/mywallet2.asc; rm wallet.dat
sr. member
Activity: 294
Merit: 252
September 19, 2011, 04:17:54 PM
#4
I modified the script so that you are prompted to 1) encrypt and save, 2) rename, or 3) delete an already existing wallet.dat
sr. member
Activity: 294
Merit: 252
September 19, 2011, 02:18:23 PM
#3
For some reason it's not running on my system but I noticed on line 128 you prompt for a name for the wallet and pressing enter leads to it being deleted. Seems easy to screw up by mistyping enter.

Yeah, I wasn't happy with that either, but didn't feel like displaying another menu. I'll see if I can fix that.
hero member
Activity: 2086
Merit: 501
★Bitvest.io★ Play Plinko or Invest!
September 19, 2011, 11:25:10 AM
#2
For some reason it's not running on my system but I noticed on line 128 you prompt for a name for the wallet and pressing enter leads to it being deleted. Seems easy to screw up by mistyping enter.
sr. member
Activity: 294
Merit: 252
September 19, 2011, 08:34:35 AM
#1
I couldn't determine the best place to put this, so Discussion seemed like a good place.

I've created a bash script that will allow you to easily manage multiple wallets, which when not used are encrypted using GnuPG. All you need is to have Bitcoin and GnuPG installed and accessible through your path.

http://pastebin.com/W8vi6i7B

Questions, comments, concerns?
Jump to: