Tamper evidence
Available
Every day CropPath publishes a fingerprint of the activity log, the device data, the seals and the review decisions, time-stamped by an outside authority. Anyone who keeps a copy can later check that those records were not changed, by CropPath included.
An hour after each UTC day ends, CropPath builds Merkle trees (RFC 9162) of that day's activity log rows, device messages received, lot seals and review decisions, and of the messages not accepted at that time, and links the result to the day before. A day with no records still gets a fingerprint. An independent time-stamp authority (RFC 3161) signs each fingerprint.
GET /v1/public/anchors lists every fingerprint by day. GET /v1/public/lots//anchor-proof proves that the seal of a public lot, or one of its events (event), is in that day's fingerprint. Neither needs a sign-in.
curl -sSO https://<host>/developers/downloads/verify_anchors.py
python3 verify_anchors.py chain --api https://<host>
python3 verify_anchors.py chain --api https://<host> --anchors saved.json
python3 verify_anchors.py proof --api https://<host> --lot <publicId> [--event <id>]Check it yourself with verify_anchors.py (download it at the end of this page): one Python file that uses only the standard library and none of CropPath's code. It fails a time stamp made more than 48 hours after its day ended, and a day that ended more than 48 hours ago and still has no time stamp. If the platform runs without a time-stamp authority, add --allow-unstamped. The byte-by-byte encoding is in integrity-anchors.md.
Keep the fingerprints you download, and later run chain with --anchors and your saved file: it fails if any fingerprint you kept has changed. Whoever rewrote a past day could compute the later fingerprints again, but their new time stamps would be late or missing, so chain fails once 48 hours have passed. Within those 48 hours, or with --allow-unstamped, only a copy kept by someone else shows the change. A record changed after its day got its fingerprint has a proof that answers included: false.
In the API reference
Downloads
This portal serves these files: you do not need access to the source repository.