From 994223d924635aae78e4e6a71c923b40acb99baa Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Mon, 16 Nov 2026 20:25:03 -0700 Subject: [PATCH] zeroize v1.9.2 --- Cargo.lock | 16 ++++++++-------- zeroize/CHANGELOG.md | 10 +++++++++- zeroize/Cargo.toml | 4 ++-- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index afc582cb..5abafc13 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -60,7 +60,7 @@ version = "0.12.1" dependencies = [ "hex-literal 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "hybrid-array", - "zeroize 1.9.1 (registry+https://github.com/rust-lang/crates.io-index)", + "zeroize 1.9.1", ] [[package]] @@ -727,7 +727,7 @@ name = "sponge-cursor" version = "0.1.0" dependencies = [ "keccak", - "zeroize 1.9.1 (registry+https://github.com/rust-lang/crates.io-index)", + "zeroize 1.9.1", ] [[package]] @@ -944,18 +944,18 @@ dependencies = [ [[package]] name = "zeroize" version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" + +[[package]] +name = "zeroize" +version = "1.9.2" dependencies = [ "criterion", "serde", "zeroize_derive", ] -[[package]] -name = "zeroize" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" - [[package]] name = "zeroize_derive" version = "1.5.0" diff --git a/zeroize/CHANGELOG.md b/zeroize/CHANGELOG.md index 72ae5e6b..b4a4f5d3 100644 --- a/zeroize/CHANGELOG.md +++ b/zeroize/CHANGELOG.md @@ -4,12 +4,20 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## 1.9.2 (UNRELEASED) +## 1.9.2 (2026-11-17) +### Added +- Optimized `zeroize_bytes` function ([#1604]) + ### Changed - Implement `optimization_barrier` using `core::hint::black_box` on targets without stable `asm!` ([#1592]) +- Optimized slice zeroization ([#1602], [#1603], [#1607]) [#1592]: https://github.com/RustCrypto/utils/pull/1592 +[#1602]: https://github.com/RustCrypto/utils/pull/1602 +[#1603]: https://github.com/RustCrypto/utils/pull/1603 +[#1604]: https://github.com/RustCrypto/utils/pull/1604 +[#1607]: https://github.com/RustCrypto/utils/pull/1607 ## 1.9.1 (2026-10-06) ### Changed diff --git a/zeroize/Cargo.toml b/zeroize/Cargo.toml index a3b07dcd..8b59347c 100644 --- a/zeroize/Cargo.toml +++ b/zeroize/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zeroize" -version = "1.9.1" +version = "1.9.2" authors = ["The RustCrypto Project Developers"] edition = "2024" rust-version = "1.85" @@ -14,7 +14,7 @@ Securely clear secrets from memory with a simple trait built on stable Rust primitives which guarantee memory is zeroed using an operation will not be 'optimized away' by the compiler. Uses a portable pure Rust implementation that works everywhere, -even WASM! +even WASM, with `asm!` optimizations on select platforms """ [dependencies]