Skip to content

Commit

Permalink
[Take 2] Remove YAML; add disclosures to SD-JWT examples; add protect…
Browse files Browse the repository at this point in the history
…ed headers (#273)

* update plugin to remove yaml, add disclosures, add headers

* update yaml

* inject styles

* update styles

* Apply suggestions from code review

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>

* fix plugin

* update

* update plugin

* update

* tabs

* update plugin

* remove pre

* remove styling

---------

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
  • Loading branch information
decentralgabe and TallTed authored May 21, 2024
1 parent 5ba3d8d commit a169ee8
Show file tree
Hide file tree
Showing 8 changed files with 255 additions and 305 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv='Content-Type' content='text/html;charset=utf-8'/>
<title>Securing Verifiable Credentials using JOSE and COSE</title>
<script src="https://www.w3.org/Tools/respec/respec-w3c" class="remove"></script>
<script class="remove" src="https://cdn.jsdelivr.net/gh/w3c/vc-jose-cose/plugin/dist/main.js"></script>
<script class="remove" src="https://cdn.jsdelivr.net/gh/w3c/vc-jose-cose@357a6d2414985efadf6fa2f5cfb3ddf280de301c/plugin/dist/main.js"></script>
<script class="remove">
// See https://github.com/w3c/respec/wiki/ for how to configure
// ReSpec
Expand Down
119 changes: 0 additions & 119 deletions plugin/attic/sd-jwt/index.js

This file was deleted.

8 changes: 4 additions & 4 deletions plugin/dist/main.js

Large diffs are not rendered by default.

17 changes: 12 additions & 5 deletions plugin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,21 @@ <h2>Credential</h2>
"https://www.w3.org/ns/credentials/examples/v2"
],
"id": "http://university.example/credentials/1872",
"type": ["VerifiableCredential", "ExampleAlumniCredential"],
"type": [
"VerifiableCredential",
"ExampleAlumniCredential"
],
"issuer": "https://university.example/issuers/565049",
"validFrom": "2010-01-01T19:23:24Z",
"credentialSchema": {
"id": "https://example.org/examples/degree.json",
"type": "JsonSchema"
},
"credentialSubject": {
"id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
"alumniOf": {
"id": "did:example:c276e12ec21ebfeb1f712ebc6f1",
"name": "Example University"
"id": "did:example:123",
"degree": {
"type": "BachelorDegree",
"name": "Bachelor of Science and Arts"
}
}
}
Expand Down
Loading

0 comments on commit a169ee8

Please sign in to comment.