Bitcoin Forum
August 22, 2017, 03:55:12 AM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin encrypted/multi wallet bash script  (Read 838 times)
BitterTea
Sr. Member
****
Offline Offline

Activity: 294



View Profile
September 19, 2011, 01:34:35 PM
 #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?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
GideonGono
Hero Member
*****
Offline Offline

Activity: 574



View Profile
September 19, 2011, 04:25:10 PM
 #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.

BitterTea
Sr. Member
****
Offline Offline

Activity: 294



View Profile
September 19, 2011, 07: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.
BitterTea
Sr. Member
****
Offline Offline

Activity: 294



View Profile
September 19, 2011, 09: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
netrin
Sr. Member
****
Offline Offline

Activity: 322


FirstBits: 168Bc


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

Greenlandic tupilak. Hand carved, traditional cursed bone figures. Sorry, polar bear, walrus and human remains not available for export.
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!