noqtis-export — a
capsule as in-toto, DSSE, RO-Crate or BagIt
noqtis export |
--as intoto |
dsse | rocrate |
bagit [-k
key] [-p
key.pub] [-o
file | dir]
[-f] dir |
noqtis export describes the capsule
dir
(noqtis-capsule(5))
in a format other tools read. The capsule must check first, with the key in
its seal
(noqtis-check(1));
pin the key there with -p before exporting.
intotodsseapplication/vnd.in-toto+json’),
signed with -k over the envelope's PAE. Most DSSE
tools do not verify post-quantum signatures;
noqtis-verify(1)
--dsse does.rocratenoqtis check’ then
reports it as an ‘extra’ file unless
the folder is sealed again.bagit-o: a
copy of every file under data/, each checked
against the manifest's SHA-256 as it is copied, its
manifest-sha256.txt,
bag-info.txt (the capsule's id as
External-Identifier, Payload-Oxum), bagit.txt, and
the seal and the manifest as tag files listed in
tagmanifest-sha256.txt.--as
format-k
key,
--key=keydsse: the secret signature key.-p
key.pub,
--pub=key.pub-o
file,
--out=filebagit, the bag's folder, which must not
exist.-f,
--force$ noqtis export --as dsse -k me -o results.intoto.json results $ noqtis verify -p me.pub --dsse results.intoto.json $ noqtis export --as bagit -o results-bag results
noqtis(1), noqtis-check(1), noqtis-verify(1), nqdsse(3), noqtis-capsule(5)
in-toto Attestation Framework: Statement v1, https://github.com/in-toto/attestation/blob/main/spec/v1/statement.md. DSSE: Dead Simple Signing Envelope, https://github.com/secure-systems-lab/dsse/blob/master/envelope.md. RO-Crate 1.1, https://w3id.org/ro/crate/1.1. The BagIt File Packaging Format (V1.0), RFC 8493, October 2018.