Sellado de tiempoEvidencia digitalRFC 3161MerkleCadena de custodia

Trusted timestamping: how to date digital evidence so nobody can dispute the date

Published on 2026-08-31 · Xiliux

A digital signature proves two things: what the file is (by its hash) and who signed it (by the key). It doesn't prove a third that almost always matters: when. A signed hash is a point with no date. And without a verifiable date, anyone can sign a document today and claim it's a year old —or the reverse—.

The reflex is to look at the file's date. It doesn't work, for a simple reason: whoever holds the file controls it. The modification date on disk is changed with a command; it isn't a witness, it's a note the interested party writes themselves.

Timestamping solves this by bringing in a third party that cannot backdate.

How a TSA works

The classic standard is RFC 3161. The flow is:

From there, anyone verifies the stamp with the TSA's public key and confirms two things: that this exact hash existed at that time, and that it hasn't been touched since. The file's content never leaves your side —the TSA only ever sees the fingerprint— which matters when the file is sensitive.

The alternative without a third party: chaining

You don't always want to depend on an external service. The other path is a verifiable append-only log: each new entry includes the hash of the previous one, forming a chain (or a Merkle tree). Inserting something with a past date would force recomputing everything that came after, and that is detectable. It's the mechanism behind transparency logs and, at bottom, the same one a blockchain uses to date its transactions without anyone having to trust a central clock.

The two approaches combine: you stamp with a TSA for the point-in-time proof and chain into an append-only log for the full journey.

What your software must do

If the system produces evidence someone might dispute:

A hash says what. A signature says who. Timestamping says when —and without the when, the other two prove less than they seem.

FAQ

Why doesn't the file's modification date count?

Because whoever holds the file controls it. A file's date on disk is changed with one command; it isn't an independent witness. It's fine for organizing your work, not for proving anything to a third party.

What is a TSA (timestamping authority)?

A trusted service that receives your file's hash, adds the time from a reliable source and signs the pair (the classic standard is RFC 3161). The result is a stamp anyone can verify: it proves that hash existed at that time, without revealing the file's content.

Can you timestamp without an external TSA?

Yes, with a verifiable append-only log —the pattern behind transparency logs and Merkle trees—: each entry is chained to the previous ones, so inserting something with a past date would force rewriting everything after it, which is detectable. It's the same principle a blockchain uses to date its transactions.

← More articlesRequest a quote