-
Notifications
You must be signed in to change notification settings - Fork 237
Closed
Description
When reviewing the corresponding change to ring, briansmith/ring#1944, I noticed that the implementation in getrandom for ESPIDF seems really questionable. The ESPIDF documentation is quite vague on what promises its PRNG is making, especially when the OS isn't fully configured. It also encourages people to use a userspace CSPRNG; it isn't clear if this suggestion is intended to just address performance or security or both.
In particular, should the ESPIDF random API considered more of an entropy source, but not a full CSPRNG?
In ring we've taken the approach, temporarily, of using getrandom on this OS only if the user opts in with a feature flag that draws attention to this concern.
Metadata
Metadata
Assignees
Labels
No labels