jose 0.4.0.3 → 0.4.0.4
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- jose.cabal +1/−1
- src/Crypto/JOSE/JWA/JWK.hs +1/−1
jose.cabal view
@@ -1,5 +1,5 @@ name: jose-version: 0.4.0.3+version: 0.4.0.4 synopsis: Javascript Object Signing and Encryption and JSON Web Token library description:
src/Crypto/JOSE/JWA/JWK.hs view
@@ -377,7 +377,7 @@ (Types.Base64Integer e) (Just (RSAPrivateKeyParameters (Types.Base64Integer d) opt))) | isJust (opt >>= rsaOth) = Left OtherPrimesNotSupported- | size < 2048 `div` 8 = Left KeySizeTooSmall+ | n < 2 ^ (2040 :: Integer) = Left KeySizeTooSmall | otherwise = Right $ RSA.PrivateKey (RSA.PublicKey size n e) d (opt' rsaP) (opt' rsaQ) (opt' rsaDp) (opt' rsaDq) (opt' rsaQi)