Skip to content

Claim that OsRng "does not block" is misleading. #132

@frewsxcv

Description

@frewsxcv

"This does not block."
-- https://doc.rust-lang.org/rand/rand/os/struct.OsRng.html

getrandom is used if it's available. getrandom can block during early boot.

Relevant Python PEP https://www.python.org/dev/peps/pep-0524/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions