Skip to content

feat(fleet-cert): add standalone key generate and inspect - #14476

Merged
dezren39 merged 2 commits into
mainfrom
code-j/13726-key-ceremony
Nov 24, 2026
Merged

dezren39 merged 2 commits into
mainfrom
code-j/13726-key-ceremony

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Implements the first vertical slice of #13726: standalone fleet cert key generate and fleet cert key inspect commands.

  • Generates PKCS#8 DER keys without replacing existing files; uses owner-only permissions on Unix.
  • Inspects keys using the explicitly selected algorithm and emits only public-key metadata.
  • Adds a regression test for generation, inspection, overwrite protection, and Unix file mode.

Validation: Fleet Actions run 45437490133 (cargo test -p fleet-cert) is in progress.

This is a partial slice; import/export/escrow/restore/rotate remain tracked by #13726.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T16:31:25Z",
    "session_id": "ses_e5df1c92165ffeb436Va2V432h",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/.local/share/opencode/worktree/7c7733/code-j-13726-key-ceremony",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/.local/share/opencode/worktree/7c7733/code-j-13726-key-ceremony",
      "repo": "developing-today/code",
      "branch": "code-j/13726-key-ceremony",
      "sha": "9ca139bff5aabe6c233824e4bd2640a17e171492"
    },
    "auth_subject": "code-j",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 40 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f4bb9d39-8ddc-4d30-823c-8842db6028fb
Commits

Reviewing files that changed from the base of the PR and between 26795ce and 7effe8c.

Files selected for processing: 2

  • pkgs/fleet/crates/fleet-cert/src/cli.rs
  • pkgs/fleet/crates/fleet-cert/src/engine.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39
dezren39 marked this pull request as ready for review November 24, 2026 17:19
@dezren39
dezren39 merged commit 352f56e into main Nov 24, 2026
2 checks passed
@dezren39
dezren39 deleted the code-j/13726-key-ceremony branch November 24, 2026 18:28
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.

1 participant