Skip to content

Commit 6f327fa

Browse files
committed
website enhancements
1 parent cf32b5f commit 6f327fa

File tree

3 files changed

+168
-1
lines changed

3 files changed

+168
-1
lines changed

.vitepress/config.mts

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export default defineConfig({
3131

3232
socialLinks: [
3333
{ icon: 'linkedin', link: 'https://linkedin.com/company/forkbomb' },
34-
{ icon: 'github', link: 'https://github.com/dyne/zencode-w3c-vc' }
34+
{ icon: 'github', link: 'https://github.com/dyne/zencode-w3c-vc' },
35+
{ icon: 'maildotru', link: 'mailto:[email protected]' }
3536
]
3637
}
3738
})

src/ecdsa-w3c-vc.md

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
---
2+
title: ECDSA (P256) verifiable credentials
3+
---
4+
5+
# {{ $frontmatter.title }}
6+
7+
## Generate keys
8+
9+
<<< @/ecdsa_keyring.slang{gherkin}
10+
11+
### Output
12+
13+
💾 ecdsa_keyring
14+
15+
<<< @/ecdsa_keyring.out.json{json}
16+
17+
## Prepare for signature
18+
19+
### Input
20+
21+
📃 Example document
22+
23+
<<< @/unsecuredDocument.data.json
24+
25+
💾 ecdsa_keyring
26+
27+
<<< @/ecdsa_keyring.out.json
28+
29+
### Zencode
30+
31+
<<< @/ecdsa_rdf-canon-objects.slang{gherkin}
32+
33+
### Output
34+
35+
💾 ecdsa_rdf-canon-objects
36+
37+
<<< @/ecdsa_rdf-canon-objects.out.json
38+
39+
## Sign the credentials
40+
41+
### Input
42+
43+
<<< @/ecdsa_rdf-canon-objects.out.json
44+
45+
<<< @/ecdsa_keyring.out.json
46+
47+
### Zencode
48+
49+
<<< @/ecdsa_hash-and-sign.slang{gherkin}
50+
51+
### 💾 Output
52+
53+
<<< @/ecdsa_hash-and-sign.out.json
54+
55+
## Prepare for verification
56+
57+
### Input
58+
59+
<<< @/ecdsa_prepare-verification-signed-doc.data.json
60+
61+
<<< @/ecdsa_prepare-verification-signed-doc.keys.json
62+
63+
### Zencode
64+
65+
<<< @/ecdsa_prepare-verification-signed-doc.slang{gherkin}
66+
67+
### Output
68+
69+
<<< @/ecdsa_prepare-verification-signed-doc.out.json
70+
71+
## Verify the signature
72+
73+
### Input
74+
75+
<<< @/ecdsa_verify-prepared-signed-doc.data.json
76+
77+
### Zencode
78+
79+
<<< @/ecdsa_verify-prepared-signed-doc.slang{gherkin}
80+
81+
### Output
82+
83+
SUCCESS or FAILURE

src/eddsa-w3c-vc.md

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
---
2+
title: EDDSA (ed25519) verifiable credentials
3+
---
4+
5+
# {{ $frontmatter.title }}
6+
7+
## Generate keys
8+
9+
<<< @/eddsa_keyring.slang{gherkin}
10+
11+
### Output
12+
13+
💾 eddsa_keyring
14+
15+
<<< @/eddsa_keyring.out.json{json}
16+
17+
## Prepare for signature
18+
19+
### Input
20+
21+
📃 Example document
22+
23+
<<< @/unsecuredDocument.data.json
24+
25+
💾 eddsa_keyring
26+
27+
<<< @/eddsa_keyring.out.json
28+
29+
### Zencode
30+
31+
<<< @/eddsa_rdf-canon-objects.slang{gherkin}
32+
33+
### Output
34+
35+
💾 eddsa_rdf-canon-objects
36+
37+
<<< @/eddsa_rdf-canon-objects.out.json
38+
39+
## Sign the credentials
40+
41+
### Input
42+
43+
<<< @/eddsa_rdf-canon-objects.out.json
44+
45+
<<< @/eddsa_keyring.out.json
46+
47+
### Zencode
48+
49+
<<< @/eddsa_hash-and-sign.slang{gherkin}
50+
51+
### 💾 Output
52+
53+
<<< @/eddsa_hash-and-sign.out.json
54+
55+
## Prepare for verification
56+
57+
### Input
58+
59+
<<< @/eddsa_prepare-verification-signed-doc.data.json
60+
61+
<<< @/eddsa_prepare-verification-signed-doc.keys.json
62+
63+
### Zencode
64+
65+
<<< @/eddsa_prepare-verification-signed-doc.slang{gherkin}
66+
67+
### Output
68+
69+
<<< @/eddsa_prepare-verification-signed-doc.out.json
70+
71+
## Verify the signature
72+
73+
### Input
74+
75+
<<< @/eddsa_verify-prepared-signed-doc.data.json
76+
77+
### Zencode
78+
79+
<<< @/eddsa_verify-prepared-signed-doc.slang{gherkin}
80+
81+
### Output
82+
83+
SUCCESS or FAILURE

0 commit comments

Comments
 (0)