Skip to Content [alt-c]

Andrew Ayer

Sections

LibreSSL's PRNG is Unsafe on Linux [Update: LibreSSL fork fix]

Comment by Anonymous

Posted in reply to Comment by Anonymous.

This comment is owned by whoever posted it. I am not responsible for it in any way.

They haven't indicated that a lot of work is required to port LibreSSL to Linux. Most of the secure functions are actually pretty easy; they're entirely implemented in userspace and don't rely on any system specific or third party functionality. So it is a matter of bundling a copy of these functions with the portable distribution, and adding the appropriate checks in the configure system.

But you cannot get around the fact that Linux does not provide a reliable library-wrappable way to get entropy, except for the sysctl which is apparently deprecated. So they try do what they can. Is it good enough? Hard to say, but as it cannot really be worse than what OpenSSL did (if we for a moment ignore the bug with pid based fork checking).

| Posted on 2014-07-15 at 12:21:16 UTC by Anonymous | Parent | Reply to This

Post a Reply

Your comment will be public. If you would like to contact me privately, please email me. Please keep your comment on-topic, polite, and comprehensible. Use the "Preview" button to make sure your comment is properly formatted. Name and email address are optional. If you specify an email address it will be kept confidential.

Post Comment


(Optional; will be published)


(Optional; will not be published)


(Optional; will be published)


  • Blank lines separate paragraphs.
  • Lines starting with ">" are indented as block quotes.
  • Lines starting with two spaces are reproduced verbatim.
  • Text surrounded by *asterisks* is italicized.
  • Text surrounded by `back ticks` is monospaced.
  • URLs are turned into links.