File tree 2 files changed +10
-0
lines changed 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1
1
Changes
2
2
=======
3
3
4
+ UNRELEASED
5
+ * Skip TestJoseCompatibility, because latchset/jose recently decided to set `p2c` to
6
+ 32768, but we do not have the ability to set this number in v1
7
+
4
8
v1.2.30 28 Jul 2024
5
9
* Update minimum required go version to 1.20
6
10
* Update tests so that they work on 32-bit systems
Original file line number Diff line number Diff line change 5
5
"crypto/ecdsa"
6
6
"crypto/rsa"
7
7
"fmt"
8
+ "os"
8
9
"strings"
9
10
"testing"
10
11
@@ -90,6 +91,11 @@ func TestDecoderSetting(t *testing.T) {
90
91
func TestJoseCompatibility (t * testing.T ) {
91
92
t .Parallel ()
92
93
94
+ if os .Getenv (`JWX_ENABLE_JOSE_COMPATIBILITY_TESTS` ) == "" {
95
+ t .Logf ("This test is skipped for v1 -- v1 does not have the ability to allow higher number of 'p2c', but new latchset/jose sets it to 32768" )
96
+ return
97
+ }
98
+
93
99
if testing .Short () {
94
100
t .Logf ("Skipped during short tests" )
95
101
return
You can’t perform that action at this time.
0 commit comments