Issues with py39-openssl
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Sep 2023 07:32:08 UTC
Hi!
Equal parts question and solution.
I've encountered an issue with iocage being unable to do anything, only
throwing a list of Python execptions ending in
AttributeError: module 'lib' has no attribute
'OpenSSL_add_all_algorithms'
If you encounter this error with iocage, certbot, … the reason is that
py39-cryptography was updated, but the dependency py39-openssl wasn't.
[1]. The linked thread also contains a workaround.
For the question part: anyone got insight as to how this happened? AFAIK
the cryptography module should require an appropriate pyOpenSSL version
to be present when the package is built/installed.
Regards,
/peter
[1]
https://forums.freebsd.org/threads/certbot-error-module-lib-has-no-attribute-openssl_add_all_algorithms.90150/#post-620925