Repository navigation
CFAV: signed retired-key trust-edge evidence and synthetic regression (#90) - #91
Draft
blocksifrdev wants to merge 3 commits into
Draft
blocksifrdev wants to merge 3 commits into
blocksifrdev wants to merge 3 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Scope
Closes no deployment gate. Advances #90 with a non-production, source-level synthetic regression fixture that uses the existing BlockSiFr TTP TrustDecay / TrustRoute authority path. No new commercial product, production credentials, external SAML calls, configuration changes, or PR merge.
What changed
retired-key-assurance.js: read-only assessment of known issuer/key/relying-party edges. Requires host-pinned Ed25519 observer verification, exact issuer/key/run/party scoping, timestamp age, and same-challenge binding for upstream acceptance vs downstream block.retired-key-assurance.test.mjs: 9 synthetic cases, including RSA-SHA256 key rollover, stale manually pinned SP accepting retired K1, TTP revoked-pathDENY, unknown-edge preservation, forged/stale/wrong-scope observer signatures, an observed unprotected effect, and unrelated challenge block rejected as assurance.docs/cfav-retired-saml-signing-key-evidence.md: explicitly separates synthetic evidence from live SAML XML interoperability and enterprise enforcement.Test evidence
Local Node 22 test run:
node --test packages/trust-routing-engine/tests/retired-key-assurance.test.mjs9 pass / 0 fail. Existing repo-wide CI has not yet been observed, and no live native SP was tested.Threat / consequence distinction
The expected counterexample is an SP that retains retired K1 and accepts a fresh K1-signed synthetic assertion. Existing TrustRoute rejects a revoked path for a simulated protected effect, but this does not imply native SAML SP rejection, universal coverage, or production authorization hardening.
Review gates / blockers
Issue: #90.