Skip to content

Commit a6f5cac

Browse files
author
William Brooks
committed
Separate VC creation from the proof and add JSON-LD proof support
This change separates VC creation from any proof mechanism and adds support for JSON-LD proofs, specifically JSONWebKey2020. PR: #223 Signed-off-by: William Brooks <[email protected]> Reviewed-by: Julian Spring <[email protected]>
1 parent 513124f commit a6f5cac

File tree

7 files changed

+187
-86
lines changed

7 files changed

+187
-86
lines changed

__test__/proof/constants.js

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
export const ISSUER_KEY = [89, 226, 178, 51, 54, 183, 9, 46, 98, 202, 69, 83, 150, 109, 125, 239, 230, 98, 232, 63, 163, 201, 124, 38, 127, 153, 82, 94, 15, 173, 94, 177, 226, 194, 232, 181, 254, 108, 39, 31, 193, 56, 93, 234, 168, 191, 123, 206, 5, 193, 47, 24, 75, 27, 219, 79, 170, 5, 18, 28, 147, 78, 98, 39];
2-
31
export const ISSUER_DID = 'did:key:GGBX4K2roNY1E8VPes6xCuP5iqJNfFbUtH2oByxaHH9g';
4-
export const SUBJECT_JEY = [155, 84, 64, 152, 86, 197, 245, 103, 230, 47, 136, 5, 26, 201, 42, 24, 29, 132, 219, 148, 104, 40, 88, 189, 172, 194, 46, 125, 230, 164, 113, 160, 37, 89, 226, 210, 250, 82, 249, 120, 78, 80, 194, 93, 114, 250, 15, 78, 221, 156, 255, 234, 200, 80, 81, 115, 165, 90, 246, 182, 77, 150, 108, 66];
52
export const SUBJECT_DID = 'did:sol:devnet:3WoafjUyivN7nRKzHPZyDDCKMxvd98X8YJt7L7CPE5iZ';
63

74
export const EMAIL_CREDENTIAL_IDENTIFIER = 'credential-cvc:Email-v3';

audit-ci.json

+14-7
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,21 @@
33
"package-manager": "auto",
44
"report": true,
55
"allowlist": [
6-
"GHSA-5fw9-fq32-wv5p",
7-
"GHSA-p9pc-299p-vxgp",
8-
"GHSA-w573-4hg7-7wgq",
9-
"GHSA-pfrx-2q88-qq97",
106
"GHSA-2j2x-2gpw-g8fm",
117
"GHSA-f4c9-cqv8-9v98",
12-
"GHSA-896r-f27r-55mw",
13-
"GHSA-hrpp-h998-j3pp",
14-
"GHSA-rc47-6667-2j5j"
8+
"GHSA-5rrq-pxf6-6jx5",
9+
"GHSA-gf8q-jrpm-jvxq",
10+
"GHSA-2r2c-g63r-vccr",
11+
"GHSA-8fr3-hfg3-gpgp",
12+
"GHSA-cfm4-qjh2-4765",
13+
"GHSA-x4jg-mjrx-434g",
14+
"GHSA-5fw9-fq32-wv5p",
15+
"GHSA-p8p7-x288-28g6",
16+
"GHSA-7p7h-4mm5-852v",
17+
"GHSA-hc6q-2mpp-qw7j",
18+
"GHSA-5fg8-2547-mr8q",
19+
"GHSA-h6q6-9hqw-rwfv",
20+
"GHSA-crh6-fp67-6883",
21+
"GHSA-p9pc-299p-vxgp"
1522
]
1623
}

0 commit comments

Comments
 (0)