chore(deps): bump pyjwt from 2.12.0 to 2.13.0 in the pip group across 1 directory#203
Conversation
Bumps the pip group with 1 update in the / directory: [pyjwt](https://github.com/jpadilla/pyjwt). Updates `pyjwt` from 2.12.0 to 2.13.0 - [Release notes](https://github.com/jpadilla/pyjwt/releases) - [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst) - [Commits](jpadilla/pyjwt@2.12.0...2.13.0) --- updated-dependencies: - dependency-name: pyjwt dependency-version: 2.13.0 dependency-type: direct:production dependency-group: pip ... Signed-off-by: dependabot[bot] <support@github.com>
Greptile SummaryThis PR bumps
Confidence Score: 5/5Safe to merge — this is a well-scoped security patch with no breaking changes that apply to this repo's JWT usage patterns. The upgrade closes five security advisories in pyjwt, none of which are exploitable in this codebase: the repo uses straightforward HMAC/ECDSA signing without PyJWKClient, detached payloads, or multi-algorithm verifiers. The one behavioral change that could matter (empty HMAC keys now raise) is already guarded by module-level and constructor-level checks that refuse to start without a non-empty secret. No files require special attention. Important Files Changed
Sequence DiagramsequenceDiagram
participant App
participant jwt as pyjwt 2.13.0
participant HMAC as HMACAlgorithm
Note over App,HMAC: JWT encode (auth/security.py, attestation_guard.py)
App->>jwt: "jwt.encode(payload, SECRET_KEY, algorithm="HS256")"
jwt->>HMAC: prepare_key(SECRET_KEY)
Note over HMAC: NEW: raises InvalidKeyError if key is empty or JWK-shaped JSON
HMAC-->>jwt: key validated
jwt-->>App: signed token
Note over App,HMAC: JWT decode
App->>jwt: "jwt.decode(token, SECRET_KEY, algorithms=["HS256"])"
jwt->>HMAC: verify signature
HMAC-->>jwt: ok
jwt-->>App: payload dict
Reviews (1): Last reviewed commit: "chore(deps): bump pyjwt in the pip group..." | Re-trigger Greptile |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Bumps the pip group with 1 update in the / directory: pyjwt.
Updates
pyjwtfrom 2.12.0 to 2.13.0Release notes
Sourced from pyjwt's releases.
Changelog
Sourced from pyjwt's changelog.
... (truncated)
Commits
7144e45Apply ruff formatd2f4becRestorecast()calls with cross-versiontype: ignoreforprepare_key22f478cRemove redundant casts inRSAAlgorithm.prepare_keyand `ECAlgorithm.prepare...95791b1Bundle security fixes and hardening into 2.13.0dcc27a9[pre-commit.ci] pre-commit autoupdate (#1155)9d08a9a[pre-commit.ci] pre-commit autoupdate (#1146)b87c100Bump codecov/codecov-action from 5 to 6 (#1154)40e3147Migrate development extras to dependency groups (#1152)a4e1a3dAdd typing_extensions dependency for Python < 3.11 (#1151)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditionsYou can disable automated security fix PRs for this repo from the Security Alerts page.