-
Notifications
You must be signed in to change notification settings - Fork 420
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
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' #1114
Comments
Can you provide instructinos for reproducing this from a clean environment? I strongly suspect you are mixing incompatible versions of pyOpenSSL and cryptography and one/both of them should be upgraded. |
Doing |
You'll need to use a more recent pyopenssl version, or pin to an older cryptography version. |
Downgrading cryptography worked like a charm. Thank you very much @alex ! |
For those seeing this issue: You can upgrade |
We re-added some symbols in 37.0.1 to minimize breakage. We still encourage users to upgrade to the latest pyOpenSSL as these will be removed again in a future release. |
Importing the
crypto
module from OpenSSL throws an AttributeError. This is happening under version 20.0.1 of the library.The text was updated successfully, but these errors were encountered: