noqtis-ers — start
or renew a capsule's RFC 4998 evidence record
noqtis ers |
--tsa url ...
[--anchor der-file ...]
[--hash sha256 |
sha384 | sha512]
dir |
A timestamp proves when a seal existed only as long as the TSA's
certificate and its hash can be trusted, a few years. An evidence record
(RFC 4998) keeps that proof for decades: noqtis ers
writes noqtis.ers beside the seal of the capsule
dir (sealed before with
noqtis-seal(1)),
an EvidenceRecord whose data object is the seal file
noqtis.sig, byte for byte, and adds one archive
timestamp to it each time it runs.
The first run starts the record with a timestamp over the hash of the seal file. Each later run renews it, after the record there has been checked:
--hash other than the
record's: a new chain whose first timestamp covers the seal and every
chain before, with the new hash. Run it before the record's hash
weakens.The request, the nonce and the checks on the reply are those of
noqtis-timestamp(1),
over the hash the next archive timestamp covers; the reply must also not be
dated before the record's last timestamp. --tsa may
be given more than once: the TSAs are tried in order until one gives a
timestamp that checks.
noqtis-check(1)
checks the record under its --anchor certificates:
the first timestamp must be over this seal, each next one over the one
before (or, opening a chain, over the seal and the chains before it), and
each TSA certificate valid at its own timestamp's time and at the next
one's; the last must be valid now. While a record is there,
noqtis-seal(1)
and
noqtis-timestamp(1)
refuse the folder, since either would change the seal it proves.
--tsa
url--anchor
der-file--hash
namesha256,
sha384 or sha512. The
default is the record's last one, or SHA-256 for a new record.$ noqtis ers --tsa http://timestamp.digicert.com results
started an evidence record for results: archive timestamp from ...
$ noqtis ers --tsa http://timestamp.digicert.com --anchor digicert.der \
results
renewed the evidence record's timestamp for results: ...
$ noqtis ers --tsa http://timestamp.digicert.com --anchor digicert.der \
--hash sha512 results
renewed the evidence record with a new hash chain for results: ...
$ noqtis check -p me.pub --anchor digicert.der results
noqtis(1), noqtis-check(1), noqtis-seal(1), noqtis-timestamp(1), nqersput(3), noqtis-capsule(5)
Evidence Record Syntax (ERS), RFC 4998. Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP), RFC 3161.