GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fleet-cert: add trust bundle commands by dezren39 · Pull Request #14475 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

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


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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
dezren39 added 2 commits November 24, 2026 10:22
@dezren39
fleet-cert: add trust bundle commands
21c22b8
@dezren39
Merge remote-tracking branch 'origin/main' into queue/23502-trust-verbs
8241699
@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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 25, 2026
cert: dns verb group — CAA + DANE planning (§6.1) #13724
Open
fleet-cert: offline dns plan, render and verify for CAA and TLSA (#13724) #15454
Merged
fleet: ready PRs are left unmerged (20 open; the merge sweep has filed nothing since 2026-11-17) #12280
Open
@dezren39

dezren39 commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

Merge-watch salvage note — closing as superseded by main (protocol §8)

Merge-watch recheck (queue task 23980) against current main e79730eb9373aeacc8318fa9fb634604d928c0d9:

  • GitHub mergeable verdict: unknown/null on repeated REST + GraphQL probes.
  • Mergibility verdict: conflicting. Both this branch (head 8241699201a67d4133b964b7b9d38340271037d9) and current main carry pkgs/fleet/crates/fleet-cert/src/trust.rs with entirely different content, and both define a trust_cmd in cli.rs with a different trust export signature — a textual and semantic collision, not a rebase-refresh case.
  • Superseding work: main's BT-2 trust implementation for broker-tls BT-2: trust-bundle consumption for broker clients (versioned, two-phase rollover, ack in health) #14400 (trust export | stage | ack | activate | retire | status) already provides trust-bundle assembly/export from root-set bundles, root fingerprints, and fail-closed bundle/store drift checks.

Unique to this PR — salvage candidates for a follow-up on #13725 (not "nothing unique"):

  1. Explicit pinset workflow: trust pin / trust verify --pins <pinset.json> (pin exact fingerprints, verify bundle/store drift against the pinset).
  2. Consumer-targeted export: trust export --target <consumer> with per-consumer install/verify/remove manifest guidance, and the ssh target refusal (OpenSSH CA trust is not X.509).
  3. trust inspect verb and self-signed-proof anchor admission (re-parse + signature proof; the role label alone never admits an anchor).
  4. Tests: pin drift, missing/extra store anchors, export hash/PEM round-trip, OpenSSL parsing, SSH policy refusal (in tests/hierarchy.rs + trust.rs on this branch).

Reconciling those into main's BT-2 trust module is fresh design work, explicitly out of scope for this merge-watch packet, so this PR is closed rather than refreshed. Issue #13725 stays open for that follow-up. Branch queue/23502-trust-verbs is retained for salvage.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 closed this Nov 26, 2026
This was referenced Nov 26, 2026
cert: trust verb group — bundle assembly + pinning (§6.1) #13725
Closed
cert: salvage PR #14475 pin/verify + consumer-export trust verbs into BT-2 trust module #15612
Closed
feat(fleet-cert): salvage pin/verify and consumer-export trust verbs into BT-2 #15624
Merged
dezren39 added a commit that referenced this pull request Nov 26, 2026
@dezren39 @claude
feat(fleet-cert): salvage pin/verify and consumer-export trust verbs …
98ae942
…into BT-2 (#15624)

Port the unique work from closed PR #14475 beside main's BT-2 trust
module as fleet_cert::trust_consumer: signature-proven anchor
selection over a root set, trust pin / verify --pins | --store,
trust export --target <consumer> with per-consumer install/verify/
remove guidance, trust install-plan, and the ssh refusal. Existing
trust verbs now accept --json.

Part of #15612

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

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

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.