latchset / jwcrypto

Implements JWK,JWS,JWE specifications using python-cryptography
GNU Lesser General Public License v3.0
439 stars 118 forks source link

Allow to pass through pem loading unsafe option #354

Closed simo5 closed 6 months ago

simo5 commented 7 months ago

This has some significant performance impact and is ok to use with trusted keys.

The way to use it is to create or import a JWK, and then set the object property named unsafe_skip_rsa_key_validation to True

Fixes #353