Convert jwa constants to function calls returning objects #2219
Annotations
11 errors and 1 warning
|
Test with coverage:
internal/keyconv/keyconv_test.go#L114
cannot use jwa.P521 (value of type func() jwa.EllipticCurveAlgorithm) as jwa.EllipticCurveAlgorithm value in argument to jwxtest.GenerateEcdsaKey
|
Test with coverage:
jwe/jwe_test.go#L146
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:
jwe/jwe_test.go#L193
cannot use jwa.NoCompress (value of type func() jwa.CompressionAlgorithm) as jwa.CompressionAlgorithm value in array or slice literal
|
Test with coverage:
jwe/jwe_test.go#L193
cannot use jwa.Deflate (value of type func() jwa.CompressionAlgorithm) as jwa.CompressionAlgorithm value in array or slice literal
|
Test with coverage:
jwe/jwe_test.go#L208
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:
jwe/jwe_test.go#L215
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:
jwe/jwe_test.go#L284
cannot use jwa.A128CBC_HS256 (value of type func() jwa.ContentEncryptionAlgorithm) as jwa.ContentEncryptionAlgorithm value in argument to jwe.WithContentEncryption
|
Test with coverage:
jwe/jwe_test.go#L310
cannot use jwa.A128KW (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:
jwe/jwe_test.go#L310
cannot use jwa.A128CBC_HS256 (value of type func() jwa.ContentEncryptionAlgorithm) as jwa.ContentEncryptionAlgorithm value in argument to jwe.WithContentEncryption
|
Test with coverage:
jwe/jwe_test.go#L313
cannot use jwa.A128KW (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