You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.
Repro
$ docker run -it python:3.12 bash
root@603470314b20:/# pip install josepy
Successfully installed cffi-1.17.0 cryptography-43.0.0 josepy-1.14.0 pycparser-2.22 pyopenssl-24.2.1
root@603470314b20:/# python -Xdev -c 'import josepy'
/usr/local/lib/python3.12/site-packages/josepy/util.py:26: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.
The text was updated successfully, but these errors were encountered:
OpenSSL.crypto.X509Req
is deprecated in pyOpenSSL 24.2+.Thus, when importing
josepy
with that version of PyOpenSSL, the linejosepy/src/josepy/util.py
Line 26 in 87d798e
raises a deprecation warning:
Repro
The text was updated successfully, but these errors were encountered: