Skip to content

Conversation

@red-hat-konflux
Copy link
Contributor

@red-hat-konflux red-hat-konflux bot commented Nov 23, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/go-jose/go-jose/v3 v3.0.4 -> v4.1.3 age confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

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

v4.1.3

Compare Source

This release drops Go 1.23 support as that Go release is no longer supported. With that, we can drop x/crypto and no longer have any external dependencies in go-jose outside of the standard library!

This release fixes a bug where a critical b64 header was ignored if in an unprotected header. It is now rejected instead of ignored.

What's Changed

Full Changelog: go-jose/go-jose@v4.1.2...v4.1.3

v4.1.2

Compare Source

What's Changed

go-jose v4.1.2 improves some documentation, errors, and removes the only 3rd-party dependency.

New Contributors

Full Changelog: go-jose/go-jose@v4.1.1...v4.1.2

v4.1.1

Compare Source

What's Changed

New Contributors

Full Changelog: go-jose/go-jose@v4.1.0...v4.1.1

v4.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-jose/go-jose@v4.0.5...v4.1.0

v4.0.5

Compare Source

What's Changed

Fixes GHSA-c6gw-w398-hv78

Various other dependency updates, small fixes, and documentation updates in the full changelog

New Contributors

Full Changelog: go-jose/go-jose@v4.0.4...v4.0.5

v4.0.4: Version 4.0.4

Compare Source

Fixed

  • Reverted "Allow unmarshalling JSONWebKeySets with unsupported key types" as a breaking change. See #​136 / #​137.

v4.0.3: Version 4.0.3

Compare Source

Changed

  • Allow unmarshalling JSONWebKeySets with unsupported key types (#​130)
  • Document that OpaqueKeyEncrypter can't be implemented (for now) (#​129)
  • Dependency updates

v4.0.2: Version 4.0.2

Compare Source

What's Changed

New Contributors

Full Changelog: go-jose/go-jose@v4.0.1...v4.0.2

v4.0.1: Version 4.0.1

Compare Source

Fixed

  • An attacker could send a JWE containing compressed data that used large
    amounts of memory and CPU when decompressed by Decrypt or DecryptMulti.
    Those functions now return an error if the decompressed data would exceed
    250kB or 10x the compressed size (whichever is larger). Thanks to
    Enze Wang@​Alioth and Jianjun Chen@​Zhongguancun Lab (@​zer0yu and @​chenjj)
    for reporting.

v4.0.0: Version 4.0.0

Compare Source

This release makes some breaking changes in order to more thoroughly address the vulnerabilities discussed in Three New Attacks Against JSON Web Tokens, "Sign/encrypt confusion", "Billion hash attack", and "Polyglot token".

Changed

  • Limit JWT encryption types (exclude password or public key types) (#​78)
  • Enforce minimum length for HMAC keys (#​85)
  • jwt: match any audience in a list, rather than requiring all audiences (#​81)
  • jwt: accept only Compact Serialization (#​75)
  • jws: Add expected algorithms for signatures (#​74)
  • Require specifying expected algorithms for ParseEncrypted,
    ParseSigned, ParseDetached, jwt.ParseEncrypted, jwt.ParseSigned,
    jwt.ParseSignedAndEncrypted (#​69, #​74)
    • Usually there is a small, known set of appropriate algorithms for a program to use and it's a mistake to allow unexpected algorithms. For instance the "billion hash attack" relies in part on programs accepting the PBES2 encryption algorithm and doing the necessary work even if they weren't specifically configured to allow PBES2.
  • Revert "Strip padding off base64 strings" (#​82)
  • The specs require base64url encoding without padding.
  • Minimum supported Go version is now 1.21

Added

  • ParseSignedCompact, ParseSignedJSON, ParseEncryptedCompact, ParseEncryptedJSON.
    • These allow parsing a specific serialization, as opposed to ParseSigned and ParseEncrypted, which try to automatically detect which serialization was provided. It's common to require a specific serialization for a specific protocol - for instance JWT requires Compact serialization.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/go-jose/go-jose/v3 to v4 chore(deps): update module github.com/go-jose/go-jose/v3 to v4 - autoclosed Nov 27, 2025
@red-hat-konflux red-hat-konflux bot closed this Nov 27, 2025
@red-hat-konflux red-hat-konflux bot deleted the konflux/mintmaker/master/github.com-go-jose-go-jose-v3-4.x branch November 27, 2025 04:41
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/go-jose/go-jose/v3 to v4 - autoclosed chore(deps): update module github.com/go-jose/go-jose/v3 to v4 Nov 27, 2025
@red-hat-konflux red-hat-konflux bot reopened this Nov 27, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/master/github.com-go-jose-go-jose-v3-4.x branch from af8203b to af3d9ec Compare November 27, 2025 08:43
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/go-jose/go-jose/v3 to v4 chore(deps): update module github.com/go-jose/go-jose/v3 to v4 - autoclosed Dec 10, 2025
@red-hat-konflux red-hat-konflux bot closed this Dec 10, 2025
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/go-jose/go-jose/v3 to v4 - autoclosed chore(deps): update module github.com/go-jose/go-jose/v3 to v4 Dec 11, 2025
@red-hat-konflux red-hat-konflux bot reopened this Dec 11, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/master/github.com-go-jose-go-jose-v3-4.x branch from 6807eb8 to af3d9ec Compare December 11, 2025 00:42
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/master/github.com-go-jose-go-jose-v3-4.x branch from af3d9ec to 0a3fd69 Compare December 22, 2025 20:52
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/go-jose/go-jose/v3 to v4 chore(deps): update module github.com/go-jose/go-jose/v3 to v4 - autoclosed Dec 27, 2025
@red-hat-konflux red-hat-konflux bot closed this Dec 27, 2025
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/go-jose/go-jose/v3 to v4 - autoclosed chore(deps): update module github.com/go-jose/go-jose/v3 to v4 Dec 27, 2025
@red-hat-konflux red-hat-konflux bot reopened this Dec 27, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/master/github.com-go-jose-go-jose-v3-4.x branch from f12dfe3 to 0a3fd69 Compare December 27, 2025 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants