Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/go-jose/go-jose/v3 to v4 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/go-jose/go-jose/v3 v3.0.3 -> v4.0.4 age adoption passing confidence

Release Notes

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

v4.0.4

Compare Source

Fixed

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

v4.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

Compare Source

Changed

  • Improved documentation of Verify() to note that JSONWebKeySet is a supported
    argument type (#​104)
  • Defined exported error values for missing x5c header and unsupported elliptic
    curves error cases (#​117)

v4.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

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: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Feb 27, 2024

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate renovate bot force-pushed the renovate/github.com-go-jose-go-jose-v3-4.x branch from f2fbcc7 to 852143d Compare March 7, 2024 21:26
@renovate renovate bot changed the title Update module github.com/go-jose/go-jose/v3 to v4 Update module github.com/go-jose/go-jose/v3 to v4 - autoclosed Mar 8, 2024
@renovate renovate bot closed this Mar 8, 2024
@renovate renovate bot deleted the renovate/github.com-go-jose-go-jose-v3-4.x branch March 8, 2024 00:24
@renovate renovate bot changed the title Update module github.com/go-jose/go-jose/v3 to v4 - autoclosed Update module github.com/go-jose/go-jose/v3 to v4 Mar 8, 2024
@renovate renovate bot reopened this Mar 8, 2024
@renovate renovate bot restored the renovate/github.com-go-jose-go-jose-v3-4.x branch March 8, 2024 04:40
@renovate renovate bot force-pushed the renovate/github.com-go-jose-go-jose-v3-4.x branch from 852143d to 7459957 Compare March 8, 2024 04:41
@renovate renovate bot force-pushed the renovate/github.com-go-jose-go-jose-v3-4.x branch from 7459957 to c2a3af0 Compare April 14, 2024 10:09
@renovate renovate bot force-pushed the renovate/github.com-go-jose-go-jose-v3-4.x branch from c2a3af0 to 05a64b1 Compare April 25, 2024 03:19
@renovate renovate bot force-pushed the renovate/github.com-go-jose-go-jose-v3-4.x branch 2 times, most recently from 8755c5c to 5ad2669 Compare May 14, 2024 01:48
Copy link
Contributor Author

renovate bot commented Jun 4, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.15 -> 1.23.4

@renovate renovate bot force-pushed the renovate/github.com-go-jose-go-jose-v3-4.x branch from 5ad2669 to 42f3ca5 Compare June 17, 2024 16:26
@renovate renovate bot force-pushed the renovate/github.com-go-jose-go-jose-v3-4.x branch from 42f3ca5 to c1a2121 Compare July 9, 2024 22:38
@renovate renovate bot force-pushed the renovate/github.com-go-jose-go-jose-v3-4.x branch from c1a2121 to 9b42b47 Compare July 27, 2024 04:07
@renovate renovate bot force-pushed the renovate/github.com-go-jose-go-jose-v3-4.x branch from 9b42b47 to c153041 Compare September 11, 2024 16:00
@renovate renovate bot force-pushed the renovate/github.com-go-jose-go-jose-v3-4.x branch from c153041 to 95e3e70 Compare November 17, 2024 15:26
@renovate renovate bot changed the title Update module github.com/go-jose/go-jose/v3 to v4 Update module github.com/go-jose/go-jose/v3 to v4 - autoclosed Nov 20, 2024
@renovate renovate bot closed this Nov 20, 2024
@renovate renovate bot deleted the renovate/github.com-go-jose-go-jose-v3-4.x branch November 20, 2024 02:10
@renovate renovate bot changed the title Update module github.com/go-jose/go-jose/v3 to v4 - autoclosed Update module github.com/go-jose/go-jose/v3 to v4 Nov 20, 2024
@renovate renovate bot reopened this Nov 20, 2024
@renovate renovate bot force-pushed the renovate/github.com-go-jose-go-jose-v3-4.x branch from 95e3e70 to ac53b63 Compare December 22, 2024 16:18
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