-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define SessionTranscript
and JARM for mso_mdoc
format for vanilla OID4VP
#137
Comments
To close this, we should create an issue for OID4VP using ISO mdoc over non-Browser API, right? Since this would require us to define another |
ah, ok. good point. we can rename this ticket to talk about sessiontranscript for mdoc over vanilla OID4VP, or you can open a new ticket. i am ok either way - please let me know |
SessionTranscript
and JARM for mso_mdoc
format in OID4VPSessionTranscript
and JARM for mso_mdoc
format for vanilla OID4VP
How is the mdoc generated nonce returned to verifier? ISO 23220-4 / ISO 18013-7 state:
But this means response_mode=direct_post.jwt/fragment.jwt/query.jwt with only encrypted JWT is possible?
ISO 23220-4 / ISO 18013-7 states that apu is set to wallet nonce and apv to nonce. I assume this is a mix up. |
Currently, OID4VP refers to ISO 18013-7 for a normative definition for how to use OID4VP with ISO mdocs. This dependency entails the following issue we could resolve by defining how to use the OID4VP request information to configure the
SessionTranscript
in the ISO mdoc response and JARM directly in the OID4VP specification:expected_origins
parameter when ISO mdocs are used with the Browser API.x509_san_dns
client ID scheme. Other schemes should be possible as well if compliance to ISO 18103-7 is not a requirement for certain ecosystems.The
SessionTranscript
is essentially a big detached nonce that is signed/mac'ed by the VP. Additionally, the mdoc section should define how to use JARM and how to use theapu
(set tononce
) andapv
(set to wallet nonce) values of the JWE to bind the encryption to the current transaction.Additionally, the DCP WG should recommend to the ISO WG, to use the
SessionTranscript
definition from OID4VP instead in future revisions of ISO 18013-7.Discussion point is how to distinguish between ISO 18013-7
SessionTranscript
and theSessionTranscript
defined in OID4VP when decrypting the JARM, and verifying the VP but this problem has to be solved as well when updating to a new version ofSessionTranscript
in ISO 18013-7 anyways, or more specificallyOID4VPHandover
(nested inSessionTranscript
). I guess one solution could be that ISO 18013-7 defines to use themdoc-oid4vp://
with their profile which could still indicate that their specific version is used while other ecosystems might define their own URI scheme. Note that for Browser API this problem would be no issue since ISO 18013-7 does not define Browser API yet.I propose to add the CDDL for the
SessionTranscript
specific to OID4VP regular and Browser API to themso_mdoc
format section of OID4VP and also define how to useapu
andapv
values if JARM is used.(cc @martijnharing @tplooker)
The text was updated successfully, but these errors were encountered: