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

Bump github.com/lestrrat-go/jwx from 1.2.11 to 1.2.17 #1574

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 17, 2022

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps github.com/lestrrat-go/jwx from 1.2.11 to 1.2.17.

Release notes

Sourced from github.com/lestrrat-go/jwx's releases.

v1.2.17

v1.2.17 12 Jan 2022
[Miscellaneous]
  * Re-release v1.2.16 as v1.2.17 because of an error in the release process.
    The code is exactly the same as what v1.2.16 intended to release.
    v1.2.16 has been retracted in go.mod.

The content for v1.2.16 is left below for reference:

v1.2.16 12 Jan 2022

THIS VERSION HAS BEEN RETRACTED. PLEASE USE v1.2.17

[Bug Fixes]

  • Peviously, jws.Sign() could not create a signed payload with detached and unencoded payload, even when the documentation said it could. Now you may use the jws.Sign() in the following way to create a JWS message with detached, unencoded state:

    hdrs := jws.NewHeaders() hdrs.Set("b64", false) hdrs.Set("crit", "b64") jws.Sign(nil, alg, key, jws.WithDetachedPayload(payload), jws.WithHeaders(hdrs))

    Notice the use of nil for the first parameter, and the use of jws.WithDetachedPayload().

    We realize this is not exactly a clean API, but this is currently the only way to implement this in a backward-compatible fashion. Most likely this will change in a future major version. [Miscellaneous]

  • jws.WithDetachedPayload() is now of type jws.SignVerifyOption, which satisfies both jws.SignOption and jws.VerifyOption

v1.2.16

v1.2.16 12 Jan 2022
[Bug Fixes]
  * Peviously, `jws.Sign()` could not create a signed payload with
    detached and unencoded payload, even when the documentation said it could.
    Now you may use the `jws.Sign()` in the following way to create
    a JWS message with detached, unencoded state:
   hdrs := jws.NewHeaders()
   hdrs.Set("b64", false)
   hdrs.Set("crit", "b64")

</tr></table>

... (truncated)

Changelog

Sourced from github.com/lestrrat-go/jwx's changelog.

v1.2.17 12 Jan 2022 [Miscellaneous]

  • Re-release v1.2.16 as v1.2.17 because of an error in the release process. The code is exactly the same as what v1.2.16 intended to release. v1.2.16 has been retracted in go.mod.

v1.2.16 12 Jan 2022

THIS VERSION HAS BEEN RETRACTED. PLEASE USE v1.2.17

[Bug Fixes]

  • Peviously, jws.Sign() could not create a signed payload with detached and unencoded payload, even when the documentation said it could. Now you may use the jws.Sign() in the following way to create a JWS message with detached, unencoded state:

    hdrs := jws.NewHeaders() hdrs.Set("b64", false) hdrs.Set("crit", "b64") jws.Sign(nil, alg, key, jws.WithDetachedPayload(payload), jws.WithHeaders(hdrs))

    Notice the use of nil for the first parameter, and the use of jws.WithDetachedPayload().

    We realize this is not exactly a clean API, but this is currently the only way to implement this in a backward-compatible fashion. Most likely this will change in a future major version. [Miscellaneous]

  • jws.WithDetachedPayload() is now of type jws.SignVerifyOption, which satisfies both jws.SignOption and jws.VerifyOption

v1.2.15 07 Jan 2022 [New Features]

  • (jwk.AutoRefresh).Remove() has been implemented. [Bug Fixes]
  • ES256K is now included in the list of JWS inferred algorithms, if it's enabled via -tags jwx_es256k [Miscellaneous]
  • jwt.Parse has been improved for efficiency and has more tests to cover corner cases.
  • Documentation fixes

v1.2.14 22 Dec 2021 [New Features]

  • jwk.Fetch() and (*jwk.AutoRefresh).Configure() can now take jwk.Whitelist object to check for the validity of a url to be fetched
  • jws.VerifyAuto() has been added to verify payloads that can be verified using the JWK set provided in the "jku" field. This function is purposely separated from the jws.Verify() function because 1) the required parameters

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx) from 1.2.11 to 1.2.17.
- [Release notes](https://github.com/lestrrat-go/jwx/releases)
- [Changelog](https://github.com/lestrrat-go/jwx/blob/main/Changes)
- [Commits](lestrrat-go/jwx@v1.2.11...v1.2.17)

---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Go code labels Jan 17, 2022
@deluan deluan merged commit eed54d7 into master Jan 22, 2022
@deluan deluan deleted the dependabot/go_modules/github.com/lestrrat-go/jwx-1.2.17 branch January 22, 2022 00:26
@github-actions
Copy link

github-actions bot commented Mar 7, 2023

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file go Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant