A degraded mode should remove one dependency without removing accountability.
What the public implementation shows
The repository includes a NoOpCertificateService, dedicated tests, and a PKI-off hardening artifact rather than hiding disabled PKI behind scattered conditionals.
Dependency injection selects the trust implementation while the surrounding orchestration contract remains stable. This is the implementation fact behind the note; the architectural reading begins from that visible boundary rather than from an assumed production story.
Operating principleA degraded mode should remove one dependency without removing accountability.
The decision behind the mechanism
A named no-op service makes the degraded condition testable and prevents cryptographic bypass logic from leaking across payment handlers.
An informal bypass can accidentally become the default, suppress signature errors, or leave operators unable to prove which mode processed a message. The mechanism matters because it gives that failure a named boundary, durable evidence, and a controlled response instead of leaving the outcome to timing or operator guesswork.
- Represent disabled PKI with a dedicated implementation.
- Fail startup when the mode is not allowed in the environment.
- Keep message-processing interfaces identical across modes.
- Expose the active mode without exposing key material.
How the control should be operated
The active trust mode should be explicit in configuration, startup validation, health information, and operational logs.
The institution can use a deliberate integration mode without confusing it with production-grade message trust. The reusable lesson is not to copy a class or endpoint in isolation, but to preserve the relationship between identity, state, authority, evidence, and operational ownership.
Design degraded security modes as visible, testable configurations—not as invisible exceptions in the transaction path.
Inspect the basis for this note.
These links point to public implementation evidence or authoritative documentation used for the claims above. The interpretation is mine; institutional code and ownership remain with their respective owners.
- 01PKI-off hardening evidence
The documentation records the intended behavior and safety review for the mode.
Open source evidence - 02No-op certificate tests
The test suite fixes the contract of the explicit non-PKI implementation.
Open source evidence