fix(deps): update module github.com/go-jose/go-jose/v4 to v4.1.9 #121

Merged
Sebi merged 1 commits from renovate/github.com-go-jose-go-jose-v4-4.x into main 2026-11-23 16:17:17 +00:00
Owner

This PR contains the following updates:

Package Change Age Confidence
github.com/go-jose/go-jose/v4 v4.1.4 → v4.1.9 age confidence

Release Notes

go-jose/go-jose (github.com/go-jose/go-jose/v4)

v4.1.9

Compare Source

Fixed

  • OpaqueSigner now supports unrecognized public key types again (#​325, fixes a regression in v4.1.5)
  • Parsing a JWK with an unsupported elliptic curve, or a too-big RSA modulus, now returns ErrUnsupportedKeyType (#​327)

Full Changelog: https://github.com/go-jose/go-jose/compare/v4.1.8...v4.1.9

v4.1.8

Compare Source

Added

v4.1.7

Compare Source

Fixed Security Issues

Fixed

  • jwk: fix bug in x5c parsing (#​311)
  • reject base64-encoded "null" in protected headers (#​309)

Deprecated

  • deprecate ParseEncrypted / ParseSigned (#​222)

v4.1.6

Compare Source

Fixed Security Issues

This release contains a fix for https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q

Breaking Changes

The fix for https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q involves capping the size of the RSA modulus of keys accepted by JWK parsing. This limit is 4096 bits. If you need this to be higher, set MaxRSAModulusBits before performing any JWK parsing.

Changed

Full Changelog: https://github.com/go-jose/go-jose/compare/v4.1.5...v4.1.6

v4.1.5

Compare Source

Fixed security issues

  • cipher/cbc_hmac: don't panic on empty ciphertext (#​292)
  • cipher/cbc_hmac: don't panic on invalid key (#​291)
  • json: limit stack depth (#​290)
  • jwt: reject out-of-range NumericDate values (#​278)
  • Check alg against pubkey curve during verify. (#​293)
  • Reject malformed Ed25519 JWKs (#​250)
  • jws: choose verification key per-signature (#​243)

Breaking Changes

In #​226, we un-exported jose.RandReader. This was used to be able to stub out the randomness function in tests, but is ignored as of Go 1.26 in some APIs, so no longer serves a useful function.

Changed

  • Verify OpaqueSigner's Public() return is public (#​260)
  • jws: skip signature on ErrJWKSKidNotFound (#​248)
  • Handle JWE JSON without protected header (#​240)
  • jws: don't strip internal whitespace before parsing JSON (#​239)
  • jws: fewer calls to OpaqueSigner.Public() (#​224)
  • Return a specific error when parsing empty string (#​216)
  • Reject typed nil at Verify time (#​285)

Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • "before 7am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) | `v4.1.4` → `v4.1.9` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-jose%2fgo-jose%2fv4/v4.1.9?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-jose%2fgo-jose%2fv4/v4.1.4/v4.1.9?slim=true) | --- ### Release Notes <details> <summary>go-jose/go-jose (github.com/go-jose/go-jose/v4)</summary> ### [`v4.1.9`](https://github.com/go-jose/go-jose/releases/tag/v4.1.9) [Compare Source](https://github.com/go-jose/go-jose/compare/v4.1.8...v4.1.9) #### Fixed - OpaqueSigner now supports unrecognized public key types again ([#&#8203;325](https://github.com/go-jose/go-jose/issues/325), fixes a regression in v4.1.5) - Parsing a JWK with an unsupported elliptic curve, or a too-big RSA modulus, now returns ErrUnsupportedKeyType ([#&#8203;327](https://github.com/go-jose/go-jose/pull/327)) **Full Changelog**: <https://github.com/go-jose/go-jose/compare/v4.1.8...v4.1.9> ### [`v4.1.8`](https://github.com/go-jose/go-jose/releases/tag/v4.1.8) [Compare Source](https://github.com/go-jose/go-jose/compare/v4.1.7...v4.1.8) #### Added - ML-DSA support by [@&#8203;james-d-elliott](https://github.com/james-d-elliott) in [#&#8203;282](https://github.com/go-jose/go-jose/pull/282) 🎉 ### [`v4.1.7`](https://github.com/go-jose/go-jose/releases/tag/v4.1.7) [Compare Source](https://github.com/go-jose/go-jose/compare/v4.1.6...v4.1.7) #### Fixed Security Issues - Thumbprint: reject invalid RSA key ([#&#8203;317](https://github.com/go-jose/go-jose/issues/317)) - [GHSA-r39w-98wm-9pp6](https://github.com/go-jose/go-jose/security/advisories/GHSA-r39w-98wm-9pp6) - json: backport stdlib fix for embedded unexported field ([#&#8203;318](https://github.com/go-jose/go-jose/issues/318)) - [GHSA-27pc-rm86-68pq](https://github.com/go-jose/go-jose/security/advisories/GHSA-27pc-rm86-68pq) - Detect if headers are set by presence in the map ([#&#8203;319](https://github.com/go-jose/go-jose/issues/319)) - [GHSA-p9j4-2j95-j4rv](https://github.com/go-jose/go-jose/security/advisories/GHSA-p9j4-2j95-j4rv) - limit RSA size in certificate verify ([#&#8203;315](https://github.com/go-jose/go-jose/issues/315)) - [GHSA-v6h2-qj3f-2h6v](https://github.com/go-jose/go-jose/security/advisories/GHSA-v6h2-qj3f-2h6v) - Limit recipients and signatures in JWE/JWS ([#&#8203;316](https://github.com/go-jose/go-jose/issues/316)) - [GHSA-c67m-wr4h-2ccg](https://github.com/go-jose/go-jose/security/advisories/GHSA-c67m-wr4h-2ccg) #### Fixed - jwk: fix bug in x5c parsing ([#&#8203;311](https://github.com/go-jose/go-jose/issues/311)) - reject base64-encoded "null" in protected headers ([#&#8203;309](https://github.com/go-jose/go-jose/issues/309)) #### Deprecated - deprecate ParseEncrypted / ParseSigned ([#&#8203;222](https://github.com/go-jose/go-jose/issues/222)) ### [`v4.1.6`](https://github.com/go-jose/go-jose/releases/tag/v4.1.6) [Compare Source](https://github.com/go-jose/go-jose/compare/v4.1.5...v4.1.6) #### Fixed Security Issues This release contains a fix for <https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q> #### Breaking Changes The fix for <https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q> involves capping the size of the RSA modulus of keys accepted by JWK parsing. This limit is 4096 bits. If you need this to be higher, set `MaxRSAModulusBits` before performing any JWK parsing. #### Changed - Reject mismatched JWE CEK lengths by [@&#8203;akshithg](https://github.com/akshithg) in [#&#8203;266](https://github.com/go-jose/go-jose/pull/266) - Add a tests containerfile and threat model by [@&#8203;mcpherrinm](https://github.com/mcpherrinm) in [#&#8203;300](https://github.com/go-jose/go-jose/pull/300) - Fix error message for future issued tokens by [@&#8203;inahga](https://github.com/inahga) in [#&#8203;303](https://github.com/go-jose/go-jose/pull/303) **Full Changelog**: <https://github.com/go-jose/go-jose/compare/v4.1.5...v4.1.6> ### [`v4.1.5`](https://github.com/go-jose/go-jose/releases/tag/v4.1.5) [Compare Source](https://github.com/go-jose/go-jose/compare/v4.1.4...v4.1.5) ### Fixed security issues - cipher/cbc_hmac: don't panic on empty ciphertext ([#&#8203;292](https://github.com/go-jose/go-jose/issues/292)) - cipher/cbc_hmac: don't panic on invalid key ([#&#8203;291](https://github.com/go-jose/go-jose/issues/291)) - json: limit stack depth ([#&#8203;290](https://github.com/go-jose/go-jose/issues/290)) - jwt: reject out-of-range NumericDate values ([#&#8203;278](https://github.com/go-jose/go-jose/issues/278)) - Check alg against pubkey curve during verify. ([#&#8203;293](https://github.com/go-jose/go-jose/issues/293)) - Reject malformed [`Ed25519`](https://github.com/go-jose/go-jose/commit/Ed25519) JWKs ([#&#8203;250](https://github.com/go-jose/go-jose/issues/250)) - jws: choose verification key per-signature ([#&#8203;243](https://github.com/go-jose/go-jose/issues/243)) ### Breaking Changes In [#&#8203;226](https://github.com/go-jose/go-jose/issues/226), we un-exported jose.RandReader. This was used to be able to stub out the randomness function in tests, but is ignored as of Go 1.26 in some APIs, so no longer serves a useful function. ### Changed - Verify OpaqueSigner's Public() return is public ([#&#8203;260](https://github.com/go-jose/go-jose/issues/260)) - jws: skip signature on ErrJWKSKidNotFound ([#&#8203;248](https://github.com/go-jose/go-jose/issues/248)) - Handle JWE JSON without protected header ([#&#8203;240](https://github.com/go-jose/go-jose/issues/240)) - jws: don't strip internal whitespace before parsing JSON ([#&#8203;239](https://github.com/go-jose/go-jose/issues/239)) - jws: fewer calls to OpaqueSigner.Public() ([#&#8203;224](https://github.com/go-jose/go-jose/issues/224)) - Return a specific error when parsing empty string ([#&#8203;216](https://github.com/go-jose/go-jose/issues/216)) - Reject typed nil at Verify time ([#&#8203;285](https://github.com/go-jose/go-jose/issues/285)) </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Berlin) - Branch creation - "before 7am on monday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMTAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIxMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Sebi added the dependencies label 2026-11-23 00:15:36 +00:00
Sebi added 1 commit 2026-11-23 00:15:38 +00:00
fix(deps): update module github.com/go-jose/go-jose/v4 to v4.1.9
renovate/stability-days Updates have met minimum release age requirement
ci / lint (pull_request) Successful in 5m39s
ci / build (pull_request) Successful in 4m58s
ci / image (pull_request) Successful in 4m59s
ci / test (pull_request) Successful in 12m44s
8a035825f2
Sebi merged commit a15dc0a2ff into main 2026-11-23 16:17:16 +00:00
Sebi deleted branch renovate/github.com-go-jose-go-jose-v4-4.x 2026-11-23 16:17:19 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ZB-Server/uptimesebi#121