aboutsummaryrefslogtreecommitdiff
path: root/test/util/rpcauth-test.py
AgeCommit message (Collapse)Author
2018-11-17Properly generate salt in rpcauth.py, update testsCarl Dong
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-06-12Explicitly specify encoding when opening text files in Python codepracticalswift
2018-05-02rpcauth: Make it possible to provide a custom passwordWladimir J. van der Laan
This adds the functionality to specify a custom password to `rpcauth.py`, as well as makes the code (IMO) easier to understand.
2018-04-24[tests] Make rpcauth.py testable and add unit testsQasim Javed
refs #12995