diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-08-24 08:35:42 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-08-24 08:53:50 +0200 |
commit | affe9271aa4953ddbceb1bfe4e60838570272c56 (patch) | |
tree | bdd905bd0011143fdf161bd90eff36c4cbdf7770 /src/pow.h | |
parent | 00ada17230f7a76aba16bb60268f82f25dafcf3c (diff) | |
parent | 79191f51b50314920b387f5f7322427d14cbab19 (diff) |
Merge #10997: RPC: Add option -stdinrpcpass to bitcoin-cli to allow RPC password to be read from standard input
79191f5 Add option -stdinrpcpass to allow RPC password to be read from standard input (Joe Harvell)
Pull request description:
Add a new command-line option to bitcoin-cli that allows the RPC password to be read from standard intput. The purpose of this option is to allow secure RPC password input to bitcoin-cli through an external program that is capable of disabling terminal echo.
This option works similarly to the existing -stdin option, and also works when combined with that option.
I have also written a simple ncurses based program that disables echo, gets input from the terminal and writes to standard output. I couldn't find an existing askpass program that doesn't require graphics libraries, since they are primarily used for getting passwords in a graphics environment. Unless someone can point out a suitable existing askpass program, I plan to submit my ncurses program to the contrib directory separately from this pull request.
Tree-SHA512: 6d426d757de325d928fab42ea8e423273a7dea9f838acb745ccf9f9daa2b47e23044ec1c019cda1a081253f5145fc10f79ae82dfe7f8e952e1f271ec56018e14
Diffstat (limited to 'src/pow.h')
0 files changed, 0 insertions, 0 deletions