Skip to content

fleet-cert: add trust bundle commands - #14475

Open
dezren39 wants to merge 2 commits into
mainfrom
queue/23502-trust-verbs
Open

dezren39 wants to merge 2 commits into
mainfrom
queue/23502-trust-verbs

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Summary

fleet cert trust library and CLI surface:

trust assemble
  prove self-signed root anchors
  select all / classical / PQ
  pin exact fingerprints and verify bundle/store drift
  export consumer-targeted PEM + install/verify/remove manifest

The ssh target is refused (OpenSSH CA trust is not X.509). export and install-plan are documentation/output only; no live trust-store mutation is included.

Evidence

  • Before: no trust assembly, pinning, consumer export, or drift-check surface.
    After: cargo test -p fleet-cert passes: 19 unit tests, 9 hierarchy integration tests, and 3 OCSP integration tests.
  • Trust tests cover all/classical/PQ membership, pin drift, missing/extra store anchors, export hash/PEM round-trip, OpenSSL parsing, and SSH policy refusal.

Merge Danger

Door: Two-way; the library and CLI additions can be reverted without changing existing trust stores.

Blast Radius: Low; scoped to the fleet-cert crate and its CLI/docs/tests.

Closes #13725


Proof this PR
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 29 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: 77eead07-49c1-47da-96a2-996e423c33fb
Commits

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

Files selected for processing: 6

  • pkgs/fleet/crates/fleet-cert/README.md
  • pkgs/fleet/crates/fleet-cert/src/chain.rs
  • pkgs/fleet/crates/fleet-cert/src/cli.rs
  • pkgs/fleet/crates/fleet-cert/src/lib.rs
  • pkgs/fleet/crates/fleet-cert/src/trust.rs
  • pkgs/fleet/crates/fleet-cert/tests/hierarchy.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

This branch has not been deployed

No deployments
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.

cert: trust verb group — bundle assembly + pinning (§6.1)

1 participant