Convert jwa constants to function calls returning objects #2227
Annotations
10 errors and 1 warning
Test with coverage:
jwk/es256k_test.go#L21
cannot use jwa.Secp256k1 (value of type func() jwa.EllipticCurveAlgorithm) as jwa.EllipticCurveAlgorithm value in argument to ourecdsa.IsCurveAvailable
|
Test with coverage:
jws/es256k_test.go#L23
cannot use jwa.Secp256k1 (value of type func() jwa.EllipticCurveAlgorithm) as jwa.EllipticCurveAlgorithm value in argument to jwxtest.GenerateEcdsaKey
|
Test with coverage:
jws/es256k_test.go#L31
cannot use jwa.ES256K (value of type func() jwa.SignatureAlgorithm) as jwa.SignatureAlgorithm value in argument to testRoundtrip
|
Test with coverage
cannot use jwa.HS256 (value of type func() jwa.SignatureAlgorithm) as jwa.KeyAlgorithm value in argument to jwt.WithKey: func() jwa.SignatureAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
|
Test with coverage
cannot use jwa.HS256 (value of type func() jwa.SignatureAlgorithm) as jwa.KeyAlgorithm value in argument to jws.WithKey: func() jwa.SignatureAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
|
Test with coverage
invalid constant type jwa.EllipticCurveAlgorithm
|
Test with coverage
cannot use jwa.RSA_OAEP (value of type func() jwa.KeyEncryptionAlgorithm) as jwa.KeyAlgorithm value in argument to jwe.WithKey: func() jwa.KeyEncryptionAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
|
Test with coverage
cannot use jwa.RSA_OAEP (value of type func() jwa.KeyEncryptionAlgorithm) as jwa.KeyAlgorithm value in argument to jwe.WithKey: func() jwa.KeyEncryptionAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
|
Test with coverage
cannot use jwa.RSA_OAEP (value of type func() jwa.KeyEncryptionAlgorithm) as jwa.KeyAlgorithm value in argument to jwe.WithKey: func() jwa.KeyEncryptionAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
|
Test with coverage
cannot use jwa.RSA_OAEP (value of type func() jwa.KeyEncryptionAlgorithm) as jwa.KeyAlgorithm value in argument to jwe.WithKey: func() jwa.KeyEncryptionAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
|
Install Go stable version
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Loading