Skip to content

fix(conformance): honor staging during bundle verification - #219

Merged
wolfv merged 2 commits into
fix/fulcio-authority-windowsfrom
fix/conformance-staging-root
Sep 20, 2026
Merged

wolfv merged 2 commits into
fix/fulcio-authority-windowsfrom
fix/conformance-staging-root

Conversation

@wolfv

@wolfv wolfv commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Use the embedded staging trust root for verify-bundle --staging; production remains the default.
  • Preserve explicit --trusted-root precedence over instance selection.

CLI regression verifies real production/staging bundles, rejects the wrong instance, and checks explicit-root precedence for both artifact-file and digest inputs.

Stack

Fix 6/6 from the crate review. Based on #218; merge the stack in order. This PR contains only its focused fix relative to its base.

Validation

  • Targeted regression tests pass.
  • cargo test --workspace --all-features --locked passes on the completed stack.
  • Strict Clippy (--all-targets --all-features --locked -- -D warnings) passes for the changed crates.
  • cargo fmt --all -- --check and git diff --check pass.

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>
@wolfv
wolfv force-pushed the fix/conformance-staging-root branch from 111f502 to ebcad9d Compare September 6, 2026 13:26
Base automatically changed from fix/signing-service-requirements to fix/fulcio-authority-windows September 20, 2026 09:54
@wolfv
wolfv merged commit aa5f041 into fix/fulcio-authority-windows Sep 20, 2026
19 checks passed
@wolfv
wolfv deleted the fix/conformance-staging-root branch September 20, 2026 09:55
wolfv added a commit that referenced this pull request Sep 20, 2026
* fix(verify): enforce Fulcio authority windows at signing times
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(sign): reject unsatisfied TUF service requirements (#218)
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(conformance): honor staging during bundle verification (#219)
* fix(sign): reject unsatisfied TUF service requirements
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(conformance): honor staging during bundle verification
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

---------

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>
wolfv added a commit that referenced this pull request Sep 20, 2026
* fix(tsa)!: parse optional RFC 3161 status text
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(clients): bound Fulcio and TSA HTTP requests
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(verify): enforce Fulcio authority windows at signing times (#217)
* fix(verify): enforce Fulcio authority windows at signing times
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(sign): reject unsatisfied TUF service requirements (#218)
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(conformance): honor staging during bundle verification (#219)
* fix(sign): reject unsatisfied TUF service requirements
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(conformance): honor staging during bundle verification
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

---------

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>
wolfv added a commit that referenced this pull request Sep 20, 2026
* fix(crypto): support current Fulcio issuer extension

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(tsa)!: parse optional RFC 3161 status text (#215)

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(clients): bound Fulcio and TSA HTTP requests (#216)

* fix(tsa)!: parse optional RFC 3161 status text
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(clients): bound Fulcio and TSA HTTP requests
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(verify): enforce Fulcio authority windows at signing times (#217)
* fix(verify): enforce Fulcio authority windows at signing times
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(sign): reject unsatisfied TUF service requirements (#218)
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(conformance): honor staging during bundle verification (#219)
* fix(sign): reject unsatisfied TUF service requirements
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(conformance): honor staging during bundle verification
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

---------

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>
wolfv added a commit that referenced this pull request Sep 22, 2026
* fix(crypto): support current Fulcio issuer extension

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(tsa)!: parse optional RFC 3161 status text (#215)

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(clients): bound Fulcio and TSA HTTP requests (#216)

* fix(tsa)!: parse optional RFC 3161 status text
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(clients): bound Fulcio and TSA HTTP requests
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(verify): enforce Fulcio authority windows at signing times (#217)
* fix(verify): enforce Fulcio authority windows at signing times
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(sign): reject unsatisfied TUF service requirements (#218)
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(conformance): honor staging during bundle verification (#219)
* fix(sign): reject unsatisfied TUF service requirements
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(conformance): honor staging during bundle verification
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

---------

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>
wolfv added a commit that referenced this pull request Sep 22, 2026
* fix(crypto): support current Fulcio issuer extension

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(tsa)!: parse optional RFC 3161 status text (#215)

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(clients): bound Fulcio and TSA HTTP requests (#216)

* fix(tsa)!: parse optional RFC 3161 status text
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(clients): bound Fulcio and TSA HTTP requests
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(verify): enforce Fulcio authority windows at signing times (#217)
* fix(verify): enforce Fulcio authority windows at signing times
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(sign): reject unsatisfied TUF service requirements (#218)
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(conformance): honor staging during bundle verification (#219)
* fix(sign): reject unsatisfied TUF service requirements
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(conformance): honor staging during bundle verification
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

---------

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>
baszalmstra pushed a commit that referenced this pull request Sep 23, 2026
* fix(crypto): support current Fulcio issuer extension

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(tsa)!: parse optional RFC 3161 status text (#215)

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(clients): bound Fulcio and TSA HTTP requests (#216)

* fix(tsa)!: parse optional RFC 3161 status text
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(clients): bound Fulcio and TSA HTTP requests
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(verify): enforce Fulcio authority windows at signing times (#217)
* fix(verify): enforce Fulcio authority windows at signing times
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(sign): reject unsatisfied TUF service requirements (#218)
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(conformance): honor staging during bundle verification (#219)
* fix(sign): reject unsatisfied TUF service requirements
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* fix(conformance): honor staging during bundle verification
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>

---------

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>
baszalmstra pushed a commit that referenced this pull request Sep 23, 2026
Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>
This was referenced Sep 23, 2026
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