Bitcoin Forum
April 25, 2024, 01:48:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin encrypted/multi wallet bash script  (Read 971 times)
BitterTea (OP)
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile
September 19, 2011, 01:34:35 PM
Last edit: September 19, 2011, 01:47:55 PM by BitterTea
 #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?
1714052917
Hero Member
*
Offline Offline

Posts: 1714052917

View Profile Personal Message (Offline)

Ignore
1714052917
Reply with quote  #2

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

Posts: 1714052917

View Profile Personal Message (Offline)

Ignore
1714052917
Reply with quote  #2

1714052917
Report to moderator
GideonGono
Hero Member
*****
Offline Offline

Activity: 1988
Merit: 501


★Bitvest.io★ Play Plinko or Invest!


View Profile WWW
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.



.
.BIG WINNER!.
[15.00000000 BTC]


▄████████████████████▄
██████████████████████
██████████▀▀██████████
█████████░░░░█████████
██████████▄▄██████████
███████▀▀████▀▀███████
██████░░░░██░░░░██████
███████▄▄████▄▄███████
████▀▀████▀▀████▀▀████
███░░░░██░░░░██░░░░███
████▄▄████▄▄████▄▄████
██████████████████████

▀████████████████████▀
▄████████████████████▄
██████████████████████
█████▀▀█▀▀▀▀▀▀██▀▀████
█████░░░░░░░░░░░░░████
█████░░░░░░░░░░░░▄████
█████░░▄███▄░░░░██████
█████▄▄███▀░░░░▄██████
█████████░░░░░░███████
████████░░░░░░░███████
███████░░░░░░░░███████
███████▄▄▄▄▄▄▄▄███████

██████████████████████
▀████████████████████▀
▄████████████████████▄
███████████████▀▀▀▀▀▀▀
███████████▀▀▄▄█░░░░░█
█████████▀░░█████░░░░█
███████▀░░░░░████▀░░░▀
██████░░░░░░░░▀▄▄█████
█████░▄░░░░░▄██████▀▀█
████░████▄░███████░░░░
███░█████░█████████░░█
███░░░▀█░██████████░░█
███░░░░░░████▀▀██▀░░░░
███░░░░░░███░░░░░░░░░░

██░▄▄▄▄░████▄▄██▄░░░░
████████████▀▀▀▀▀▀▀██
█████████████░█▀▀▀█░███
██████████▀▀░█▀░░░▀█░▀▀
███████▀░▄▄█░█░░░░░█░█▄
████▀░▄▄████░▀█░░░█▀░██
███░▄████▀▀░▄░▀█░█▀░▄░▀
█▀░███▀▀▀░░███░▀█▀░███░
▀░███▀░░░░░████▄░▄████░
░███▀░░░░░░░█████████░░
░███░░░░░░░░░███████░░░
███▀░██░░░░░░▀░▄▄▄░▀░░░
███░██████▄▄░▄█████▄░▄▄

██░████████░███████░█
▄████████████████████▄
████████▀▀░░░▀▀███████
███▀▀░░░░░▄▄▄░░░░▀▀▀██
██░▀▀▄▄░░░▀▀▀░░░▄▄▀▀██
██░▄▄░░▀▀▄▄░▄▄▀▀░░░░██
██░▀▀░░░░░░█░░░░░██░██
██░░░▄▄░░░░█░██░░░░░██
██░░░▀▀░░░░█░░░░░░░░██
██░░░░░▄▄░░█░░░░░██░██
██▄░░░░▀▀░░█░██░░░░░██
█████▄▄░░░░█░░░░▄▄████
█████████▄▄█▄▄████████

▀████████████████████▀




Rainbot
Daily Quests
Faucet
BitterTea (OP)
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



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 (OP)
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



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
Merit: 251


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!