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
AFAIK Cryptography < 3.1.0 and the underlying libraries/bindings were correcting this error but after version 3.1.0 the checks became stricter and the key is rejected:
'Invalid private key', [_OpenSSLErrorWithText(code=67764350, lib=4, func=160, reason=126, reason_text=b'error:040A007E:rsa routines:RSA_check_key_ex:iqmp not inv
erse of q')]
The text was updated successfully, but these errors were encountered:
There's a bug/typo in iqmp calculation. The parameters in the method below should be p, q instead of p, p:
JWTConnect-Python-CryptoJWT/src/cryptojwt/jwk/rsa.py
Line 175 in 0569939
(Also 2 lines below.)
AFAIK Cryptography < 3.1.0 and the underlying libraries/bindings were correcting this error but after version 3.1.0 the checks became stricter and the key is rejected:
The text was updated successfully, but these errors were encountered: