-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathscript.sh
More file actions
executable file
·45 lines (37 loc) · 1.52 KB
/
script.sh
File metadata and controls
executable file
·45 lines (37 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
transmute scitt key generate \
--alg -35 \
--output private-key.cbor
transmute scitt key export \
--input private-key.cbor \
--output public-key.cbor
transmute scitt key diagnose \
--input public-key.cbor \
--output artifacts/_manifest/artifact.cdx.xml.issuer.public-key.cbor.md
transmute scitt statement issue \
--iss urn:example:123 \
--sub urn:example:456 \
--issuer-key private-key.cbor \
--statement artifacts/_manifest/artifact.cdx.xml \
--signed-statement artifacts/_manifest/artifact.cdx.xml.cbor
transmute scitt statement diagnose \
--input artifacts/_manifest/artifact.cdx.xml.cbor \
--output artifacts/_manifest/artifact.cdx.xml.cbor.without-transparency.md
transmute scitt statement verify \
--issuer-key public-key.cbor \
--statement artifacts/_manifest/artifact.cdx.xml \
--signed-statement artifacts/_manifest/artifact.cdx.xml.cbor \
transmute scitt ledger receipt issue \
--iss urn:example:789 \
--sub urn:example:abc \
--issuer-key private-key.cbor \
--signed-statement artifacts/_manifest/artifact.cdx.xml.cbor \
--transparent-statement artifacts/_manifest/artifact.cdx.xml.cbor \
--ledger artifacts/_manifest/ledger.json
transmute scitt transparent statement verify \
--issuer-key public-key.cbor \
--transparency-service-key public-key.cbor \
--statement artifacts/_manifest/artifact.cdx.xml \
--transparent-statement artifacts/_manifest/artifact.cdx.xml.cbor
transmute scitt statement diagnose \
--input artifacts/_manifest/artifact.cdx.xml.cbor \
--output artifacts/_manifest/artifact.cdx.xml.cbor.with-transparency.md