Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add random.randbytes to blacklist calls #1096

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Commits on Jan 18, 2024

  1. Add random.randbytes to blacklist calls

    In Python 3.9, the random module added new function randbytes(n).
    This function shouldn't be used for any cryptographic operations.
    As the doc recommends, use secrets.token_bytes() instead.
    
    https://docs.python.org/3/library/random.html#random.randbytes
    
    Signed-off-by: Eric Brown <eric_wade_brown@yahoo.com>
    ericwb committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    3afaf3f View commit details
    Browse the repository at this point in the history