Repository navigation
chore(deps): bump ed25519-dalek to 3 for RUSTSEC-2026-0620 - #425
Conversation
ed25519-dalek 2.x pins curve25519-dalek ^4, and no fixed 4.x exists for RUSTSEC-2026-0620 (patched only in >= 5.1.0). Bumping to ed25519-dalek 3.0.0 resolves curve25519-dalek 5.1.0; no source changes are needed.
There was a problem hiding this comment.
Review — cycle-five-muse[bot]
Approving at 694d0dc.
Scope check: the diff is exactly the two manifest bumps (ed25519-dalek = "2.1" → "3" in crates/kharon-cli/Cargo.toml and crates/kharond/Cargo.toml) plus the Cargo.lock refresh — no source changes and no deny.toml ignore, matching Lothrop's call on #424 to bump rather than ignore.
Lock check: curve25519-dalek 4.1.3 is gone; the lock resolves a single curve25519-dalek 5.1.0 (the fixed line for RUSTSEC-2026-0620) under ed25519-dalek 3.0.0 / ed25519 3.0.0. The other new entries (sha2 0.11.3, digest 0.11.3, signature 3.0.0, cpufeatures 0.3.1, fiat-crypto 0.3.0, hybrid-array 0.4.15, block-buffer 0.12.1, crypto-common 0.2.2) are transitive consequences of that resolution; existing workspace dependencies stay on sha2 0.10.9 / digest 0.10.7 / signature 2.2.0. No unrelated bumps.
CI is the arbiter, and run 46450903831 at this head is green end to end: cargo-deny advisories (the step RUSTSEC-2026-0620 was failing on every PR), cargo fmt --all --check, cargo clippy --workspace --all-targets -- -D warnings, and cargo test --workspace all pass, as do the image and compose-e2e checks.
This unblocks merges again — it also explains #423's red check, and clears the way for M4's #393/#395 PRs when they open.
There was a problem hiding this comment.
Approve at 694d0dc.
Scope: two manifest lines (ed25519-dalek "2.1" → "3" in kharon-cli and kharond) plus the Cargo.lock refresh. No source changes and no deny.toml ignore, per Lothrop's call on #424.
Checked:
- Lock: a single
curve25519-dalek5.1.0; 4.1.3 is gone. The newsha2 0.11/digest 0.11/signature 3/cpufeatures 0.3stack is pulled in only by the ed25519 chain. Every other crate stays onsha2 0.10.9/digest 0.10.7/signature 2.2.0.ed255193 also drops itspkcs8andserdeedges, which nothing here used (it builds without them). - Deployed keys:
audit/keys.rsstores a raw 32-byte seed and loads it withSigningKey::from_bytes, and Ed25519 signing is deterministic (RFC 8032). So existingaudit_sign_key/audit_sign.pubfiles and already-signed checkpoints keep verifying after an upgrade, with no key or log migration. - RNG: seeds come from
rand 0.8'sOsRngviafill_bytes, notSigningKey::generate, so the rand_core version split doesn't reach this code. - CI at this head:
rustis green, including the cargo-deny advisories step that failed on RUSTSEC-2026-0620, plus fmt, clippy and tests. image and the three compose-e2e jobs are green too.
Non-blocking:
- If the suite doesn't already have one, add a known-answer test that pins a fixed seed to its public key and one checkpoint signature (or RFC 8032 test 1). That way a future dalek bump that changed the output of deployed audit logs would fail CI instead of slipping through.
- Root
Cargo.toml's[profile.dev.package.sha2] opt-level = 3now covers both sha2 versions. This is harmless, just noting it.
After this merges, #423 needs a fresh CI run at its head.
— Duet (kharon session)
Closes #424.
cargo-denyhas been failing on every PR (and would fail on a fresh master CI run) becauseRUSTSEC-2026-0620flagscurve25519-dalek 4.1.3, pulled in byed25519-dalek 2.2.0. A lockfile-only bump is impossible:ed25519-dalek 2.xrequirescurve25519-dalek ^4, and no fixed 4.x exists (patched only in>= 5.1.0).Lothrop picked the bump over a
deny.tomlignore.The change
Bump
ed25519-dalekfrom 2 to 3 incrates/kharon-cli/Cargo.tomlandcrates/kharond/Cargo.toml, and refreshCargo.lock. Resolution lands oned25519-dalek 3.0.0→curve25519-dalek 5.1.0.cargo tree -i curve25519-dalekshows a single 5.1.0; no 4.1.3 remains. No source changes — the SigningKey/VerifyingKey/Signature/Signer/Verifier surface is stable across the bump.Verification
cargo deny check(cargo-deny 0.20.2): advisories, bans, licenses, and sources all okcargo fmt --all --checkcargo clippy --workspace --all-targets -- -D warningscargo test --workspaceAll green locally.