diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-11-22 12:37:34 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-11-22 12:38:03 +0100 |
commit | 708cbb172dbf61dbb14671ffd98be3782cd7cd42 (patch) | |
tree | be5230e58326f4547e13faf0022fa54c798fa1d5 /contrib/devtools | |
parent | e77a2258e4daff20202178bba6b9fb8c757823de (diff) | |
parent | d6cde007db9d3e6ee93bd98a9bbfdce9bfa9b15b (diff) | |
download | bitcoin-708cbb172dbf61dbb14671ffd98be3782cd7cd42.tar.xz |
Merge #14756: Improve rpcauth.py by using argparse and getpass modules
d6cde007db9d3e6ee93bd98a9bbfdce9bfa9b15b rpcauth: Improve by using argparse and getpass modules (João Barbosa)
Pull request description:
This PR improves argument handling in `rpcauth.py` script by using `argparse` module. Specifying `-` as password makes it prompt securely with `getpass` module which prevents leaking passwords to bash history.
Tree-SHA512: 489d66c95f66b5618cb75fd8f07ea5647281226ab9e32b03051eb43f758b9334ac19b7c82c2ed4f8c7ffbb0bee949b3d389e1564ec7a6e372f2864233bc7cb88
Diffstat (limited to 'contrib/devtools')
0 files changed, 0 insertions, 0 deletions