Skip to content

Bump the crypto group with 2 updates - #18

Merged
thomasdarimont merged 2 commits into
mainfrom
dependabot/cargo/crypto-1f0c115658
Nov 23, 2026
Merged

thomasdarimont merged 2 commits into
mainfrom
dependabot/cargo/crypto-1f0c115658

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor

Bumps the crypto group with 2 updates: jsonwebtoken and rsa.

Updates jsonwebtoken from 11.1.0 to 12.0.0

Changelog

Sourced from jsonwebtoken's changelog.

12.0.0 (2026-11-13)

  • Avoid duplicate token splitting and header parsing when decoding JWTs
  • Fix trying to encode without a CryptoProvider installing a dummy CryptoProvider that always panics and can never be replaced, panic before installing instead
  • Add CryptoProvider::try_get_default() -> Option<_> to allow checking for a missing CryptoProvider without panicking
  • Fix remaining type confusion with sub, iss, aud
  • Reject unknown critical extensions
  • BREAKING: EncodingKey and DecodingKey reject empty HMAC keys
  • BREAKING: Update the rust crypto dependencies
Commits
  • 3b6f68f Bump deps
  • 10e7d68 Update readme
  • 6ecdb4d Decode header without validation when appropriate (#557)
  • 4f4e755 Update for release
  • a3fd80e Reject empty HMAC Keys, fix remaining type confusion, reject unknown critical...
  • 13f7a06 Update the coordinated RustCrypto dependency stack (#536)
  • 11f83ab Don't store the placeholder provider in the process OnceLock (#540)
  • dcea70f Avoid duplicate header parsing during JWT decoding (#543)
  • See full diff in compare view

Updates rsa from 0.9.10 to 0.10.0

Changelog

Sourced from rsa's changelog.

0.10.0 (2026-11-08)

Security

  • Replace num-bigint-dig with crypto-bigint for constant-time modular exponentiation (#394)
  • Redact private-key components from Debug output (#480)
  • Harden private-key operations following draft-irtf-cfrg-rsa-guidance (#710, #715, #739, #751, #752, #755, #756, #758, #770, #771, #773)
  • Zeroize stored secret-prime Montgomery parameters in PrecomputedValues (#716)
  • Implement PKCS#1 v1.5 implicit rejection: return deterministic synthetic plaintext on invalid padding instead of exposing a padding error and with it a sidechannel (#726, #729, #749)

Added

  • PKCS#8/SPKI decoding for PSS keys, including id-RSASSA-PSS algorithm identifiers (#424)
  • pss::VerifyingKey::salt_len and opt-in automatic salt-length detection via new_with_auto_salt_len (#448, #546)
  • Wycheproof test coverage for PKCS#1 v1.5, PSS, and OAEP (#477, #740)
  • PublicKeyParts::n_bytes and e_bytes serialization helpers (#519)
  • Multipart signing trait implementations for PKCS#1 v1.5 and PSS (#525)
  • Clone and core::error::Error implementations for Error (#530, #694)
  • PrivateKey::as_public_key accessor (#592)
  • Algorithm-specific inherent methods on PrivateKey and PublicKey for OAEP encryption/decryption and PKCS#1 v1.5/PSS signing/verification, including prehash and explicit-RNG variants (#638)
  • PrivateKey::from_components_with_large_exponent, gated on hazmat (#648)
  • Constant-time validation harness using cargo checkct/BINSEC (#732, #733, #749, #756, #771, #773)
  • PrivateKey::from_components_with_wide_primes for unbalanced two-prime keys, which ordinary constructors now reject (#755)
  • TryFrom<BitStringRef<'_>> for PKCS#1 v1.5 and PSS signatures (#764)
  • crypto_common::Generate implementation and Generate re-export for generating 3072-bit keys with public exponent 65537 (#780)

Changed

  • Replace BigUint in the public API with BoxedUint; return NonZero<BoxedUint> for the modulus and Odd<BoxedUint> for prime factors (#394, #735)
  • Use crypto-primes for prime generation (#394)
  • Use DER-based key encodings and hex-or-binary serde representations via serdect; extend serde support to OAEP, PKCS#1 v1.5, and PSS wrapper types (#420)
  • Accept arbitrary byte strings as OAEP labels (#467)
  • 1/PKCS#8encoding feature; std no longer implicitly enables encoding dependencies (#537, #543)
  • Enforce a 1024-bit minimum for key generation and default public-key construction/decoding; add PublicKey::new_with_size_limits and hazmat-gated unchecked key generation (#576, #760)
  • Bump pkcs1 to v0.8; pkcs8 to v0.11; spki to v0.8; serdect to v0.4 (#584, #684, #688, #766)
  • Make Oaep and Pss generic over their digest types instead of using DynDigest (#593)
  • Bump rand_core to v0.10, crypto-common to v0.2, digest to v0.11, and signature to v3 (#650, #671, #693)
  • Remove a redundant allocation during OAEP decryption (#659)
  • Improve encryption and verification performance by bounding exponentiation to the public exponent's bit length (#662)
  • Bump crypto-bigint to v0.7.10 and crypto-primes to v0.7 (#673, #766)

... (truncated)

Commits

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 <dependency name> major version will 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 version will 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 conditions

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 16, 2026
dependabot Bot and others added 2 commits November 23, 2026 06:42
Bumps the crypto group with 2 updates: [jsonwebtoken](https://github.com/Keats/jsonwebtoken) and [rsa](https://github.com/RustCrypto/RSA).


Updates `jsonwebtoken` from 11.1.0 to 12.0.0
- [Changelog](https://github.com/Keats/jsonwebtoken/blob/master/CHANGELOG.md)
- [Commits](Keats/jsonwebtoken@v11.1.0...v12.0.0)

Updates `rsa` from 0.9.10 to 0.10.0
- [Changelog](https://github.com/RustCrypto/RSA/blob/master/CHANGELOG.md)
- [Commits](RustCrypto/RSA@v0.9.10...v0.10.0)

---
updated-dependencies:
- dependency-name: jsonwebtoken
  dependency-version: 12.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: crypto
- dependency-name: rsa
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crypto
...

Signed-off-by: dependabot[bot] <support@github.com>
rsa 0.10 no longer re-exports an OsRng and moved its integers to
crypto-bigint 0.7: TestSigningKey::generate uses rsa::PrivateKey with the
SysRng of getrandom, on which easyssf-test now depends, and n_bytes/e_bytes
for the JWK. jsonwebtoken 12 needs no code changes.

The changelog notes the jsonwebtoken 12 types in the API. deny.toml keeps the
ignores for RUSTSEC-2023-0071 and RUSTSEC-2026-0387, which now reach the
workspace only through openidconnect 4 of example-oidc-client.

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
@thomasdarimont
thomasdarimont force-pushed the dependabot/cargo/crypto-1f0c115658 branch from 9be279a to 65e7139 Compare November 23, 2026 05:48
@thomasdarimont
thomasdarimont merged commit ebf64f4 into main Nov 23, 2026
5 checks passed
@dependabot
dependabot Bot deleted the dependabot/cargo/crypto-1f0c115658 branch November 23, 2026 05:58
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant