You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certain scenarios necessitate the inclusion of sizable file-based claims within credentials, to be presented during verification. Examples of such claims include scanned documents, subject portraits conforming to ISO 18013-5, and various biometric records.
Verifiers may demand such claims to support situations where legacy processes intersect with digital credential procedures. This is especially relevant for Biometrics-based Holder Binding, as outlined in the OIDC4VP terminology section.
The current definition of OIDC4VP allows for the presentation of these claims within the VP token, either through a redirect call or encoded as application/x-www-form-urlencoded when Response Mode is set to direct_post. However, these options pose challenges when handling large-sized claims, a concern addressed in multiple discussions (see references below).
Proposal
To address the challenge of managing large claims, I propose enabling the content type multipart/form-data for the submission of Authorization Response in the direct_post Response Mode.
By doing so, various mechanisms can be employed to efficiently reference and submit files from verifiable credentials. Different parts of the multipart content can be utilized for the presentation_submission, vp_token, and additional evidence, ensuring referential integrity extracted from credentials in the vp_token using hashlinks, SRI, or other means. The filenames of each part can be linked to identifiers in the credentials.
This would enable a convenient and efficient to manage claims consisting in large sized files both in issuance and presentation, facilitating different means to retrieve and store such files.
I think the challenge you are describing is sending large size data in the response? even if the media type defined for authorization response is application/x-www-form-urlencoded, it is an HTTP POST request so you should be able to send sizeable file-based claims you are talking about.
if the actual problem statement is the ability to send "attachments" alongside credentials, we can define a new parameter attachements that can be sent alongside vp_token=...&attachements=...
you should be able to send sizeable file-based claims you are talking about.
Agree, it can be effective in many cases. However, I also perceive a potential for optimization if we enable the transmission of large binary claims encoded as items in multipart/form-data. This approach would streamline processing as media types would be explicitly declared in the request, facilitating the decoding of non-textual content. A related issue for date claims.
Do you anticipate any confusion arising from enabling this form of content negotiation?
if the actual problem statement is the ability to send "attachments"
I think this would open interesting use cases and enable an extensibility point, but that was not the scope of this specific issue.
Problem Statement
Certain scenarios necessitate the inclusion of sizable file-based claims within credentials, to be presented during verification. Examples of such claims include scanned documents, subject portraits conforming to ISO 18013-5, and various biometric records.
Verifiers may demand such claims to support situations where legacy processes intersect with digital credential procedures. This is especially relevant for Biometrics-based Holder Binding, as outlined in the OIDC4VP terminology section.
The current definition of OIDC4VP allows for the presentation of these claims within the VP token, either through a redirect call or encoded as
application/x-www-form-urlencoded
when Response Mode is set todirect_post
. However, these options pose challenges when handling large-sized claims, a concern addressed in multiple discussions (see references below).Proposal
To address the challenge of managing large claims, I propose enabling the content type
multipart/form-data
for the submission of Authorization Response in thedirect_post
Response Mode.By doing so, various mechanisms can be employed to efficiently reference and submit files from verifiable credentials. Different parts of the multipart content can be utilized for the
presentation_submission
,vp_token
, and additional evidence, ensuring referential integrity extracted from credentials in thevp_token
usinghashlinks
,SRI
, or other means. The filenames of each part can be linked to identifiers in the credentials.This would enable a convenient and efficient to manage claims consisting in large sized files both in issuance and presentation, facilitating different means to retrieve and store such files.
References
The text was updated successfully, but these errors were encountered: