Giter Site home page Giter Site logo

PRNG unsafe against forking about openbsd HOT 3 CLOSED

libressl avatar libressl commented on July 16, 2024
PRNG unsafe against forking

from openbsd.

Comments (3)

4a6f656c avatar 4a6f656c commented on July 16, 2024

This was addressed over a year ago - did you read the full article, particularly the part under the heading "Update (2014-07-16 03:33 UTC): LibreSSL releases fix for fork issue"?

from openbsd.

busterb avatar busterb commented on July 16, 2024

We even integrated the test from this article into the portable build at the time this was raised. Simply configure with the --enable-extratests flag. It is disabled by default because running this one test can easily take longer than building and running the rest of the tests combined (due to it being a somewhat contrived scenario, fork speed, upper PID bounds, etc.). It is called 'pidwraptest'.

Operating systems can also improve and make solving this problem easier as well. Some have made progress in the year since we addressed this, others have not. I'm looking forward to unmasking some of the blacklisted OS arc4random implementations in the future.

from openbsd.

Berbe avatar Berbe commented on July 16, 2024

Thanks for your 'kind' words.
In this 'Update' section, have you also noticed the comments against that less-than-ideal solution of yours, that could be bypassed? The author noted your step wes going the right direction, but that is not enough for a library providing such critical mechanism that lie underneath the whole concept of encryption.

Apart from angry reactions stating I did not RTFM, I would prefer having read replies to that part.

from openbsd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.