feat(jans-fido2): add attestation trust policy and attestationTrusted flag for monitor mode - #14386
Conversation
… flag for monitor mode Signed-off-by: imran <imranishaq7071@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR adds an ChangesAttestation Trust Policy
Estimated code review effort: 2 (Simple) | ~12 minutes Possibly related issues
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Signed-off-by: imran <imranishaq7071@gmail.com>
|



Prepare
Description
Adds the foundation for permissive monitor / strict enforced attestation semantics (#9640), with no behavior change on its own:
Target issue
The agreed direction for attestation modes (#9640) is that monitor should be permissive — validate and log attestation-trust problems but still allow registration — while enforced rejects, and core cryptographic checks are always enforced in both. Before the attestation processors can implement that split, the codebase needs two foundations that don't exist yet:
Without these, the leniency logic would be scattered across every processor and a monitor-allowed credential would
carry no indication that its provenance was unverified.
closes #14385
Implementation Details
Test and Document the changes
Please check the below before submitting your PR. The PR will not be merged if there are no commits that start with
docs:to indicate documentation changes or if the below checklist is not selected.Summary by CodeRabbit
New Features
Bug Fixes