Pieter Wuille
e4e17907b6
Modernize rpcauth.py and its tests
2023-02-13 17:11:15 -05:00
Hennadii Stepanov
f47dda2c58
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
Commits of previous years:
* 2020: fa0074e2d8
* 2019: aaaaad6ac9
2021-12-30 19:36:57 +02:00
Zero-1729
021daedfa1
refactor: replace remaining binascii method calls
2021-08-16 19:30:56 +01:00
João Barbosa
d6cde007db
rpcauth: Improve by using argparse and getpass modules
2018-11-21 22:30:07 +00:00
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
DrahtBot
eb7daf4d60
Update copyright headers to 2018
2018-07-27 07:15:02 -04:00
Wladimir J. van der Laan
2a89b0c812
rpcauth: Make it possible to provide a custom password
...
This adds the functionality to specify a custom password to
`rpcauth.py`, as well as makes the code (IMO) easier to understand.
2018-05-02 05:29:22 +02:00
Qasim Javed
6674a75bfb
[tests] Make rpcauth.py testable and add unit tests
...
refs #12995
2018-04-24 11:41:20 -07:00
practicalswift
f020aca297
Minor Python cleanups to make flake8 pass with the new rules enabled
2018-04-16 17:25:11 +02:00
practicalswift
b95f9a61e0
tests: Remove compatibility code not needed now when we're on Python 3
2018-04-16 09:54:27 +02:00
John Newbery
bc6fdf2d15
Change all python files to use Python3
2018-03-26 16:49:33 -04:00
Akira Takizawa
595a7bab23
Increment MIT Licence copyright header year on files modified in 2017
2018-01-03 02:26:56 +09:00
Henrik Jonsson
3fdb29778a
Rename rpcuser.py to rpcauth.py
...
This script creates `rpcauth` entries for bitcoin.conf,
not the deprecated `rpcuser` entry, so this changes the name
of the script to match.
2017-12-06 13:11:02 +00:00