aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-08-03 11:01:12 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-08-03 11:01:20 +0200
commit6c083ac95c808c01328256dccc3d05352f747e12 (patch)
tree77af479b24dfda4a4284d0983c47453246c013d7
parentced6c940da35fcf33160d1c7f2f54a99dc7eedb1 (diff)
parent719208c66f2df124cdf542ae80c2f99563fa7851 (diff)
downloadbitcoin-6c083ac95c808c01328256dccc3d05352f747e12.tar.xz
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)
-rw-r--r--doc/release-notes.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/release-notes.md b/doc/release-notes.md
index 78f29158dc..aa9b48d72f 100644
--- a/doc/release-notes.md
+++ b/doc/release-notes.md
@@ -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