[WAL-1344] feat(mdoc): add shared proximity protocol engine - #2155
[WAL-1344] feat(mdoc): add shared proximity protocol engine#2155szijpeter wants to merge 12 commits into
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: Team 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 |
ded9b59 to
87d3d89
Compare
a5ed417 to
c401aee
Compare
87d3d89 to
7a5eb5d
Compare
37308f0 to
87069a1
Compare
91e307e to
4607867
Compare
334b97e to
1ba6463
Compare
336775a to
9a70398
Compare
7b41283 to
58c14ff
Compare
9a70398 to
11ca286
Compare
58c14ff to
a3981ac
Compare
8d2c611 to
1575eca
Compare
1575eca to
1aa432d
Compare
|



Summary
This adds the radio-independent Kotlin Multiplatform protocol foundation for ISO mdoc proximity presentation, covering the shared models, session engine, matching, authentication, trust seams, and response construction defined by WAL-1344.
The WAL-1344 commits are based directly on current
main, including the holder-key foundation merged through walt-id/waltid-identity#2154. This PR is the root of the remaining WAL-1335 stack; each child targets its immediate predecessor. Proximity QR rendering is owned later by demo PR #2160, with no independent WAL-1376 dependency.Architecture contract: walt-id/waltid-architecture#60.
What Changed
Protocol models
Signature/Machierarchy, so both-or-neither combinations cannot be constructed.Shared holder engine
age_over_NNstatements to the nearest sufficient attestation and omits disclosure when the credential cannot prove the requested result.Transport and test boundaries
Architecture Notes
Caveats and Follow-Ups
Breaking
DeviceAuthis a sealedSignature/Machierarchy; callers construct and pattern-match one variant instead of nullable signature/MAC fields.Listvalues when present.waltid-cryptomdoc device-authentication overloads are removed; the shared path uses crypto2 keys and explicit algorithm policy.