Repository navigation
docs(plans): publish the AEAD crates as recipher-aead, with recipher, not under vitaminc's names - #2041
Conversation
… not under vitaminc's names The plan published vitaminc-aead and vitaminc-aead-derive from this repository under their vitaminc names, before the next stack-encrypt release. That is replaced: vitaminc-aead is not published again. It is renamed recipher-aead, the derive crate to match, and they are published with recipher, the new name of stack-encrypt, alongside recipher-frame. The plan already explained why vitaminc-aead kept its name: the crates on crates.io that depend on it (vitaminc-normalize, -prf, -ore and -encrypt, the vitaminc umbrella crate, clww-ore and ore-rs) would build against a second set of AEAD types. That now becomes the first step of publishing: each moves here or is released against recipher-aead before the rename. The notes on the unpublished crates say that the next release is recipher, and that an EQL release with its stack-encrypt feature waits for it. Stage 3's Done list records #2003, vitaminc's PR that deletes bindings/go (cipherstash/vitaminc#646), and #2004 for the differential fuzzers. Refs #1831
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
…naming it to match The plan said the derive crate is renamed to match recipher-aead. The intent is instead to remove vitaminc-aead-derive and move its Encrypt and Decrypt derives, changed as needed, into recipher-derive. That is not settled, so it is open question 2, with what is to decide: what recipher-derive is, whether recipher-aead still offers the derives, and what changes in them. The summary and the publishing steps point at the question instead of naming a derive crate. Refs #1831
cipherstash-agent
left a comment
There was a problem hiding this comment.
Review attestation
Reviewed f03ed614 · posted from Claude Code · claude-opus-5-5 · effort medium
Sources: code-review · claude-opus-5-5; mattpocock-skills:code-review · claude-opus-5-5; cross-check verification · claude-opus-5-5
Skills: code-review, mattpocock-skills:code-review, company-skills:rust-security, company-skills:review-cross-check, company-skills:review-post
This review ran after the PR merged into next. The findings are for follow-up. rust-security found nothing, because the PR changes no Rust code. Every finding was checked against f03ed614.
Findings (8): 4 major, 4 minor. 6 are inline comments and 2 are below.
AGENTS.md:94,AGENTS.md:765-769,release-plz.toml:86-91(outside diff) major These files still state the decision this PR reverses. They sayvitaminc-aeadandvitaminc-aead-derivekeep their names and are published before the nextstack-encryptrelease, while the plan now says neither happens. Update them, and list them in the plan's "Rules this changes".Cargo.toml:18-20says the same thing in softer words. Source: mattpocock-skills:code-review · claude-opus-5-5; code-review · claude-opus-5-5docs/plans/2026-11-14-move-vitaminc-aead-into-the-stack.md:3,:41-44(outside diff, spans hunks) minor The header still says "rewritten 26 November 2026", and the decisions list leaves out the 2 December decision. In the Summary, "They are published … withrecipher" includesvitaminc-aead-derive, but open question 2 plans to remove that crate. Source: mattpocock-skills:code-review · claude-opus-5-5; code-review · claude-opus-5-5
Generated by Claude Code
| rename cannot happen before that is done. | ||
| 2. Rename `vitaminc-aead` to `recipher-aead`, and `stack-encrypt` to | ||
| `recipher`. Settle `vitaminc-aead-derive` (open question 2). | ||
| 3. Publish `recipher` with `recipher-aead`, `recipher-frame`, and the |
There was a problem hiding this comment.
major recipher is not a new name on crates.io: it is the old name of zerokms-keyset, versions 0.1.0 to 0.3.3 plus a yanked 0.34.0, from cipherstash/cipherstash-suite (root Cargo.toml:90-91). Publishing stack-encrypt 0.3.0 as recipher fails because 0.3.0 is taken, and existing recipher = "0.3" users would get unrelated code. Say that the name is taken over, choose a first version above 0.34.0, and move the existing trusted publisher from cipherstash-suite.
Source: code-review · claude-opus-5-5
Generated by Claude Code
| derive crate or crates that open question 2 leaves. The names are new | ||
| on crates.io, so this needs trusted publishing set up for them here. |
There was a problem hiding this comment.
major crates.io lets an owner add a trusted publisher only to a crate that already exists. So recipher-aead, recipher-frame and any new derive crate need a first publish by hand with an owner's token (AGENTS.md:93 says the same of stack-encrypt-jsonpath). Add that step before the release-plz trusted-publishing publish.
Source: code-review · claude-opus-5-5
Generated by Claude Code
| engine's calls into the four would not compile. So before it becomes | ||
| `recipher-aead`, each of the four moves here or is released against | ||
| `recipher-aead`. The same holds for the other crates on crates.io that | ||
| depend on it: the `vitaminc` umbrella crate, `clww-ore` and `ore-rs` | ||
| (see the `[patch.crates-io]` table in the root `Cargo.toml`). |
There was a problem hiding this comment.
major This order cannot be followed. A dependent cannot be "released against recipher-aead" before the rename, because recipher-aead is published only in step 3, "and not before" (lines 252-254). Releasing it after step 3 leaves a gap in which the engine uses recipher-aead while crates.io's vitaminc-ore, -prf and the others still use vitaminc-aead. Say that only "moves here" can come first, or allow recipher-aead to publish before recipher. Step 1, lines 256-259, offers the same option.
Source: code-review · claude-opus-5-5
Generated by Claude Code
| 1. For each crate on crates.io that depends on `vitaminc-aead` (the four | ||
| above, the `vitaminc` umbrella crate, `clww-ore` and `ore-rs`), decide | ||
| whether it moves here or is released against `recipher-aead`. The |
There was a problem hiding this comment.
minor clww-ore and ore-rs do not depend on vitaminc-aead directly. In Cargo.lock they depend on vitaminc-ore and vitaminc-prf, and line 147 says they stay in cipherstash/ore.rs, so "moves here" does not apply to them. List only the direct dependents here, and add that clww-ore and ore-rs are then released against the new vitaminc-ore and vitaminc-prf. Lines 165-167 need the same change.
Source: mattpocock-skills:code-review · claude-opus-5-5
Generated by Claude Code
| 2. Rename `vitaminc-aead` to `recipher-aead`, and `stack-encrypt` to | ||
| `recipher`. Settle `vitaminc-aead-derive` (open question 2). |
There was a problem hiding this comment.
minor The plan never mentions stack-encrypt-jsonpath. It is in the stack-encrypt version group (release-plz.toml:16-19), stack-encrypt depends on it at ^0.3.0, and it is not on crates.io. As step 3 stands, recipher cannot be published. Say whether it is renamed, and list it in step 3 as a new name that also needs a first publish by hand.
Source: mattpocock-skills:code-review · claude-opus-5-5
Generated by Claude Code
| - **`eql-bindings` can be published until step 2.4.** Its `stack-encrypt` | ||
| feature is compiled against the `stack-encrypt` on crates.io when it is | ||
| published. Stage 1 changes no API, so that still compiles. Step 2.4 changes | ||
| the API that `eql-bindings` uses, and from then an EQL release waits for a | ||
| `stack-encrypt` release. | ||
| the API that `eql-bindings` uses, and from then an EQL release with that | ||
| feature waits for the first release of `recipher`. |
There was a problem hiding this comment.
minor Step 2.4 is done (#1955, line 342), so "can be published until step 2.4" describes a time that has passed. Also, packages/eql/release-plz.toml:51 sets publish_all_features = true and eql-bindings names stack-encrypt 0.3.0, which is not on crates.io. So every eql-bindings release waits for recipher, not only one "with that feature". Write the bullet in the present tense, to say this.
Source: code-review · claude-opus-5-5
Generated by Claude Code
Summary
This updates the plan for moving vitaminc's AEAD crates into this repository (
docs/plans/2026-11-14-move-vitaminc-aead-into-the-stack.md) with a decision made on 2 December.vitaminc-aeadis not published again under that name. It becomesrecipher-aead, and it is published only withrecipher, the new name ofstack-encrypt. The plan said to publish the crates under their vitaminc names, before the nextstack-encryptrelease. No code changes.Changes
recipher, asrecipher-aeadandrecipher-frame. What becomes ofvitaminc-aead-deriveis a new open question.vitaminc-aead": the reason the crate kept its name becomes a precondition for the rename. Each crate on crates.io that depends onvitaminc-aeadmust first move here or be released againstrecipher-aead. Those crates arevitaminc-normalize,-prf,-ore,-encrypt, thevitamincumbrella crate,clww-oreandore-rs.stack-encryptrelease, and the next release isrecipher;stack-encryptfeature waits forrecipher.stack-encryptrelease" is replaced by "Publishing, withrecipher", with three steps in order:vitaminc-aead-derive. The current intent is to remove it, and to move itsEncryptandDecryptderives, changed as needed, intorecipher-derive. The question lists what is to decide:recipher-deriveisstack-encrypt-deriverenamed, or a new crate;recipher-aeadstill offers the derives;bindings/go) and Go SDK: fuzz the Go frame codec against the guest's Rust codec, as vitaminc's differential fuzzers did #2004 (the differential fuzzers).Verification
vitaminc-aeadwas checked against the[patch.crates-io]comment and the dependencies in the rootCargo.toml.publish = false, withrelease = falseentries inrelease-plz.toml. This PR changes neither.docs/plans/.Related
Review notes
docs/plans/.