From 73d30f20e1c7e6e0096a0756577b0333c0df9227 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 12 Nov 2026 23:13:35 +0000 Subject: [PATCH 1/2] Move to secure-gate 0.9.0-rc.18; open aescrypt-rs rc.19 and aescrypt-cli rc.7 secure-gate rc.18 is the last candidate before 0.9.0. Re-pin it exactly in the library, the CLI and fuzz/, move the CLI's pin on the library to the new rc, and open both changelog sections. No code changes: nothing rc.18 changes is used or enabled here. Checked on Rust 1.87: fmt, clippy -D warnings (workspace, all targets, all features), 219 tests passed, docs with -D warnings, and `cargo publish -p aescrypt-rs --locked --dry-run`. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01SL2CGojiweABi2WMaZpHiu --- .claude/skills/aescrypt-rs-secure-gate/SKILL.md | 8 +++++--- CHANGELOG.md | 14 ++++++++++++++ Cargo.lock | 8 ++++---- Cargo.toml | 4 ++-- aescrypt-cli/CHANGELOG.md | 9 +++++++++ aescrypt-cli/Cargo.toml | 6 +++--- fuzz/Cargo.lock | 6 +++--- fuzz/Cargo.toml | 2 +- 8 files changed, 41 insertions(+), 16 deletions(-) diff --git a/.claude/skills/aescrypt-rs-secure-gate/SKILL.md b/.claude/skills/aescrypt-rs-secure-gate/SKILL.md index 17bd0f1..871d2f6 100644 --- a/.claude/skills/aescrypt-rs-secure-gate/SKILL.md +++ b/.claude/skills/aescrypt-rs-secure-gate/SKILL.md @@ -28,10 +28,12 @@ fuzz crate depends on this one, so a drift between the two produces two secure-g one graph. Bumping means changing both pins and running `cargo update -p secure-gate` in **both** lockfiles. -**Every rule in the global skill is read against rc.15** (pinned since aescrypt-rs -0.2.0-rc.15). This crate declares no newtypes, so the rc.13 `derive: [ConstantTimeEq]` break +**Every rule in the global skill is read against rc.18** (pinned since aescrypt-rs +0.2.0-rc.19). This crate declares no newtypes, so the rc.13 `derive: [ConstantTimeEq]` break did not hit it, and the opt-in `sealed` feature is not enabled, so rc.14 and rc.15, which -change only `sealed`, did not either. A secure-gate bump is still a +change only `sealed`, did not either. rc.16 removed `from_rng` and the `From*Str` traits, +and rc.18 made the bech32 checksum types private and renamed `traits::revealed_secrets`; +this crate used none of them. A secure-gate bump is still a coordinated ecosystem wave, since several first-party crates pin exactly and two different exact requirements in one compatibility range cannot resolve. diff --git a/CHANGELOG.md b/CHANGELOG.md index da56e74..e9702cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,20 @@ All notable changes to this project are 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). +## [0.2.0-rc.19] - Unreleased + +### Changed + +- `secure-gate` is re-pinned from `=0.9.0-rc.17` to `=0.9.0-rc.18`, the last + candidate before 0.9.0. Nothing rc.18 changes reaches this crate's API or + output. rc.18 makes the bech32 checksum types private, renames + `traits::revealed_secrets` to `traits::encoded_secret`, stops enabling serde's + `derive` and raises its serde floor to 1.0.95; this crate names none of those + and enables none of secure-gate's serde or encoding features. rc.18's wipe fix + for rejected hex, Base32 and Base64url input is in decoders this crate does not + call. The release exists so a consumer's graph can hold one `secure-gate`, + which this crate's exact pin otherwise prevents. + ## [0.2.0-rc.18] - 2026-10-29 ### Changed diff --git a/Cargo.lock b/Cargo.lock index a482411..14f9157 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -16,7 +16,7 @@ dependencies = [ [[package]] name = "aescrypt-cli" -version = "0.1.0-rc.6" +version = "0.1.0-rc.7" dependencies = [ "aes", "aescrypt-rs", @@ -36,7 +36,7 @@ dependencies = [ [[package]] name = "aescrypt-rs" -version = "0.2.0-rc.18" +version = "0.2.0-rc.19" dependencies = [ "aes", "criterion", @@ -912,9 +912,9 @@ dependencies = [ [[package]] name = "secure-gate" -version = "0.9.0-rc.17" +version = "0.9.0-rc.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eb6dee38c7f22d2ed83355f29744042e44fa3b18da4a16da222d1d0523b02b5" +checksum = "c5555fcbdd3c62beb6601d6a4d1097f65656bf6c7b677996be1f0c10575a82c1" dependencies = [ "base16ct", "base32ct", diff --git a/Cargo.toml b/Cargo.toml index a6080ab..54a96c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ name = "aescrypt-rs" # `aescrypt-cli` is versioned on its own and pins a published release of this # crate with `=`; a bump here does not bump it. -version = "0.2.0-rc.18" +version = "0.2.0-rc.19" edition = "2024" rust-version = "1.87" description = "AES Crypt (v0-v3) Rust encryption/decryption library" @@ -115,7 +115,7 @@ pbkdf2 = { version = "0.13", default-features = false, features = ["hmac"] } # # NOTE: `secure-gate = "0.9"` resolves to NOTHING — a caret matches a pre-release # only when the requirement itself carries one for the same major.minor.patch. -secure-gate = { version = "=0.9.0-rc.17", features = ["rand", "ct-eq"] } +secure-gate = { version = "=0.9.0-rc.18", features = ["rand", "ct-eq"] } sha2 = { version = "0.11", default-features = false, features = ["zeroize"] } thiserror = "2.0" diff --git a/aescrypt-cli/CHANGELOG.md b/aescrypt-cli/CHANGELOG.md index 6b8736c..c3044b0 100644 --- a/aescrypt-cli/CHANGELOG.md +++ b/aescrypt-cli/CHANGELOG.md @@ -7,6 +7,15 @@ 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). Versioned independently of `aescrypt-rs`; `--version` shows both. +## [0.1.0-rc.7] - Unreleased + +### Changed + +- Built on `aescrypt-rs` 0.2.0-rc.19, which this release pins exactly, so + `aescrypt-rs` 0.2.0-rc.19 must be published first. `secure-gate`, which this + CLI also pins directly, moves from `=0.9.0-rc.17` to `=0.9.0-rc.18`, the last + candidate before 0.9.0. No behavior change. + ## [0.1.0-rc.6] - 2026-10-29 ### Changed diff --git a/aescrypt-cli/Cargo.toml b/aescrypt-cli/Cargo.toml index 114edf0..c913454 100644 --- a/aescrypt-cli/Cargo.toml +++ b/aescrypt-cli/Cargo.toml @@ -5,7 +5,7 @@ [package] name = "aescrypt-cli" # Versioned on its own, independently of aescrypt-rs. `--version` shows both. -version = "0.1.0-rc.6" +version = "0.1.0-rc.7" edition = "2024" rust-version = "1.87" description = "Command-line tool for AES Crypt files (decrypts v0-v3, writes v3), built on aescrypt-rs" @@ -38,7 +38,7 @@ path = "src/main.rs" # Exact pin: the version this CLI was built and tested against. `path = ".."` # makes the workspace build the CLI on the repo's library; crates.io sees only # the version. (0.1.0-rc.5 pinned the published 0.2.0-rc.16 without `path`.) -aescrypt-rs = { path = "..", version = "=0.2.0-rc.18" } +aescrypt-rs = { path = "..", version = "=0.2.0-rc.19" } # AES-256-CTR for the sealed stdout stage (#72). The same `aes` the library # uses, so nothing new enters the graph; `zeroize` wipes its key schedule. aes = { version = "0.9", features = ["zeroize"] } @@ -49,7 +49,7 @@ same-file = "1.0" # MUST stay character-identical to the line in ../Cargo.toml and # ../fuzz/Cargo.toml — any divergence puts two semver-incompatible copies of # secure-gate in one graph. -secure-gate = { version = "=0.9.0-rc.17", features = ["rand", "ct-eq"] } +secure-gate = { version = "=0.9.0-rc.18", features = ["rand", "ct-eq"] } tempfile = "3.10" thiserror = "2.0" zeroize = "1.9.1" diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index 8090fb1..63cb05f 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -16,7 +16,7 @@ dependencies = [ [[package]] name = "aescrypt-rs" -version = "0.2.0-rc.18" +version = "0.2.0-rc.19" dependencies = [ "aes", "hmac", @@ -295,9 +295,9 @@ checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" [[package]] name = "secure-gate" -version = "0.9.0-rc.17" +version = "0.9.0-rc.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eb6dee38c7f22d2ed83355f29744042e44fa3b18da4a16da222d1d0523b02b5" +checksum = "c5555fcbdd3c62beb6601d6a4d1097f65656bf6c7b677996be1f0c10575a82c1" dependencies = [ "base16ct", "base32ct", diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 3963347..20da40c 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -33,7 +33,7 @@ libfuzzer-sys = { version = "0.4", optional = true } # secure-gate directly as well as on `aescrypt-rs` by path, so any divergence puts # two semver-incompatible copies in one graph — the symptom is the baffling # `expected Fixed<[u8; 32]>, found Fixed<[u8; 32]>`. -secure-gate = { version = "=0.9.0-rc.17", features = ["rand", "ct-eq"] } +secure-gate = { version = "=0.9.0-rc.18", features = ["rand", "ct-eq"] } aes = "0.9" hmac = "0.13" sha2 = { version = "0.11", default-features = false } From f6d87749f037f4b10c8fea0b0a7e1d855fb75727 Mon Sep 17 00:00:00 2001 From: Slurp9187 <112834292+Slurp9187@users.noreply.github.com> Date: Thu, 12 Nov 2026 16:22:44 -0700 Subject: [PATCH 2/2] release: date aescrypt-rs 0.2.0-rc.19 and aescrypt-cli 0.1.0-rc.7 Cut both changelog sections to 2026-11-12, add the plan doc, and drop this branch's edit to the aescrypt-rs-secure-gate skill: main now keeps secure-gate versions out of that skill entirely (615875f). Co-Authored-By: Claude Opus 5.5 --- .../skills/aescrypt-rs-secure-gate/SKILL.md | 8 ++--- CHANGELOG.md | 2 +- aescrypt-cli/CHANGELOG.md | 2 +- docs/plans/secure-gate-rc18-2026-11-12.md | 31 +++++++++++++++++++ 4 files changed, 36 insertions(+), 7 deletions(-) create mode 100644 docs/plans/secure-gate-rc18-2026-11-12.md diff --git a/.claude/skills/aescrypt-rs-secure-gate/SKILL.md b/.claude/skills/aescrypt-rs-secure-gate/SKILL.md index 871d2f6..17bd0f1 100644 --- a/.claude/skills/aescrypt-rs-secure-gate/SKILL.md +++ b/.claude/skills/aescrypt-rs-secure-gate/SKILL.md @@ -28,12 +28,10 @@ fuzz crate depends on this one, so a drift between the two produces two secure-g one graph. Bumping means changing both pins and running `cargo update -p secure-gate` in **both** lockfiles. -**Every rule in the global skill is read against rc.18** (pinned since aescrypt-rs -0.2.0-rc.19). This crate declares no newtypes, so the rc.13 `derive: [ConstantTimeEq]` break +**Every rule in the global skill is read against rc.15** (pinned since aescrypt-rs +0.2.0-rc.15). This crate declares no newtypes, so the rc.13 `derive: [ConstantTimeEq]` break did not hit it, and the opt-in `sealed` feature is not enabled, so rc.14 and rc.15, which -change only `sealed`, did not either. rc.16 removed `from_rng` and the `From*Str` traits, -and rc.18 made the bech32 checksum types private and renamed `traits::revealed_secrets`; -this crate used none of them. A secure-gate bump is still a +change only `sealed`, did not either. A secure-gate bump is still a coordinated ecosystem wave, since several first-party crates pin exactly and two different exact requirements in one compatibility range cannot resolve. diff --git a/CHANGELOG.md b/CHANGELOG.md index e9702cd..a113c2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project are 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). -## [0.2.0-rc.19] - Unreleased +## [0.2.0-rc.19] - 2026-11-12 ### Changed diff --git a/aescrypt-cli/CHANGELOG.md b/aescrypt-cli/CHANGELOG.md index c3044b0..3b1d15d 100644 --- a/aescrypt-cli/CHANGELOG.md +++ b/aescrypt-cli/CHANGELOG.md @@ -7,7 +7,7 @@ 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). Versioned independently of `aescrypt-rs`; `--version` shows both. -## [0.1.0-rc.7] - Unreleased +## [0.1.0-rc.7] - 2026-11-12 ### Changed diff --git a/docs/plans/secure-gate-rc18-2026-11-12.md b/docs/plans/secure-gate-rc18-2026-11-12.md new file mode 100644 index 0000000..358e022 --- /dev/null +++ b/docs/plans/secure-gate-rc18-2026-11-12.md @@ -0,0 +1,31 @@ +# secure-gate 0.9.0-rc.18 (aescrypt-rs rc.19, aescrypt-cli rc.7) + +**Status (2026-11-12):** built in PR #82, released through `/publish-prep` the same day. + +## Why + +secure-gate 0.9.0-rc.18 is on crates.io (index checked: live, rust-version 1.87) and is the +last candidate before 0.9.0. encrypted-file-vault pins this crate exactly and also depends on +secure-gate directly, so it can take rc.18 only once a release of this crate pins rc.18 too. + +## Measured state + +rc.18's breaks: the bech32 checksum types become private, `traits::revealed_secrets` is +renamed to `traits::encoded_secret`, and serde's `derive` is no longer enabled for +dependents. This crate enables only `rand` and `ct-eq` and names none of those, so no code +changes. The MSRV stays 1.87. + +## Change + +- `=0.9.0-rc.17` → `=0.9.0-rc.18` in `Cargo.toml`, `aescrypt-cli/Cargo.toml`, `fuzz/Cargo.toml`. +- Library 0.2.0-rc.19; CLI 0.1.0-rc.7 with its library pin moved to `=0.2.0-rc.19`. +- Both lockfiles via `cargo update -p secure-gate`. +- The `aescrypt-rs-secure-gate` skill no longer records a secure-gate version (main, 615875f), + so this PR leaves it alone. + +## Verification + +Rust 1.87 per the `aescrypt-rs-publish-prep` profile: fmt, clippy (host and both cross +targets, split by crate), tests on 1.87 and stable, docs with and without private items, +`bench --no-run`, fuzz smoke tests, CI green, library dry run. The CLI dry run and packaged-CLI +test need library rc.19 on crates.io, so they run after the library is published.