I'm having an issue using oscrypto version 1.3.0 (python 3.11.8) on a machine with OpenSSL 3.0.11 .
The root cause looks to be with oscrypto/_openssl/_libcrypto_ctypes.py and oscrypto/_openssl/_libcrypto_cffi.py while attempting to get the OpenSSL version.
For example with _libcrypto_ctypes.py, the regex for version 1.3.0 as installed from pypi won't be able to recognize the version in string "OpenSSL 3.0.11 19 Sep 2023" (code link). Looking at what's currently in master branch, the regex has been improved since (code link). But there's no release so I can't install it with pip in my automated build.
I do not want to downgrade my OpenSSL. I haven't tried upgrading OpenSSL but I suspect the same error will occur.
1. Ask
New release please
2. Issue
I'm having an issue using
oscrypto
version1.3.0
(python3.11.8
) on a machine with OpenSSL3.0.11
.The root cause looks to be with
oscrypto/_openssl/_libcrypto_ctypes.py
andoscrypto/_openssl/_libcrypto_cffi.py
while attempting to get the OpenSSL version.For example with
_libcrypto_ctypes.py
, the regex for version1.3.0
as installed from pypi won't be able to recognize the version in string"OpenSSL 3.0.11 19 Sep 2023"
(code link). Looking at what's currently inmaster
branch, the regex has been improved since (code link). But there's no release so I can't install it withpip
in my automated build.I do not want to downgrade my OpenSSL. I haven't tried upgrading OpenSSL but I suspect the same error will occur.
3. Acceptance Criteria
A new release on PyPi of oscrypto