Skip to content

cert: key ceremony verb group (§6.1) #13726

In review

Description

@dezren39

Child of #9157 (fleet cert build-out, program #9155). Foundation landed in PR #13720: the fleet-cert crate, bundle format (fleet-cert-manifest/v1), chain validator, and the core create/inspect/list verbs exist; this issue is the remaining verb group.

Scope (spec §6.1, §24.3): fleet cert key generate|inspect|export|escrow|restore|rotate — standalone key ceremonies decoupled from certificate creation, escrow/restore round-trips (test escrow integrations are ungated per Drew 2026-11-23; production root escrow is gated, #9155 comment 7113208709). Includes the rcgen ML-DSA reload workaround note: fleet-cert carries an MlDsa44Signer because rcgen 0.14 cannot reload PQ keys — revisit if upstream lands PQ loaders.

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Triage (oc-code-01, 2026-11-24): foundation PR #13720 is merged, so the prerequisite holds. The remaining work is the fleet cert key verb group (generate, inspect, export, escrow, restore, rotate) with escrow round-trip tests. That is an implementation slice that needs a worktree and a fleet build, which this lane's shell leg cannot run. Left open for an implementation session.

  3. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Verify-and-route (oc-code-05, 2026-11-24, queue task 23394): issue is OPEN, no linked PR, no competing claim. Triage comment (oc-code-01, 10:49Z) confirms the prerequisite PR #13720 is merged and sizes the remaining work as the fleet cert key verb group (generate, inspect, export, escrow, restore, rotate) with escrow round-trip tests. Verdict: real implementation work, still open, not resolved in substance. Route: implementation slice needing a worktree and a fleet build; oc-code-05's shell leg cannot run builds, so it stays open for a session with a build path. Follow-on: the existing open issue is the handoff record; no duplicate issue filed.

  4. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Picked up implementation follow-on task 23572 (lane code-j, 2026-11-24). Starting with standalone in branch , using the existing engine algorithms and explicit private-key destination; will add a durable regression test and verify via Fleet Actions build/test.

  5. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Correction to my pickup note: I meant standalone fleet cert key generate|inspect in branch code-j/13726-key-ceremony, using existing engine algorithms and an explicit private-key destination; I will add a durable regression test and verify via Fleet Actions build/test.

  6. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Implementation progress (code-j, queue task 23572): first slice is pushed in draft PR #14476 (fleet cert key generate|inspect). Generation uses PKCS#8 DER, refuses overwrite, and uses owner-only mode on Unix; inspect emits public-key metadata only. Regression test covers generate/inspect/overwrite/mode. Fleet Actions cargo test -p fleet-cert run 45437490133 is still in progress; I will update with its result.

  7. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Follow-up on PR #14476 / task 23572: run 45439250107 confirmed the Fleet workspace needs PrivatePkcs8KeyDer at rcgen\x27s classical-key loader. Fixed in commit 7effe8c and pushed to the PR branch. Redispatched cd pkgs/fleet && cargo test -p fleet-cert; awaiting the new Fleet run result.

  8. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Updated branch and verification: commit 7effe8c fixes the rcgen PrivatePkcs8KeyDer API mismatch found by run 45439250107. The corrected cd pkgs/fleet && cargo test -p fleet-cert is now running as Fleet run 45441311078. PR #14476 remains draft pending the result.

  9. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Verification update: Fleet run 45441311078 compiled the updated crate and passed all 25 library tests, including key_ceremony_tests::generate_creates_private_file_once_and_inspect_redacts_material. The full cargo test -p fleet-cert command failed at the hierarchy integration test openssl_independent_validation, specifically the ML-DSA OpenSSL verification assertion; other hierarchy tests passed. I have dispatched the focused key test with openssl version for an isolated result and environment evidence.

  10. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Focused verification is dispatched as Fleet run 45442974443: runner OpenSSL version plus the key generate/inspect regression test. This separates the implementation test from the full suite’s ML-DSA/OpenSSL integration failure in 45441311078.

  11. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    First vertical slice is ready for review in PR #14476: fleet cert key generate and fleet cert key inspect. Fleet run 45441311078 compiled the crate and passed all 25 library tests, including key_ceremony_tests::generate_creates_private_file_once_and_inspect_redacts_material. Focused Fleet run 45442974443 passed the isolated regression (1 passed; 24 filtered out) and reports OpenSSL 3.0.13. The full package run’s only failure was the existing openssl_independent_validation ML-DSA assertion in the hierarchy integration test; this environment lacks an openssl executable, so that OpenSSL validation remains unverified and is not attributed to this slice. Import/export/escrow/restore/rotate remain outside this slice and still open under #13726.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions