Repository navigation
refactor(keys): depend on envelope-keys instead of sekai-keys - #146
Merged
Merged
Conversation
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.
Closes #145
Swap the runner's key-provider contract from a git pin on
sekai-keystoenvelope-keys = "1"on crates.io. The wrap/unwrap API, wrapped-DEK JSON, AEAD associated data, and KEK file format stay the same; keys wrapped before the switch still unwrap.Reuse decision
envelope-keys1.0.0 at the existingkako::cryptore-export seamKeyProviderconsumer. Provider credentials never enter the scratch tree.sekai-keys,sekai_keys,KeyProvider,FileKeyProvider,crypto.rs, ADR 0015. Rejected keeping the git pin, copying the contract, or adding a kako-local provider.Lane
refactor/145.worktrees/issue-1457649c3cd3863937907177ad45f7b6e053898ac0aa2d81fe6f6ea7d52569ecbf2989bd40745c6b8f2Compatibility
Security-sensitive dependency swap with an unchanged envelope format. No stored-format, wire, or configuration change.
The pinned mizuchi engine (
v0.1.0) still listssekai-keysas its own dependency, soCargo.lockstill contains that package throughmizuchi-io. kako's workspace manifest and thekakopackage no longer depend on it.Simplify-change
Dropped an unrelated
tempfilelockfile bump. Kept the import rename, lockfile add, crate-graph checks, and one pre-switch unwrap test. No new provider or envelope format.Tests
unwrap_job_dek_reads_pre_switch_envelope: asekai-keys1.0.0 KEK file and wrapped DEK unwrap through kako's claim path to the expected DEK.kako_depends_on_envelope_keys_not_sekai_keys: workspace andkakolock entry nameenvelope-keys, notsekai-keys.Verification
On published SHA
a2d81fe6f6ea7d52569ecbf2989bd40745c6b8f2(clean tree; same tree as the pre-publish candidate):cargo fmt --all -- --checkcargo build --locked --workspace --all-targetscargo clippy --locked --workspace --all-targets -- -D warningscargo clippy --locked -p kako-source-sekai --features sekai-client --all-targets -- -D warningscargo test --locked --workspacecargo test --locked -p kako-source-sekai --features sekai-clientbash scripts/validate-workflow-skills.shpython3 scripts/adr-index --checkbash scripts/check-workflows.shpython3 -m unittest discover -s tests -t .All passed. Skipped live Sekai plane tests and kekkai-guest tests (named
#[ignore]). Python runtime packages are not installed in this environment; those tests skip.Autoreview
python3 …/autoreview --mode local --base origin/main --max-priority P1 --engine codex(modelgpt-6.1-sol):scoped-clean, exit 0. No accepted/actionable findings.validate-behavior
Skipped: no user-observable CLI or API flow; the contract is unwrap of existing envelopes, covered by the unit test above.