Skip to content

Commit 5a10739

Browse files
committed
1 parent bfc5914 commit 5a10739

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

draft-ietf-oauth-selective-disclosure-jwt.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -494,12 +494,10 @@ It is important to note that:
494494
* The bytes of the output of the hash function MUST be base64url-encoded, and are not the bytes making up the (sometimes used) hex representation of the bytes of the digest.
495495

496496
For example, the base64url-encoded SHA-256 digest of the Disclosure
497-
`WyI2cU1RdlJMNWhhaiIsICJmYW1pbHlfbmFtZSIsICJNw7ZiaXVzIl0` would be
498-
`uutlBuYeMDyjLLTpf6Jxi7yNkEF35jdyWMn9U7b_RYY`.
497+
`WyJfMjZiYzRMVC1hYzZxMktJNmNCVzVlcyIsICJmYW1pbHlfbmFtZSIsICJNw7ZiaXVzIl0`
498+
for the `family_name` claim from (#disclosures_for_object_properties) above is
499+
`X9yH0Ajrdm1Oij4tWso9UzzKJvPoDxwmuEcO3XAdRC0`.
499500

500-
The base64url-encoded SHA-256 digest of the Disclosure
501-
`WyJsa2x4RjVqTVlsR1RQVW92TU5JdkNBIiwgIkZSIl0` would be
502-
`w0I8EKcdCtUPkGCNUrfwVp2xEgNjtoIDlOxc9-PlOhs`.
503501

504502
### Embedding Disclosure Digests in SD-JWTs {#embedding_disclosure_digests}
505503

@@ -524,8 +522,8 @@ alphanumerically or randomly, after potentially adding
524522
decoy digests as described in (#decoy_digests). The precise method does not matter as long as it
525523
does not depend on the original order of elements.
526524

527-
For example, using the digest of the object property Disclosure created above,
528-
the Issuer could create the following SD-JWT payload to make `given_name`
525+
For example, using the digest of the Disclosure from (#hashing_disclosures),
526+
the Issuer could create the following SD-JWT payload to make `family_name`
529527
selectively disclosable:
530528

531529
```json

0 commit comments

Comments
 (0)