dash/share/rpcauth
Wladimir J. van der Laan 4f699bff93
Merge #13146: rpcauth: Make it possible to provide a custom password
2a89b0c rpcauth: Make it possible to provide a custom password (Wladimir J. van der Laan)

Pull request description:

  This adds the functionality to specify a custom password to `rpcauth.py`, as well as makes the code (IMO) easier to understand.

Tree-SHA512: 458d54cc258e16917c0f0ce5ae1c3d6c0c03b5ab931011bf3feb09a3474f1511c38ec45822a4af2aadeaca522a002ba04a564849dd3f42fa6f36dd21b0cba093
2020-07-22 12:12:46 -05:00
..
README.md Merge #13146: rpcauth: Make it possible to provide a custom password 2020-07-22 12:12:46 -05:00
rpcauth.py Merge #13146: rpcauth: Make it possible to provide a custom password 2020-07-22 12:12:46 -05:00

RPC Tools

RPCAuth

Create login credentials for a JSON-RPC user.

Usage:

./rpcauth.py <username>

in which case the script will generate a password. To specify a custom password do:

./rpcauth.py <username> <password>