IdentityPython / pyjwkest

Implementation of JWT, JWS, JWE and JWK
Apache License 2.0
92 stars 55 forks source link

Fixed so the tests work. #87

Closed rohe closed 5 years ago

rohe commented 5 years ago

There where checks added when initialising RSA and EC keys that didn't allow for initialising empty keys. This broke a lot of tests. I've removed those checks and instead added in some at usage that should provide the same protection. The difference being that you won't know up front but only when trying to use.