Repository navigation
feat(stack-kms-vendor): keyset records, derived data keys and the static key backend (CIP-5306) - #1647
Draft
freshtonic wants to merge 1 commit into
Conversation
…tic key backend (CIP-5306) The vendor seam (wrap, unwrap), keyset records, the derived data key mode with the root key TTL in the key source, the key router (ZeroKMS and at most one vendor, by keyset id), the static key backend, the transport seam, the shared credential cache, the contract suite and the fixture harness. The vendor and mode bytes are bound into every derived key.
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true |
|
Contributor
Mutation testing (cargo-mutants,
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Layer 3 of the CIP-5203 stack. Implements CIP-5306 (ADR-0014).
stack-kms-vendor, with theKeyVendorBackendtrait (wrap,unwrap,sleep). Each vendor crate implements only this trait.KeysetRecordis a versioned record, written asstack-keyset:+ base64url, withcreateandrewrap.KeyRouterholds ZeroKMS and at most one vendor, and routes by keyset.retry(backoff on throttling), theVendorTransporttrait, and a shared contract suite.stack-encryptdoes not change. Decisions are indocs/plans/2026-11-05-key-vendor-backends-decisions.md(CIP-5306 section).Replaces #1625, which was closed.