From de95bac5aa23a8182a78a20f3fea685e6ea01f35 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Fri, 23 Oct 2026 06:40:24 -0600 Subject: [PATCH] Bump `crypto-bigint` to v0.7.6; MSRV 1.87 This release includes important security fixes for constant-time operation which require an MSRV bump. I was hoping we could get an initial stable release out with MSRV 1.85 but unfortunately it doesn't look like we'll be able to address the constant-time issues in `crypto-bigint` without this bump. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/workspace.yml | 2 +- Cargo.lock | 10 +++++----- Cargo.toml | 4 ++-- README.md | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 128fc813..b89fb32e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: rust: - - 1.85.0 # MSRV + - 1.87.0 # MSRV - stable target: - thumbv7em-none-eabi @@ -40,7 +40,7 @@ jobs: strategy: matrix: rust: - - 1.85.0 # MSRV + - 1.87.0 # MSRV - stable steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index b52ee89c..b16b0f61 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -22,7 +22,7 @@ jobs: - uses: RustCrypto/actions/cargo-cache@master - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.85.0 + toolchain: 1.87.0 components: clippy - run: cargo clippy --all -- -D warnings diff --git a/Cargo.lock b/Cargo.lock index 61783393..da92a2b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -169,9 +169,9 @@ dependencies = [ [[package]] name = "crypto-bigint" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a52aa3fcda4e6302a9f48734f234d35d4721b96f8fe07d073f07ce9df4f0271" +checksum = "6bb08299a6046833a879ace115697f12fd2bd6c8d3e93c909ffc9e0738e7cae0" dependencies = [ "cpubits", "ctutils", @@ -214,9 +214,9 @@ dependencies = [ [[package]] name = "ctutils" -version = "0.4.2" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d5515a3834141de9eafb9717ad39eea8247b5674e6066c404e8c4b365d2a29e" +checksum = "38d28fb6aa7dd680b3ffd1a3e64e115c177bdba63c0ae7f9cd48129ff05c4fa0" dependencies = [ "cmov", ] @@ -976,7 +976,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom 0.4.3", "once_cell", "rustix", "windows-sys", diff --git a/Cargo.toml b/Cargo.toml index 04375b9c..99d3937b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,12 +10,12 @@ repository = "https://github.com/RustCrypto/RSA" keywords = ["rsa", "encryption", "security", "crypto"] categories = ["cryptography"] readme = "README.md" -rust-version = "1.85" +rust-version = "1.87" exclude = ["marvin_toolkit/", "thirdparty/"] [dependencies] const-oid = { version = "0.10", default-features = false } -crypto-bigint = { version = "0.7", default-features = false, features = ["zeroize", "alloc"] } +crypto-bigint = { version = "0.7.6", default-features = false, features = ["zeroize", "alloc"] } crypto-primes = { version = "0.7", default-features = false } digest = { version = "0.11", default-features = false, features = ["alloc", "oid"] } rand_core = { version = "0.10", default-features = false } diff --git a/README.md b/README.md index 21164d6b..eedd1778 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ dual licensed as above, without any additional terms or conditions. [build-image]: https://github.com/RustCrypto/RSA/actions/workflows/ci.yml/badge.svg?branch=master [build-link]: https://github.com/RustCrypto/RSA/actions/workflows/ci.yml?query=branch:master [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg -[msrv-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg +[msrv-image]: https://img.shields.io/badge/rustc-1.87+-blue.svg [chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg [chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260047-RSA [deps-image]: https://deps.rs/repo/github/RustCrypto/RSA/status.svg