Browse Source

Merge #8441: doc: Rewrite shell example to not leave secrets in the history file

719208c Rewrite shell example to not leave secrets in the history file (paveljanik)
0.13
Wladimir J. van der Laan 8 years ago
parent
commit
6c083ac95c
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 6
      doc/release-notes.md

6
doc/release-notes.md

@ -61,7 +61,11 @@ The RPC command line client gained a new argument, `-stdin` @@ -61,7 +61,11 @@ The RPC command line client gained a new argument, `-stdin`
to read extra arguments from standard input, one per line until EOF/Ctrl-D.
For example:
$ echo -e "mysecretcode\n120" | src/bitcoin-cli -stdin walletpassphrase
$ src/bitcoin-cli -stdin walletpassphrase
mysecretcode
120
..... press Ctrl-D here to end input
$
It is recommended to use this for sensitive information such as wallet
passphrases, as command-line arguments can usually be read from the process

Loading…
Cancel
Save