Visto evidence checker
Check an evidence file with the script
Anyone holding a Visto evidence file can check it without Visto. It is free and needs no account. The page Check an evidence file does the quick part in your browser. The script below does everything that page does, plus the signed timestamps.
1. Get the script
It is one file with no other parts, and you can read it before you run it.
Its SHA-256, so you can confirm your copy is unchanged:cef5e952d0427873dd99c8a6c8a37bd7ebf7471e31f472ed7eda4139732cc209
Read it in your browser before you run it.
2. Run it
- Install Node.js 18 or newer, and OpenSSL. OpenSSL is already on macOS and Linux.
- Put the script and your evidence file in the same folder.
- Run this, with your own file name:
node verify-record.mjs Visto-evidence-Harbor-2026-10-24.json
3. Read the result
The last line gives one result for the whole file.
- RESULT: MATCH. Every fingerprint matches its content, and every signed timestamp was checked with OpenSSL, is for this record and carries the time the file claims. The lines above it say which events the signed timestamps cover. Later events are fingerprinted but not yet timestamped.
- RESULT: MISMATCH. Something does not match, such as an edited or missing event or a timestamp that does not fit this record. Do not rely on the file.
- RESULT: INCOMPLETE. Nothing failed, but something could not be checked, for example because the computer was offline or no daily timestamp covers the record yet. The lines marked
--say what is missing.
What this does not show
It does not show that what was entered is true, or who entered it. It cannot tell whether events were left out after the last signed timestamp. It does not check the Bitcoin proof: the script saves the proof next to your file, and you can check it by dropping both saved files onto opentimestamps.org.
The manual way (what the script does)
- Fingerprints. For each event in order,
hash = SHA-256(prevHash + "|" + material), as UTF-8 text with the hash in lower-case hex. The firstprevHashis 64 zeros. Everyhashmust match, and eachprevHashmust equal the hash before it. - Details.
materialis the exact text that was fingerprinted:id|record|item|kind|actor|label|version|data|time. The event's other fields must say the same thing. - Signed timestamps. For each entry in
timestamps: thedigestmust equal the SHA-256 of itslinesjoined with a newline, and one line must berecordId:count:hash, wherehashis the fingerprint of event numbercountin this file. Then saverfc3161Token(base64) astoken.tsr, downloadcacert.pemandtsa.crtfrom freetsa.org, and run:openssl ts -verify -digest DIGEST -in token.tsr -CAfile cacert.pem -untrusted tsa.crt
It printsVerification: OK.