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/nats-io/jwt from 1.2.2 to 2.4.0+incompatible in /nats #115

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 9, 2024

Bumps github.com/nats-io/jwt from 1.2.2 to 2.4.0+incompatible.

Release notes

Sourced from github.com/nats-io/jwt's releases.

v2.4.0

What's Changed

Full Changelog: nats-io/jwt@v2.3.0...v2.4.0

Release v2.3.0

Changelog

The repository master branch has been renamed to main. If you have a fork or a local copy of the repository, you would have to perform the following git operations:

git checkout master
git branch -m master main
git fetch origin
git remote set-head origin -a

Added

  • IssueUserJWT() takes an account scoped signing key, account id, and use public key (and optionally a user's name, an expiration duration and tags) and returns a valid signed JWT. See the following ADR for more information (#163)
  • JetStreamLimits.MaxBytesRequired: a boolean to indicate that max_bytes is required for all streams created under an account (#164)
  • AccountClaims.Limits.JetStreamTieredLimits: which is a map of JetStreamLimits where the key is the tier, for example "R1", "R3", etc.. (#169)
  • JetStreamLimits.MemoryMaxstreamBytes and JetStreamLimits.DiskMaxstreamBytes: to limit the maximum value for max bytes for memory and disk (#172)
  • JetStreamLimits.MaxAckPending: to limit the number of MaxAckPending on a consumer (#174)
  • AccountLimits.DisallowBearer: to reject connections from user JWTs that have the bearer token boolean set to true (#177)

Fixed

  • Activation's validation error text: was reporting invalid export type instead of invalid import type (#176)

Complete Changes

nats-io/jwt@v2.2.0...v2.3.0

Release v2.2.0

Changelog

Added

  • Two new connection types, LEAFNODE_WS and MQTT_WS (not yet supported in the NATS Server, but will be in the near future). If the administrator wants to restrict a configured user to a leaf node connection (websocket or not) but not as a standard user (a client application), the previous existing connection types would not allow it. Having only LEAFNODE would not deny LeafNode connection over websocket, and adding WEBSOCKET would then allow client applications to connect to the client websocket port (#161)

Fixed

  • Decoding of signing keys would return a nil map instead of the actual signing keys (#160)

... (truncated)

Commits
  • 11e1fdb Bump version for imminent release: 2.4.0
  • 7018e50 Merge pull request #189 from nats-io/simplify-response
  • 7b33986 added additional scrutiny to DidSign in the case of signing keys (#190)
  • e3e39d6 overhaul jwt v2 and v1 inter-tangling (#195)
  • 8d1c62f added additional scrutiny to DidSign in the case of signing keys (#190)
  • f135d4a [chore] migrate ci to gha (#191)
  • bdf40fa Merge pull request #186 from nats-io/auth-updates
  • 146945d Added in a formal authorization response for propagating errors back to a NAT...
  • ff7baa9 Merge pull request #185 from nats-io/user-nkey
  • 1ddecee Force authorization requests to have a public user nkey.
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [github.com/nats-io/jwt](https://github.com/nats-io/jwt) from 1.2.2 to 2.4.0+incompatible.
- [Release notes](https://github.com/nats-io/jwt/releases)
- [Changelog](https://github.com/nats-io/jwt/blob/main/ReleaseNotes.md)
- [Commits](nats-io/jwt@v1.2.2...v2.4.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/jwt
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 9, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.92%. Comparing base (f0683d0) to head (825ce7e).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #115   +/-   ##
=======================================
  Coverage   97.92%   97.92%           
=======================================
  Files          12       12           
  Lines         529      529           
=======================================
  Hits          518      518           
  Misses         11       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant