Skip to content

Commit

Permalink
Separate VC creation from the proof and add JSON-LD proof support
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
William Brooks committed Apr 19, 2023
1 parent 513124f commit a6f5cac
Show file tree
Hide file tree
Showing 7 changed files with 187 additions and 86 deletions.
3 changes: 0 additions & 3 deletions __test__/proof/constants.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
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];

export const ISSUER_DID = 'did:key:GGBX4K2roNY1E8VPes6xCuP5iqJNfFbUtH2oByxaHH9g';
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];
export const SUBJECT_DID = 'did:sol:devnet:3WoafjUyivN7nRKzHPZyDDCKMxvd98X8YJt7L7CPE5iZ';

export const EMAIL_CREDENTIAL_IDENTIFIER = 'credential-cvc:Email-v3';
Expand Down
21 changes: 14 additions & 7 deletions audit-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,21 @@
"package-manager": "auto",
"report": true,
"allowlist": [
"GHSA-5fw9-fq32-wv5p",
"GHSA-p9pc-299p-vxgp",
"GHSA-w573-4hg7-7wgq",
"GHSA-pfrx-2q88-qq97",
"GHSA-2j2x-2gpw-g8fm",
"GHSA-f4c9-cqv8-9v98",
"GHSA-896r-f27r-55mw",
"GHSA-hrpp-h998-j3pp",
"GHSA-rc47-6667-2j5j"
"GHSA-5rrq-pxf6-6jx5",
"GHSA-gf8q-jrpm-jvxq",
"GHSA-2r2c-g63r-vccr",
"GHSA-8fr3-hfg3-gpgp",
"GHSA-cfm4-qjh2-4765",
"GHSA-x4jg-mjrx-434g",
"GHSA-5fw9-fq32-wv5p",
"GHSA-p8p7-x288-28g6",
"GHSA-7p7h-4mm5-852v",
"GHSA-hc6q-2mpp-qw7j",
"GHSA-5fg8-2547-mr8q",
"GHSA-h6q6-9hqw-rwfv",
"GHSA-crh6-fp67-6883",
"GHSA-p9pc-299p-vxgp"
]
}
Loading

0 comments on commit a6f5cac

Please sign in to comment.