File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
integration/testdata/crypto Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,9 @@ check_jwk rsa-2048-ps512.pub rsa-2048-ps512.priv RSA 2048 PS512
5353stderr 'flag ''--size'' requires at least 2048 unless ''--insecure'' flag is provided'
5454
5555
56- # RSA 1024, PS256 with insecure flag; skipped on Go < 1.24, because small keys were supported on those
57- [go1.24] ! exec step crypto jwk create --password-file password.txt --kty RSA --size 1024 --alg PS256 rsa-1024-ps256.pub rsa-1024-ps256.priv --insecure
58- [go1.24] stderr 'the size of the RSA key should be at least 2048 bits'
56+ # RSA 1024, PS256 with insecure flag
57+ ! exec step crypto jwk create --password-file password.txt --kty RSA --size 1024 --alg PS256 rsa-1024-ps256.pub rsa-1024-ps256.priv --insecure
58+ stderr 'the size of the RSA key should be at least 2048 bits'
5959
6060
6161# RSA 0, PS256
Original file line number Diff line number Diff line change @@ -67,9 +67,9 @@ stderr 'flag ''--size'' requires at least 2048 unless ''--insecure'' flag is pro
6767stderr 'flag ''--size'' must be greater than or equal to 0'
6868
6969
70- # RSA size 16 with insecure flag; skipped on Go < 1.24, because small keys were supported on those
71- [go1.24] ! exec step crypto keypair --password-file password.txt --kty RSA --size 16 --insecure rsa-error.pub rsa-error.priv
72- [go1.24] stderr 'error generating RSA key: crypto/rsa: 16-bit keys are insecure'
70+ # RSA size 16 with insecure flag
71+ ! exec step crypto keypair --password-file password.txt --kty RSA --size 16 --insecure rsa-error.pub rsa-error.priv
72+ stderr 'error generating RSA key: crypto/rsa: 16-bit keys are insecure'
7373
7474
7575# RSA size 1024 without insecure flag
You can’t perform that action at this time.
0 commit comments