Skip to content

Commit

Permalink
Rewrite shell example to not leave secrets in the history file
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljanik committed Aug 2, 2016
1 parent ced6c94 commit 719208c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 719208c

Please sign in to comment.