Sealed Days

How to check this record yourself

You do not need the app or its maker to check this record. The evidence package that accompanies this PDF contains, for every entry, the exact bytes that were fingerprinted (entries/), the signed timestamp response (timestamps/), the original attached files (attachments/) and a manifest that links them.

  1. Fingerprint. Compute SHA-256 of entries/entry-0007.json. It must equal the fingerprint printed for Entry 7.
    shasum -a 256 entries/entry-0007.json
  2. Order. Open the same file. Its "prev" value must equal the fingerprint of Entry 6. Repeat down the chain.
  3. Attached files. Compute SHA-256 of each file in attachments/. Each must equal the value listed inside the entry that refers to it.
  4. Timestamp. Verify the signed timestamp against the fingerprint with OpenSSL, using the certificate chain of the authority named for that entry.
    openssl ts -verify -digest <fingerprint> -in timestamps/entry-0007.tsr -CAfile <authority-chain.pem> -attime <sealed time as Unix seconds>
  5. Read the timestamp. To see the signed time and serial number:
    openssl ts -reply -in timestamps/entry-0007.tsr -text

If any fingerprint, link or timestamp does not match, the record has been changed since it was sealed, and the mismatch identifies where.

Verifying a seal token independently with OpenSSL

Each block's RFC 3161 token shows that the block hash existed at the token's genTime. Anyone can check this without the app, using OpenSSL and the TSA's public root certificate.

1. Get the token and the hash from the export manifest

For block <seq> in seal-manifest/1:

jq -r '.blocks[<seq>].hash' manifest.json                         > <seq>.hash   # 64 hex
jq -r '.blocks[<seq>].stamp.response_b64' manifest.json | base64 -d > <seq>.tsr  # TimeStampResp DER

Optional, recompute the hash yourself: it is SHA-256 of the RFC 8785 (JCS) canonical JSON of .blocks[<seq>].envelope (e.g. jq -c is NOT JCS, use any RFC 8785 implementation).

2. Verify

openssl ts -verify -digest $(cat <seq>.hash) -in <seq>.tsr -CAfile <ca.pem>
openssl ts -reply -in <seq>.tsr -text      # shows genTime, policy, serial, TSA name

The token embeds the signer and intermediate certificates; only the root goes in -CAfile.

3. Root certificates (download, then check the SHA-256 fingerprint)

TSARoot to use as -CAfileDownloadSHA-256 fingerprint (starts)
DigiCertDigiCert Trusted Root G4https://cacerts.digicert.com/DigiCertTrustedRootG4.crt (DER, convert: openssl x509 -inform DER -in X.crt -out ca.pem)55:2F:7B:DC:F1:A7:AF:9E
SectigoUSERTrust RSA Certification Authorityhttp://crt.usertrust.com/USERTrustRSACertificationAuthority.crt (DER)E7:93:C9:B0:2F:D8:AA:13
GlobalSignGlobalSign Root CA - R6https://secure.globalsign.com/cacert/root-r6.crt (DER)2C:AB:EA:FE:37:D0:6C:A2
SSL.comSSL.com Root Certification Authority RSAhttps://www.ssl.com/repo/certs/SSLcomRootCertificationAuthorityRSA.pem85:66:6A:56:2E:E0:BE:5C
CertumCertum Trusted Network CA (or CA 2, both OK)https://repository.certum.pl/ctnca.pem, https://repository.certum.pl/ctnca2.pem5C:58:46:8D:55:F5:8E:49 / B6:76:F2:ED:DA:E8:77:5C
FreeTSAFree TSA Root CAhttps://freetsa.org/files/cacert.pemA6:37:9E:7C:EC:C0:5F:AA

Check: openssl x509 -in ca.pem -noout -fingerprint -sha256.

Notes