dogecoin/share/rpcauth
Carl Dong 6be7d14d24 Properly generate salt in rpcauth.py, update tests
Previously, when iterating over bytes of the generated salt to construct
a hex string, only one character would be outputted when the byte is
less than 0x10. Meaning that for a 16 byte salt, the hex string might be
less than 32 characters and collisions would occur.
2018-11-17 01:26:49 -08:00
..
README.md rpcauth: Make it possible to provide a custom password 2018-05-02 05:29:22 +02:00
rpcauth.py Properly generate salt in rpcauth.py, update tests 2018-11-17 01:26:49 -08: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>