aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaveljanik <Pavel@Janik.cz>2016-08-01 10:28:44 +0200
committerPavel Janík <Pavel@Janik.cz>2016-08-02 09:08:37 +0200
commit719208c66f2df124cdf542ae80c2f99563fa7851 (patch)
tree77af479b24dfda4a4284d0983c47453246c013d7
parentced6c940da35fcf33160d1c7f2f54a99dc7eedb1 (diff)
downloadbitcoin-719208c66f2df124cdf542ae80c2f99563fa7851.tar.xz
Rewrite shell example to not leave secrets in the history file
-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