Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parsing of priv keys via pub key APIs to error properly in ossl3 #7135

Merged
merged 1 commit into from Apr 27, 2022

Commits on Apr 27, 2022

  1. Fix parsing of priv keys via pub key APIs to error properly in ossl3

    In OpenSSL 3.0.x the PEM_read_bio_PUBKEY function will invoke
    the default password callback if you pass an encrypted private
    key. This is very, very, very bad as the default callback can
    trigger an interactive console prompt, which will hang the
    Python process. We therefore provide our own callback to
    catch this and error out properly.
    reaperhulk committed Apr 27, 2022
    Copy the full SHA
    d8247aa View commit details
    Browse the repository at this point in the history