Skip to content

Commit cd4c7c8

Browse files
Clarify nonce entropy requirements (#722)
* Clarify nonce entropy requirements * Apply suggestion from @paulbastian * Apply suggestion from @paulbastian * Apply suggestion from @brentzundel Co-authored-by: Brent Zundel <brent.zundel@gmail.com> --------- Co-authored-by: Brent Zundel <brent.zundel@gmail.com>
1 parent b0356f7 commit cd4c7c8

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

1.0/openid-4-verifiable-presentations-1_0.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ This specification defines the following new request parameters:
358358
The following additional considerations are given for pre-existing Authorization Request parameters:
359359

360360
`nonce`:
361-
: REQUIRED. A case-sensitive String representing a value to securely bind Verifiable Presentation(s) provided by the Wallet to the particular transaction. The Verifier MUST create a fresh, cryptographically random number with sufficient entropy for every Authorization Request, store it with its current session, and pass it in the `nonce` Authorization Request Parameter to the Wallet. See (#preventing-replay) for details. Values MUST only contain ASCII URL safe characters (uppercase and lowercase letters, decimal digits, hyphen, period, underscore, and tilde).
361+
: REQUIRED. A case-sensitive String representing a value to securely bind Verifiable Presentation(s) provided by the Wallet to the particular transaction. The Verifier MUST create a fresh, cryptographically random number with sufficient entropy for every Authorization Request and store it with its current session. The nonce SHOULD contain at least 128 bits of entropy. See (#preventing-replay) for details. Values MUST only contain ASCII URL safe characters (uppercase and lowercase letters, decimal digits, hyphen, period, underscore, and tilde).
362362

363363
`scope`:
364364
: OPTIONAL. Defined in [@!RFC6749]. The Wallet MAY allow Verifiers to request Presentations by utilizing a pre-defined scope value. See (#request_scope) for more details.
@@ -3590,6 +3590,7 @@ The technology described in this specification was made available from contribut
35903590

35913591
-31
35923592

3593+
* Clarify nonce entropy requirements
35933594
* Clarify that state is recommended to match text from Section 14.3.2. Protection of the Response URI
35943595
* Clarify that `encrypted_response_enc_values_supported` applies only if JWE content encryption algorithm is used
35953596
* Removed invalid_scope error guidance as duplicate of RFC6749

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ This specification defines the following new request parameters:
354354
The following additional considerations are given for pre-existing Authorization Request parameters:
355355

356356
`nonce`:
357-
: REQUIRED. A case-sensitive String representing a value to securely bind Verifiable Presentation(s) provided by the Wallet to the particular transaction. The Verifier MUST create a fresh, cryptographically random number with sufficient entropy for every Authorization Request, store it with its current session, and pass it in the `nonce` Authorization Request Parameter to the Wallet. See (#preventing-replay) for details. Values MUST only contain ASCII URL safe characters (uppercase and lowercase letters, decimal digits, hyphen, period, underscore, and tilde).
357+
: REQUIRED. A case-sensitive String representing a value to securely bind Verifiable Presentation(s) provided by the Wallet to the particular transaction. The Verifier MUST create a fresh, cryptographically random number with sufficient entropy for every Authorization Request and store it with its current session. The nonce SHOULD contain at least 128 bits of entropy. See (#preventing-replay) for details. Values MUST only contain ASCII URL safe characters (uppercase and lowercase letters, decimal digits, hyphen, period, underscore, and tilde).
358358

359359
`scope`:
360360
: OPTIONAL. Defined in [@!RFC6749]. The Wallet MAY allow Verifiers to request Presentations by utilizing a pre-defined scope value. See (#request_scope) for more details.
@@ -3655,6 +3655,7 @@ The technology described in this specification was made available from contribut
36553655

36563656
-01
36573657

3658+
* Clarify nonce entropy requirements
36583659
* Add usage of HPKE for the `info` parameter.
36593660
* Add security consideration not to use VP Token as Access Token
36603661
* Clarify that state is recommended to match text from Section 14.3.2. Protection of the Response URI

0 commit comments

Comments
 (0)