Skip to content

Commit 2914b00

Browse files
committed
Add a security consideration not to use VP Token as Access Token.
1 parent fd11d72 commit 2914b00

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

1.1/openid-4-verifiable-presentations-1_1.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1882,6 +1882,8 @@ Implementations of this specification MUST have security mechanisms in place to
18821882

18831883
Clients intending to authenticate the End-User utilizing a claim in a Credential MUST ensure this claim is stable for the End-User as well as locally unique and never reassigned within the Credential Issuer to another End-User. Such a claim MUST also only be used in combination with the Credential Issuer identifier to ensure global uniqueness and to prevent attacks where an attacker obtains the same claim from a different Credential Issuer and tries to impersonate the legitimate End-User.
18841884

1885+
Clients intending to access a Resource Server on-behalf of the End-User authenticated via Credential presentation, SHOULD NOT use VP Token as an Access Token. The way to produce Access Token based on Credential presentation is out of scope of this specification.
1886+
18851887
## Encrypting an Unsigned Response {#encrypting_unsigned_response}
18861888

18871889
Because an encrypted Authorization Response has no additional integrity protection, an attacker might be able to alter Authorization Response parameters and generate a new encrypted Authorization Response for the Verifier, as encryption is performed using the public key of the Verifier (which is likely to be widely known when not ephemeral to the request/response). Note this includes injecting a new VP Token. Since the contents of the VP Token are integrity protected, tampering with the VP Token is detectable by the Verifier. For details, see (#preventing-replay).
@@ -3562,4 +3564,4 @@ The technology described in this specification was made available from contribut
35623564

35633565
-01
35643566

3565-
* TBD
3567+
* Add security consideration not to use VP Token as Access Token

0 commit comments

Comments
 (0)