Skip to content

chore(deps)(deps): bump cryptography from 46.0.7 to 48.0.1 in /nodes/src/nodes - #1291

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/nodes/src/nodes/cryptography-48.0.1
Closed

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/nodes/src/nodes/cryptography-48.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Bumps cryptography from 46.0.7 to 48.0.1.

Changelog

Sourced from cryptography's changelog.

48.0.1 - 2026-06-09


* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 4.0.1.

.. _v48-0-0:

48.0.0 - 2026-05-04

  • BACKWARDS INCOMPATIBLE: Support for Python 3.8 has been removed. cryptography now requires Python 3.9 or later.

  • BACKWARDS INCOMPATIBLE: Loading an X.509 CRL whose inner TBSCertList.signature algorithm does not match the outer signatureAlgorithm now raises ValueError. Previously, such CRLs were parsed successfully and only rejected during signature validation.

  • Added support for :doc:/hazmat/primitives/asymmetric/mlkem and :doc:/hazmat/primitives/asymmetric/mldsa when using OpenSSL 3.5.0 or later, in addition to the existing AWS-LC and BoringSSL support. This means post-quantum algorithms are now available to users of our wheels.

    • Note: Going forward, we do not guarantee that all functionality in cryptography will be available when building against OpenSSL. See :doc:/statements/state-of-openssl for more information.

.. _v47-0-0:

47.0.0 - 2026-04-24


* Support for Python 3.8 is deprecated and will be removed in the next
  ``cryptography`` release.
* **BACKWARDS INCOMPATIBLE:** Support for binary elliptic curves
  (``SECT*`` classes) has been removed. These curves are rarely used and
  have additional security considerations that make them undesirable.
* **BACKWARDS INCOMPATIBLE:** Support for OpenSSL 1.1.x has been removed.
  OpenSSL 3.0.0 or later is now required. LibreSSL, BoringSSL, and AWS-LC
  continue to be supported.
* **BACKWARDS INCOMPATIBLE:** Dropped support for LibreSSL < 4.1.
* **BACKWARDS INCOMPATIBLE:** Loading keys with unsupported algorithms or
  keys with unsupported explicit curve encodings now raises
  :class:`~cryptography.exceptions.UnsupportedAlgorithm` instead of
  ``ValueError``. This change affects
  :func:`~cryptography.hazmat.primitives.serialization.load_pem_private_key`,
  :func:`~cryptography.hazmat.primitives.serialization.load_der_private_key`,
  :func:`~cryptography.hazmat.primitives.serialization.load_pem_public_key`,
  :func:`~cryptography.hazmat.primitives.serialization.load_der_public_key`,
  and :meth:`~cryptography.x509.Certificate.public_key` when called on
  certificates with unsupported public key algorithms.
</tr></table> 

... (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 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 [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>
@dependabot dependabot Bot added zz: area: deps Deprecated 2026-08-05, do not use; superseded by infra dependencies Pull requests that update a dependency file labels Jun 16, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file zz: area: deps Deprecated 2026-08-05, do not use; superseded by infra labels Jun 16, 2026
@github-actions github-actions Bot added the module:nodes Python pipeline nodes label Jun 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor
🤖 Internal: Discord sync marker

Auto-managed by the Discord notification workflow. Stores the linked Discord message ID. Do not edit or delete.

kwit75 pushed a commit that referenced this pull request Jun 24, 2026
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 dsapandora left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@dependabot @github

dependabot Bot commented on behalf of github Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

Looks like cryptography is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Jul 4, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/nodes/src/nodes/cryptography-48.0.1 branch July 4, 2026 00:08
AviNormie pushed a commit to AviNormie/rocketride-server that referenced this pull request Nov 9, 2026
…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
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 module:nodes Python pipeline nodes zz: area: deps Deprecated 2026-08-05, do not use; superseded by infra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant