Skip to content

Use getentropy() libc function on Emscripten #275

Closed
@josephlr

Description

@josephlr

Release 2.0.5: 09/28/2020 of Emscripten introduced a getentropy() call that can be used instead of opening /dev/urandom. We should use this as the preferred (or sole) method to get random data, as it avoids needing to open a file and hold onto a file descriptor.

NOTE: this probably requires getting the emscipten CI working with a recent-ish version

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions