Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2023 09:32:08 +0200
From:      Peter Ludikovsky <87f918bc367b9c42361ed314d25d7d77@ludikovsky.name>
To:        questions@freebsd.org
Subject:   Issues with py39-openssl
Message-ID:  <a0f48e2b-e784-beb5-40eb-d7d4c9547ada@ludikovsky.name>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a0f48e2b-e784-beb5-40eb-d7d4c9547ada>