Skip to content

fix: recover v3 recipients from provenance seed - #20

Open
mm9942 wants to merge 1 commit into
mainfrom
agent/release-3.0.2-provenance
Open

fix: recover v3 recipients from provenance seed#20
mm9942 wants to merge 1 commit into
mainfrom
agent/release-3.0.2-provenance

Conversation

@mm9942

@mm9942 mm9942 commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a public 32-byte provenance-seed derivation API for v3 recipient recovery
  • rederive recipient key pairs on open instead of treating KEM-specific private material as provenance state
  • release 3.0.2 across manifests and README; remove the unreachable draft reference

Root cause

The v3 recipient representation can use KEM-specific private material larger than Harw's fixed 32-byte provenance seed. Persisting that representation crossed the provenance boundary incorrectly.

Validation

  • cargo fmt --check
  • git diff --check
  • CARGO_HOME=/tmp/crypt-guard-cargo-home cargo --config 'build.rustc-wrapper=""' test
  • CARGO_HOME=/tmp/crypt-guard-cargo-home cargo --config 'build.rustc-wrapper=""' package --manifest-path crypt_guard_proc/Cargo.toml --allow-dirty --offline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants