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 #619

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 26, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

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

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: 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. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-go-deps branch from b9d7c76 to 9b66754 Compare February 27, 2024 01:22
@renovate renovate bot changed the title fix(deps): update module github.com/puzpuzpuz/xsync to v3 fix(deps): update go deps (major) Feb 27, 2024
@renovate renovate bot force-pushed the renovate/major-go-deps branch 2 times, most recently from 515f247 to eb7315f Compare February 28, 2024 07:51
@renovate renovate bot force-pushed the renovate/major-go-deps branch 2 times, most recently from 90bc328 to c6488c2 Compare March 8, 2024 00:54
@renovate renovate bot changed the title fix(deps): update go deps (major) fix(deps): update module github.com/puzpuzpuz/xsync to v3 Mar 8, 2024
@renovate renovate bot force-pushed the renovate/major-go-deps branch from c6488c2 to 82e41f0 Compare March 10, 2024 17:47
@renovate renovate bot changed the title fix(deps): update module github.com/puzpuzpuz/xsync to v3 fix(deps): update go deps (major) Mar 10, 2024
Copy link

changeset-bot bot commented Mar 10, 2024

⚠️ No Changeset found

Latest commit: db2a790

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package or glob expression "github.com/livekit/protocol" specified in the `fixed` option does not match any package in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.

@renovate renovate bot changed the title fix(deps): update go deps (major) fix(deps): update module github.com/go-jose/go-jose/v3 to v4 Mar 10, 2024
@renovate renovate bot force-pushed the renovate/major-go-deps branch from 82e41f0 to bad22e4 Compare March 10, 2024 20:06
@renovate renovate bot force-pushed the renovate/major-go-deps branch 2 times, most recently from e0ccb17 to e1b1558 Compare April 21, 2024 07:32
@renovate renovate bot changed the title fix(deps): update module github.com/go-jose/go-jose/v3 to v4 Update module github.com/go-jose/go-jose/v3 to v4 May 7, 2024
@renovate renovate bot force-pushed the renovate/major-go-deps branch 2 times, most recently from 233d4f7 to c2956ba Compare May 14, 2024 01:28
@renovate renovate bot changed the title Update module github.com/go-jose/go-jose/v3 to v4 fix(deps): update module github.com/go-jose/go-jose/v3 to v4 May 24, 2024
@renovate renovate bot force-pushed the renovate/major-go-deps branch from c2956ba to dcf5df1 Compare June 4, 2024 12:07
@renovate renovate bot force-pushed the renovate/major-go-deps branch from dcf5df1 to fc2ca9e Compare June 17, 2024 15:26
@renovate renovate bot changed the title fix(deps): update module github.com/go-jose/go-jose/v3 to v4 Update module github.com/go-jose/go-jose/v3 to v4 Jun 20, 2024
@renovate renovate bot force-pushed the renovate/major-go-deps branch from fc2ca9e to fc556c1 Compare July 9, 2024 21:03
Copy link
Contributor Author

renovate bot commented Jul 9, 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):

  • 7 additional dependencies were updated

Details:

Package Change
golang.org/x/mod v0.16.0 -> v0.17.0
golang.org/x/crypto v0.21.0 -> v0.25.0
golang.org/x/net v0.23.0 -> v0.25.0
golang.org/x/sync v0.6.0 -> v0.7.0
golang.org/x/sys v0.20.0 -> v0.22.0
golang.org/x/text v0.14.0 -> v0.16.0
golang.org/x/tools v0.19.0 -> v0.21.1-0.20240508182429-e35e4ccd0d2d

@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 Jul 10, 2024
@renovate renovate bot closed this Jul 10, 2024
@renovate renovate bot deleted the renovate/major-go-deps branch July 10, 2024 17:12
@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 Jul 12, 2024
@renovate renovate bot reopened this Jul 12, 2024
@renovate renovate bot restored the renovate/major-go-deps branch July 12, 2024 07:59
@renovate renovate bot force-pushed the renovate/major-go-deps branch from fc556c1 to db2a790 Compare July 12, 2024 07:59
@lukasIO
Copy link
Contributor

lukasIO commented Jul 12, 2024

I'll close this as we currently don't want that update.

@lukasIO lukasIO closed this Jul 12, 2024
Copy link
Contributor Author

renovate bot commented Jul 12, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/major-go-deps branch July 12, 2024 09: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.

1 participant