From 719208c66f2df124cdf542ae80c2f99563fa7851 Mon Sep 17 00:00:00 2001 From: paveljanik Date: Mon, 1 Aug 2016 10:28:44 +0200 Subject: [PATCH] Rewrite shell example to not leave secrets in the history file --- doc/release-notes.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/release-notes.md b/doc/release-notes.md index 78f29158d..aa9b48d72 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