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
{{ message }}
Repository navigation
Should request signing be done per requested credential? #71
Today reader_auth is a single COSE_Sign over the whole RequestPayload. A request can span credentials from different trust frameworks, and authorization is evaluated per credential (#50). Should we support signing per CredentialQuery instead of, or in addition to, one signature over the full request? Multiple signatures over the full request may already be enough.
The person making the request may not be the ultimate verifier. e.g. merchant requested age and payment at the same time, and payment credential will just be forwarded to someone else - auth to request that may be different per credential, so you'd have to sign the request twice. Google's phone number verification works like this.
Existing protocols allow you to sign the whole request multiple times, but really you want just the relevant credential to be signed. 18013-5 supports both, would be nice to have just one as that's simpler.
Does create UI & other complications.
Could be simpler if we make this explicitly have 'on behalf of' semantics? So the entity actually signing the request still (optionally) signs the whole request, and parts of the request can be signed by other people. e.g. signing some of the credential requests individually. Mechanism could be similar to the partial encryption mechanism - additional signatures only necessary where different signatures are actually needed.
Question: Do we need to support having a signature over more than one credential request but not the whole request? Please do share any use cases.
Depends to some degree also on the outcome of #50 - if we separate identification and authorization, then the way we design those separate signatures for a request can be split:
Identification would always sign the whole request
Separate signed artifacts can be embedded (and optionally bound) for the overall request / parts that provide extra information and/or authorization
The author suggests deprecating the signed request altogether. I believe a compromise is possible: make request signatures optional, while making credentials that explicitly requires a request signature, be non-selectable if no signature is present.
I don't see why over-18 requests would require a signed request, unless the solution in some way is leaking PII. Yeah, pr0n is the global use-case.
I don't understand that presentation by Manu as deprecating signed requests, but using web-pki as a root of trust (instead of registering with Platform Providers).
Generally speaking IMHO: Signing a request is important to prevent request manipulation on the transport layer (especially in an online context and with DC API), how we establish trust is a completely different story.
I don't understand that presentation by Manu as deprecating signed requests, but using web-pki as a root of trust (instead of registering with Platform Providers).
That was the intention at least. He doesn't propose using the Web PKI for signing requests.
Generally speaking IMHO: Signing a request is important to prevent request manipulation on the transport layer (especially in an online context and with DC API), how we establish trust is a completely different story.
If HTTPS is not sufficient for authenticating the RP (verifier in OpenID lingo), we have a problem.
If the signed response corresponds to the request all should (IMHO) be good.
How about the compromise I suggested? Eat the cake and still have it :)
Correction: returning a hash of the request in the signed response won't work since JSON doesn't come with deterministic encoding. I'm very happy having dropped JSON altogether.
If HTTPS is not sufficient for authenticating the RP (verifier in OpenID lingo), we have a problem. If the signed response corresponds to the request all should (IMHO) be good.
In the context of DC API, we are talking about the browser becoming intermediary of that request, so TLS is broken long before it reaches the wallet that possibly resides even on a different device. That means any browser extension could manipulate the DC API call itself.
In the context of proximity use-cases we also need to clearly protect against man-in-the-middle attacks and wouldn't have HTTPS.
If HTTPS is not sufficient for authenticating the RP (verifier in OpenID lingo), we have a problem. If the signed response corresponds to the request all should (IMHO) be good.
In the context of DC API, we are talking about the browser becoming intermediary of that request, so TLS is broken long before it reaches the wallet that possibly resides even on a different device. That means any browser extension could manipulate the DC API call itself.
Understood. Se my earlier remark regarding JSON.
In the context of proximity use-cases we also need to clearly protect against man-in-the-middle attacks and wouldn't have HTTPS.
This is a very interesting point which I have tried to change to no avail:
Making online and proximity use the same protocols would be cool. Payments would be the driver use-case.
Activity
andrewhughes3000 commentedon Oct 26, 2026
Discussion on WG:
jogu commentedon Nov 9, 2026
Discussed on 9th Nov call:
The person making the request may not be the ultimate verifier. e.g. merchant requested age and payment at the same time, and payment credential will just be forwarded to someone else - auth to request that may be different per credential, so you'd have to sign the request twice. Google's phone number verification works like this.
Existing protocols allow you to sign the whole request multiple times, but really you want just the relevant credential to be signed. 18013-5 supports both, would be nice to have just one as that's simpler.
Does create UI & other complications.
Could be simpler if we make this explicitly have 'on behalf of' semantics? So the entity actually signing the request still (optionally) signs the whole request, and parts of the request can be signed by other people. e.g. signing some of the credential requests individually. Mechanism could be similar to the partial encryption mechanism - additional signatures only necessary where different signatures are actually needed.
Question: Do we need to support having a signature over more than one credential request but not the whole request? Please do share any use cases.
@martijnharing offered to make a technical proposal.
Seemed to be consensus for the above on today's call.
c2bo commentedon Nov 9, 2026
Depends to some degree also on the outcome of #50 - if we separate identification and authorization, then the way we design those separate signatures for a request can be split:
cyberphone commentedon Nov 11, 2026
I would not completely ignore this W3C TPAC presentation:
https://docs.google.com/presentation/d/1_tizY_xn_92NKSmojJEmj-BMMV5WRheKGx78fq8U9LI/edit?slide=id.p11
The author suggests deprecating the signed request altogether. I believe a compromise is possible: make request signatures optional, while making credentials that explicitly requires a request signature, be non-selectable if no signature is present.
I don't see why over-18 requests would require a signed request, unless the solution in some way is leaking PII. Yeah, pr0n is the global use-case.
For payment authorizations, request signatures represent a design error. Merchant are authenticated by the Payment Network. See point # 4 in:
eu-digital-identity-wallet/eudi-doc-architecture-and-reference-framework#774
c2bo commentedon Nov 11, 2026
I don't understand that presentation by Manu as deprecating signed requests, but using web-pki as a root of trust (instead of registering with Platform Providers).
Generally speaking IMHO: Signing a request is important to prevent request manipulation on the transport layer (especially in an online context and with DC API), how we establish trust is a completely different story.
cyberphone commentedon Nov 11, 2026
That was the intention at least. He doesn't propose using the Web PKI for signing requests.
If HTTPS is not sufficient for authenticating the RP (verifier in OpenID lingo), we have a problem.
If the signed response corresponds to the request all should (IMHO) be good.
How about the compromise I suggested? Eat the cake and still have it :)
cyberphone commentedon Nov 11, 2026
Correction: returning a hash of the request in the signed response won't work since JSON doesn't come with deterministic encoding. I'm very happy having dropped JSON altogether.
c2bo commentedon Nov 11, 2026
In the context of DC API, we are talking about the browser becoming intermediary of that request, so TLS is broken long before it reaches the wallet that possibly resides even on a different device. That means any browser extension could manipulate the DC API call itself.
In the context of proximity use-cases we also need to clearly protect against man-in-the-middle attacks and wouldn't have HTTPS.
cyberphone commentedon Nov 11, 2026
Understood. Se my earlier remark regarding JSON.
This is a very interesting point which I have tried to change to no avail:

Making online and proximity use the same protocols would be cool. Payments would be the driver use-case.