Author

Topic: bitcoind Password Prompt (ala SSH, mySQL, etc.)? (Read 633 times)

sr. member
Activity: 412
Merit: 287
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.
member
Activity: 61
Merit: 15
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.
sr. member
Activity: 318
Merit: 251

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?

Jump to: