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
Terminology improvements around the phrase "non-selectively disclosable claims" and "not disclosable" (#567)
* Terminology improvements around the phrase "non-selectively disclosable claims" and "not disclosable"
* Dr.'s orders
Co-authored-by: Daniel Fett <[email protected]>
* disclosable -> disclosed because I wasn't paying close enough attention
* disclosable -> disclosed because I wasn't paying close enough attention
Co-authored-by: Daniel Fett <[email protected]>
* disclosable -> disclosed because I wasn't paying close enough attention
* right right sure
Co-authored-by: Daniel Fett <[email protected]>
---------
Co-authored-by: Daniel Fett <[email protected]>
Copy file name to clipboardExpand all lines: draft-ietf-oauth-selective-disclosure-jwt.md
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -317,7 +317,7 @@ The payload of an SD-JWT is a JSON object according to the following rules:
317
317
1. The payload MAY contain the `_sd_alg` key described in (#hash_function_claim).
318
318
2. The payload MAY contain one or more digests of Disclosures to enable selective disclosure of the respective claims, created and formatted as described in (#creating_disclosures).
319
319
3. The payload MAY contain one or more decoy digests to obscure the actual number of claims in the SD-JWT, created and formatted as described in (#decoy_digests).
320
-
4. The payload MAY contain one or more non-selectively disclosable claims.
320
+
4. The payload MAY contain one or more permanently disclosed claims.
321
321
5. The payload MAY contain the Holder's public key(s) or reference(s) thereto, as explained in (#key_binding).
322
322
6. The payload MAY contain further claims such as `iss`, `iat`, etc. as defined or required by the application using SD-JWTs.
323
323
7. The payload MUST NOT contain the claims `_sd` or `...` except for the purpose of conveying digests as described in (#embedding_object_properties) and (#embedding_array_elements) respectively below.
@@ -383,7 +383,7 @@ For each claim that is an object property and that is to be made selectively dis
383
383
384
384
* Create an array of three elements in this order:
385
385
1. A salt value. MUST be a string. See (#salt-entropy) for security considerations. It is RECOMMENDED to base64url-encode a minimum of 128 bits of cryptographically secure random data, producing a string. The salt value MUST be unique for each claim that is to be selectively disclosed. The Issuer MUST NOT reveal the salt value to any party other than the Holder.
386
-
2. The claim name, or key, as it would be used in a regular JWT payload. It MUST be a string and MUST NOT be `_sd`, `...`, or a claim name existing in the object as a non-selectively disclosable claim.
386
+
2. The claim name, or key, as it would be used in a regular JWT payload. It MUST be a string and MUST NOT be `_sd`, `...`, or a claim name existing in the object as a permanently disclosed claim.
387
387
3. The claim value, as it would be used in a regular JWT payload. The value can be of any type that is allowed in JSON, including numbers, strings, booleans, arrays, null, and objects.
388
388
* JSON-encode the array, producing an UTF-8 string.
389
389
* base64url-encode the byte representation of the UTF-8 string. This string is the Disclosure.
@@ -779,7 +779,7 @@ In this case, the Issuer would use the following data in the Disclosures for the
0 commit comments