File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ func init() {
3737 // Register Ed448 as valid algorithm for OKP key type
3838 jws .RegisterAlgorithmForKeyType (jwa .OKP (), jwa .EdDSAEd448 ())
3939
40+ // Register Ed448 algorithm for Ed448 curve (enables curve-specific algorithm filtering)
41+ jws .RegisterAlgorithmForCurve (jwa .Ed448 (), jwa .EdDSAEd448 ())
42+
4043 // Register signer/verifier that handle JWK key unwrapping.
4144 // The dsig-circl-ed448 signer only accepts raw ed448 keys,
4245 // so we need this layer to convert JWK keys before dispatch.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ go 1.25.0
55require (
66 github.com/cloudflare/circl v1.6.3
77 github.com/lestrrat-go/dsig-circl-ed448 v0.0.0-20260402082439-9eb97b3a7f2e
8- github.com/lestrrat-go/jwx/v3 v3.0.14-0.20260402234301-4ae43ddee427
8+ github.com/lestrrat-go/jwx/v3 v3.0.14-0.20260403051613-136a2d956850
99)
1010
1111require (
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ github.com/lestrrat-go/httpcc v1.0.1 h1:ydWCStUeJLkpYyjLDHihupbn2tYmZ7m22BGkcvZZ
1919github.com/lestrrat-go/httpcc v1.0.1 /go.mod h1:qiltp3Mt56+55GPVCbTdM9MlqhvzyuL6W/NMDA8vA5E =
2020github.com/lestrrat-go/httprc/v3 v3.0.5 h1:S+Mb4L2I+bM6JGTibLmxExhyTOqnXjqx+zi9MoXw/TM =
2121github.com/lestrrat-go/httprc/v3 v3.0.5 /go.mod h1:mSMtkZW92Z98M5YoNNztbRGxbXHql7tSitCvaxvo9l0 =
22- github.com/lestrrat-go/jwx/v3 v3.0.14-0.20260402234301-4ae43ddee427 h1:xEyNWus/E7KGMK5EiWv0Z9un8LxHyCgyma9FfL+8ePU =
23- github.com/lestrrat-go/jwx/v3 v3.0.14-0.20260402234301-4ae43ddee427 /go.mod h1:LaVeWOQEoDvlcJUSN0F2xrJDm6++CvncT3cw4w3hbDY =
22+ github.com/lestrrat-go/jwx/v3 v3.0.14-0.20260403051613-136a2d956850 h1:SXYbvHjZ7CEwIE6KlDO1ixazE1t/nB1hNOC8Wjhp9Kg =
23+ github.com/lestrrat-go/jwx/v3 v3.0.14-0.20260403051613-136a2d956850 /go.mod h1:LaVeWOQEoDvlcJUSN0F2xrJDm6++CvncT3cw4w3hbDY =
2424github.com/lestrrat-go/option/v2 v2.0.0 h1:XxrcaJESE1fokHy3FpaQ/cXW8ZsIdWcdFzzLOcID3Ss =
2525github.com/lestrrat-go/option/v2 v2.0.0 /go.mod h1:oSySsmzMoR0iRzCDCaUfsCzxQHUEuhOViQObyy7S6Vg =
2626github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
You can’t perform that action at this time.
0 commit comments