Repository navigation
chore(deps)(deps): bump cryptography from 46.0.7 to 48.0.1 in /nodes/src/nodes - #1291
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.7 to 48.0.1. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@46.0.7...48.0.1) --- updated-dependencies: - dependency-name: cryptography dependency-version: 48.0.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
🤖 Internal: Discord sync markerAuto-managed by the Discord notification workflow. Stores the linked Discord message ID. Do not edit or delete. |
Closes 9 of 14 open Dependabot alerts on this repo. Two floor bumps on existing `pnpm.overrides` entries + one new entry; lockfile regenerated. The remaining 5 alerts are cryptography (#191/#192/#193 — handled in the #1290/#1291 PR pair and a follow-up for text_output) and nltk (#202/#203 — patched=null, tracked upstream). Alerts closed: #204 HIGH undici >=7.24.0 → >=7.28.0 #205 MED undici (same line) #209 LOW undici (same line) #210 HIGH undici (same line) #211 HIGH undici (same line) #212 MED undici (same line) #213 LOW undici (same line) #206 MED webpack-dev-server >=5.2.4 → >=5.2.5 #214 MED http-proxy-middleware new entry: >=2.0.10 <3 Lockfile-verified single resolutions post-edit: undici@7.28.0 webpack-dev-server@5.2.5 http-proxy-middleware@2.0.10
dsapandora
left a comment
There was a problem hiding this comment.
This is a two-major-version jump (cryptography 46 → 48), not a routine patch bump, and pyca's changelog documents several backwards-incompatible changes that touch this codebase's transitive dependency surface (pymysql, smbprotocol). Given the nature of these changes, I don't think this should be approved until the following are verified rather than assumed:
Regressions and required mitigations: OpenSSL 1.1.x support is dropped (3.0+ now required), binary/SECT elliptic curves are removed, and load_pem_private_key/load_der_private_key/etc. now raise UnsupportedAlgorithm instead of ValueError for unsupported keys. If any node code (e.g. db_mysql, text_output/smbprotocol paths) catches ValueError around key/cert loading, that error handling silently stops working under the new version — this needs an actual grep across the codebase, not an assumption that it's 'probably fine because it's transitive.' If such a catch exists, it needs to be updated to also handle UnsupportedAlgorithm before this merges.
Cross-platform reliability: cryptography 48 requires OpenSSL 3.0+. This needs to be confirmed for every CI runner and any developer/build environment across Windows, macOS, and Linux — if any image is still pinned to 1.1.x wheels, this breaks the build rather than the code, and that failure mode should be caught in CI before merge, not discovered after.
Fallback/migration safety: there's no compatibility shim in this PR for the exception-type change (ValueError → UnsupportedAlgorithm). Until the grep above confirms no code depends on the old exception type, there's no safe migration path guaranteed.
UX integrity: if UnsupportedAlgorithm does bubble up uncaught anywhere it wasn't previously, that's a new, more opaque failure mode for end users hitting cert/key parsing issues (e.g. TLS connections in db_mysql, auth in smbprotocol) compared to today's behavior.
Verification depth: the PR itself is just the Dependabot version bump with no accompanying test evidence for the affected paths. Before merge, this needs the exception-handling grep, confirmation of OpenSSL availability across all CI platforms, and ideally a smoke test of the cert/key loading paths in db_mysql and the smbprotocol integration.
Separately, nodes/src/nodes/requirements.txt:9-14 has a comment block documenting specific GHSA advisories that justified the old <47 upper bound. That comment is now stale/misleading since we're jumping straight to <49 — it needs to be updated or removed so it doesn't look like we're still capping at 47 for a security reason.
None of this means the bump is wrong — it's likely fine — but a requirements.txt change with this many documented breaking changes upstream shouldn't merge on assumptions. Please run the grep, confirm CI OpenSSL versions, and update the stale comment, then this can go back through for approval.
|
Looks like cryptography is up-to-date now, so this is no longer needed. |
…etride-org#1342) Closes 9 of 14 open Dependabot alerts on this repo. Two floor bumps on existing `pnpm.overrides` entries + one new entry; lockfile regenerated. The remaining 5 alerts are cryptography (rocketride-org#191/rocketride-org#192/rocketride-org#193 — handled in the rocketride-org#1290/rocketride-org#1291 PR pair and a follow-up for text_output) and nltk (rocketride-org#202/rocketride-org#203 — patched=null, tracked upstream). Alerts closed: rocketride-org#204 HIGH undici >=7.24.0 → >=7.28.0 rocketride-org#205 MED undici (same line) rocketride-org#209 LOW undici (same line) rocketride-org#210 HIGH undici (same line) rocketride-org#211 HIGH undici (same line) rocketride-org#212 MED undici (same line) rocketride-org#213 LOW undici (same line) rocketride-org#206 MED webpack-dev-server >=5.2.4 → >=5.2.5 rocketride-org#214 MED http-proxy-middleware new entry: >=2.0.10 <3 Lockfile-verified single resolutions post-edit: undici@7.28.0 webpack-dev-server@5.2.5 http-proxy-middleware@2.0.10
Bumps cryptography from 46.0.7 to 48.0.1.
Changelog
Sourced from cryptography's changelog.
... (truncated)
Commits
de987ce48.0.1 version bump and changelog (#14996)8e03e30bump for 48.0.0 release (#14796)295e0d2Add AGENTS.md with CLAUDE.md symlink (#14794)104a2deBump BoringSSL, OpenSSL, AWS-LC in CI (#14793)67ec1e5call check_length early on AesSiv::encrypt (#14792)b2da57achangelog for mldsa/mlkem for openssl (#14791)3cf44adML-KEM OpenSSL support (#14781)2e31639ML-DSA OpenSSL support (#14773)5affe5afix rust nightly clippy (#14790)2e73ca4bump rust-openssl dep and update EcPoint::mul_generator to mul_generator2 (#1...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 this major versionwill 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 versionwill 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 dependencywill 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.