encryptwallet
to be entered from stdin, as discussed in #15318.
I know it can be done using the -stdin
 parameter from , but I think entering the password from stdin should become the default for encryptwallet
(as well as for walletpassphrase
) as it can be retrieved easily (grep encryptwallet ~/.bash_history
).