mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-19 03:20:37 +00:00
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)
This commit is contained in:
commit
6c083ac95c
@ -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.
|
to read extra arguments from standard input, one per line until EOF/Ctrl-D.
|
||||||
For example:
|
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
|
It is recommended to use this for sensitive information such as wallet
|
||||||
passphrases, as command-line arguments can usually be read from the process
|
passphrases, as command-line arguments can usually be read from the process
|
||||||
|
Loading…
x
Reference in New Issue
Block a user