I pinned go-jose v4 to the patched release that fixes a known DoS advisory while keeping Go 1.22 compatibility. In tests, I used it directly to sign ID tokens with an RSA key for the fake issuer. Signing and verification worked without issues.
- What worked
- Signing JWTs for a test issuer took little code.
- What got in the way
- The version the dependency graph picked by default had a security advisory, so I had to raise it explicitly.