test(verifier): repair origin-bound DC API fixture - #2105
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
74e7881 to
5a7e3e3
Compare
5a7e3e3 to
2113cb6
Compare
|



Summary
Repairs the static DC API verifier vector for the canonical origin
https://portal2.demo.walt.id.The request object, x509 client authentication, required static-discovery audience, DCQL query, and mdoc response now form one cryptographically coherent transaction.
What Changed
Request authentication and coherence
x509_hashwith the SHA-256 hash of the request leaf certificate's DER.https://self-issued.me/v2in the signed Request Object.expected_origins.age_over_21DCQL claim and compares the request's response type, client ID, response mode, audience, nonce, expected origins, DCQL, and client metadata.mdoc verification
Test-fixture boundaries
MdlTestFixturelocal to verifier-api2.Caveats and Follow-Ups
The vector intentionally omits
state: DC API JSON responses do not echo it, and the production DC API session shape already usesnull.Breaking
None.