Skip to content

Considerations about /dev/urandom in the documentation #1

@polettix

Description

@polettix

Hi! I stumbled upon article Myths about /dev/urandom and thought it might be interesting to review this module's documentation in its light - especially for what the classification of /dev/urandom as a Weak source is concerned, and its preference over /dev/random.

The updated man page of /dev/random seems to acknowledge this too:

The /dev/random interface is considered a legacy interface, and
/dev/urandom is preferred and sufficient in all use cases, with
the exception of applications which require randomness during
early boot time; for these applications, getrandom(2) must be
used instead, because it will block until the entropy pool is
initialized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions