-
Notifications
You must be signed in to change notification settings - Fork 59
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 pyjwt requirement from ~=2.8.0 to >=2.8,<2.11 #255
base: development
Are you sure you want to change the base?
Conversation
Updates the requirements on [pyjwt](https://github.com/jpadilla/pyjwt) to permit the latest version. - [Release notes](https://github.com/jpadilla/pyjwt/releases) - [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst) - [Commits](jpadilla/pyjwt@2.8.0...2.10.1) --- updated-dependencies: - dependency-name: pyjwt dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
Reviewer's Guide by SourceryThis pull request updates the Sequence diagram showing updated JWT encoding behaviorsequenceDiagram
participant App
participant JWT
participant JWS
Note over App,JWS: After changes in v2.10.0
App->>JWT: encode(payload, key=None, algorithm='none')
JWT->>JWS: Algorithm enforcement
JWS-->>JWT: Validated algorithm
JWT-->>App: Encoded token
Note over App,JWS: Before changes
App->>JWT: encode(payload, key=None, algorithm=None)
JWT-->>App: Encoded token
Class diagram showing JWT API changesclassDiagram
class JWT {
+encode(payload, key, algorithm)
+decode(token, key, algorithms)
+decode_complete(token, key, algorithms)
}
class JWS {
+algorithm_enforcement
}
JWT --> JWS : delegates algorithm enforcement
note for JWT "Changes in v2.10.0:
- Algorithm enforcement moved to JWS
- Added JWK support
- New validation for 'sub' and 'jti' claims"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
Updates the requirements on pyjwt to permit the latest version.
Release notes
Sourced from pyjwt's releases.
Changelog
Sourced from pyjwt's changelog.
... (truncated)
Commits
3ebbb22
fix lint37748dc
update changelog33022c2
Merge commit from fork783f324
[pre-commit.ci] pre-commit autoupdate (#1006)0116fc6
Bump codecov/codecov-action from 4 to 5 (#1014)b032353
feat: surfacejwt.decode_complete(...)
a759c45
Prepare 2.10.0 release (#1011)b6b8bce
Drop support for Python 3.8 (#1007)189c256
Update index.rst1900857
Update index.rstDependabot 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)Summary by Sourcery
Chores:
pyjwt
dependency to a version greater than or equal to 2.8 and less than 2.11.