From the pyOpenSSL README:
Note: The Python Cryptographic Authority strongly suggests the use of pyca/cryptography where possible. If you are using pyOpenSSL for anything other than making a TLS connection you should move to cryptography and drop your pyOpenSSL dependency.
The only pyOpenSSL usage I see in centpkg is OpenSSL.crypto.load_certificate() and a few methods from the resulting OpenSSL.crypto.X509 object. The cryptography API is not identical, but at a quick glance it appears to have equivalent functions and methods. We should follow the upstream guidance and switch to cryptography.
OpenSSL.crypto.load_certificate()
OpenSSL.crypto.X509
This was suggested in my request to add pyOpenSSL to EPEL9. I opened that to accomplish my end goal of adding centpkg to EPEL9.
One additional note, our current usage of pyOpenSSL works across:
Since centpkg is provided in multiple EPEL and Fedora branches, we should ensure that any usage of cryptography works across the provided versions of that library. For posterity those versions are:
https://git.centos.org/centos/centpkg/pull-request/53
Metadata Update from @tdawson: - Issue tagged with: Feature Request
The pull request has been merged, but a new release hasn't been made. I'll close this when the release has been made and released.
This should be fixed in centpkg 0.6.8 which is currently in fedora and epel-testing.
centpkg 0.6.8, which fixes this issue is in stable.
Metadata Update from @tdawson: - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.