Skip to content

Commit

Permalink
Revert changes from PR #251 (#278)
Browse files Browse the repository at this point in the history
* fix: reverted changes in PR#251

* fix: change doc history entry

* Update draft-ietf-oauth-sd-jwt-vc.md

Co-authored-by: Daniel Fett <[email protected]>

* Update draft-ietf-oauth-sd-jwt-vc.md

---------

Co-authored-by: Daniel Fett <[email protected]>
Co-authored-by: Brian Campbell <[email protected]>
  • Loading branch information
3 people authored Dec 2, 2024
1 parent 2d51367 commit d915ccf
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion draft-ietf-oauth-sd-jwt-vc.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ obtain the public key using JWT VC Issuer Metadata as defined in (#jwt-vc-issuer
- X.509 Certificates: If the recipient supports X.509 Certificates and the `iss` value contains an HTTPS URI, the recipient MUST
1. obtain the public key from the end-entity certificate of the certificates from the `x5c` header parameter of the Issuer-signed JWT and validate the X.509 certificate chain accordingly, and
2. ensure that the `iss` value matches a `uniformResourceIdentifier` SAN entry of the end-entity certificate or that the domain name in the `iss` value matches the `dNSName` SAN entry of the end-entity certificate.

- DID Document Resolution: If a recipient supports DID Document Resolution and if the `iss` value contains a DID [@W3C.DID], the recipient MUST retrieve the public key from the DID Document resolved from the DID in the `iss` value. In this case, if the `kid` JWT header parameter is present, the `kid` MUST be a relative or absolute DID URL of the DID in the `iss` value, identifying the public key.
Separate specifications or ecosystem regulations MAY define rules complementing the rules defined above, but such rules are out of scope of this specification. See (#ecosystem-verification-rules) for security considerations.

If a recipient cannot validate that the public verification key corresponds to the `iss` value of the Issuer-signed JWT, the SD-JWT VC MUST be rejected.
Expand Down Expand Up @@ -1204,6 +1204,43 @@ recommendations in (#robust-retrieval) apply.
</front>
</reference>

<reference anchor="W3C.DID" target="https://www.w3.org/TR/did-core/">
<front>
<author initials="M." surname="Sporny" fullname="Manu Sporny">
<organization>
<organizationName>Digital Bazaar</organizationName>
</organization>
</author>
<author initials="D." surname="Longley" fullname="Dave Longley">
<organization>
<organizationName>Digital Bazaar</organizationName>
</organization>
</author>
<author initials="M." surname="Sabadello" fullname="Markus Sabadello">
<organization>
<organizationName>Danube Tech</organizationName>
</organization>
</author>
<author initials="D." surname="Reed" fullname="Drummond Reed">
<organization>
<organizationName>Evernym/Avast</organizationName>
</organization>
</author>
<author initials="O." surname="Steele" fullname="Orie Steele">
<organization>
<organizationName>Transmute</organizationName>
</organization>
</author>
<author initials="C." surname="Allen" fullname="Christopher Allen">
<organization>
<organizationName>Blockchain Commons</organizationName>
</organization>
</author>
<title>Decentralized Identifiers (DIDs) v1.0</title>
<date day="19" month="July" year="2022"/>
</front>
</reference>

<reference anchor="W3C.VCDM" target="https://www.w3.org/TR/vc-data-model-2.0/">
<front>
<author initials="M." surname="Sporny" fullname="Manu Sporny">
Expand Down Expand Up @@ -1533,6 +1570,7 @@ for their contributions (some of which substantial) to this draft and to the ini

-07

* Revert change from previous release that removed explicit mention of DIDs in the Issuer-signed JWT Verification Key Validation section
* Remove the requirement to insert a .well-known part for vct URLs
* fix section numbering in SD-JWT references to align with the latest -14 version

Expand Down

0 comments on commit d915ccf

Please sign in to comment.