Skip to content

[feat] Backport/Import Bitcoin's share/rpcauth/rpcauth.pyย #3352

Closed
@chromatic

Description

Feature Request

Bitcoin has deprecated share/rpcuser/rpcuser.py in favor of share/rpcauth/rpcauth.py. In particular, the latter has an improved user experience and, more importantly, uses cryptographically secure random numbers for generating passwords. The existing rpcuser.py uses the insecure Python random module.

Describe Preferred Solution

We should at least borrow Bitcoin's code, even if we don't deprecate the existing utility in favor of the new filename and location.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions