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
This change includes:
- go mod tidy
- go fmt
- update tests with new error messages
- code changes for "Change JWT accessors from returning T to returning (T, bool)"
- code changes for "Remove iterators from JWX" and as a result removing Token.PrivateClaims() method.
Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
expectedErr:=`failed to generate signature for signer #0 (alg=ES256): failed to sign payload: failed to retrieve ecdsa.PrivateKey out of *jwk.ecdsaPublicKey: failed to produce ecdsa.PrivateKey from *jwk.ecdsaPublicKey: argument to AssignIfCompatible() must be compatible with *ecdsa.PublicKey (was *ecdsa.PrivateKey)`
92
+
expectedErr:=`invalid key type *jwk.ecdsaPublicKey. ecdsa.PrivateKey is required: keyconv: failed to produce ecdsa.PrivateKey from *jwk.ecdsaPublicKey`
expectedErr:=`verifying signed EAR from ear.jwt: failed verifying JWT message: failed to parse jws: invalid byte sequence`
110
+
expectedErr:=`verifying signed EAR from ear.jwt: failed verifying JWT message: jwt.Parse: failed to parse token: jwt.verifyFast: failed to split compact: jwsbb: invalid number of segments`
expectedErr:=`verifying signed EAR from ear.jwt: failed verifying JWT message: WithKey() option must be specified using jwa.SignatureAlgorithm (got jwa.InvalidKeyAlgorithm)`
0 commit comments