[Openid-specs-digital-credentials-protocols] openid/oid4vc-haip-sd-jwt-vc: New Issue opened
github at oidf.org
github at oidf.org
Wed Mar 20 11:08:04 UTC 2024
openid/oid4vc-haip-sd-jwt-vc event
Issue opened
Issue Title: Credential request parameters for IETF SD-JWT VCs on this profile seem inconsistent with OID4VCI's
https://github.com/openid/oid4vc-haip-sd-jwt-vc/issues/95
[This profile](https://openid.net/specs/openid4vc-high-assurance-interoperability-profile-sd-jwt-vc-1_0.html) requires [credential requests](https://openid.net/specs/openid4vc-high-assurance-interoperability-profile-sd-jwt-vc-1_0.html#name-credential-request) to include a `credential_definition` object that MUST contain a `vct` claim with the credential type being requested, such as: ```json { "format": "vc+sd-jwt", "credential_definition": { "vct": "IdentityCredential" }, "proof": { "proof_type": "jwt", "jwt":"eyJraWQiOiJkaWQ6ZXhhbXBsZTplYmZlYjFmNzEyZWJjNmYxYzI3NmUxMmVjMjEva2V5cy8 xIiwiYWxnIjoiRVMyNTYiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJzNkJoZFJrcXQzIiwiYXVkIjoiaHR 0cHM6Ly9zZXJ2ZXIuZXhhbXBsZS5jb20iLCJpYXQiOiIyMDE4LTA5LTE0VDIxOjE5OjEwWiIsIm5vbm NlIjoidFppZ25zbkZicCJ9.ewdkIkPV50iOeBUqMXCC_aZKPxgihac0aW9EkL1nOzM" } } ``` However, the OID4VCI in its [editor's draft](https://openid.github.io/OpenID4VCI/openid-4-verifiable-credential-issuance-wg-draft.html) requires [requests for IETF SD-JWT VCs credentials](https://openid.github.io/OpenID4VCI/openid-4-verifiable-credential-issuance-wg-draft.html#name-credential-request-6) to include the `vct` claim as a root property on the JSON object, such as: ```json { "format": "vc+sd-jwt", "vct": "SD_JWT_VC_example_in_OpenID4VCI", "proof": { "proof_type": "jwt", "jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4IjoiblVXQW9BdjNYWml0aDhFN2kxOU9kYXhPTFlGT3dNLVoyRXVNMDJUaXJUNCIsInkiOiJIc2tIVThCalVpMVU5WHFpN1N3bWo4Z3dBS18weGtjRGpFV183MVNvc0VZIn19.eyJhdWQiOiJodHRwczovL2NyZWRlbnRpYWwtaXNzdWVyLmV4YW1wbGUuY29tIiwiaWF0IjoxNzAxOTYwNDQ0LCJub25jZSI6IkxhclJHU2JtVVBZdFJZTzZCUTR5bjgifQ.-a3EDsxClUB4O3LeDD5DVGEnNMT01FCQW4P6-2-BNBqc_Zxf0Qw4CWayLEpqkAomlkLb9zioZoipdP-jvh1WlA" } } ``` These are clearly incompatible. Which one should we adopt? Does this profile require an update on this regard?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-specs-digital-credentials-protocols/attachments/20240320/96028150/attachment.html>
More information about the Openid-specs-digital-credentials-protocols
mailing list