Bitcoin Forum
January 24, 2018, 11:51:36 AM *
News: Electrum users must upgrade to 3.0.5 if they haven't already. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: bitcoind Password Prompt (ala SSH, mySQL, etc.)?  (Read 508 times)
Envrin
Sr. Member
****
Offline Offline

Activity: 327



View Profile
May 21, 2014, 05:30:49 PM
 #1


Is there any reason bitcoind doesn't have this?  Right now, when you unlock the wallet with 'walletpassphrase' command, you have to enter the password on the same line in plain text.  If bash history is enabled on the server (which is default on all servers), the wallet password then ends up in a plain text file for all to see.

Are there any plans to implement the same type of password input as standard SSH, mySQL, etc.?  So you could type "walletpassphrase 30" for example instead, and next line prompts for password without any keyboard input being shown in the terminal screen.  Is that on the horizon at all?

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

Posts: 1516794696

View Profile Personal Message (Offline)

Ignore
1516794696
Reply with quote  #2

1516794696
Report to moderator
1516794696
Hero Member
*
Offline Offline

Posts: 1516794696

View Profile Personal Message (Offline)

Ignore
1516794696
Reply with quote  #2

1516794696
Report to moderator
cozz
Member
**
Offline Offline

Activity: 61


View Profile
May 21, 2014, 06:10:45 PM
 #2

See https://github.com/bitcoin/bitcoin/pull/4144

The pull request has been closed. So it will not be implemented in bitcoind.
Apparently you should use "contrib/bitrpc/bitrpc.py walletpassphrase" instead.

1cozzwyCJvDiyBA8zXGJ1qxtrd5b4i1nB
fbueller
Sr. Member
****
Offline Offline

Activity: 412


View Profile
May 21, 2014, 06:53:00 PM
 #3

Write a bash script to prompt you to type in the password. Won't be saved to bash_history then. You could also store the timeout as an environment variable so your wrapper script knows to prompt again.

Bitwasp Developer.
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!