Developer Moraes Alves has created a hands-on audit challenge to explore how digital signatures and timestamps work in practice. The Provenia Audit Lab is designed not just as a tool, but as an educational experience that demystifies the technical claims made by software products about ‘signed and timestamped’ records. Source: dev.to.
What Happened
Alves built the Provenia Audit Lab as a tool to test whether users can identify a tampered digital dossier. Participants pick two files from their computer—any type, up to 50 MiB each. The files are used to generate two ZIP dossiers, labeled A and B.
One dossier is correctly constructed. The other contains a deliberate inconsistency. The goal is for users to detect which one is valid using only the files and public references provided. This process mirrors real-world scenarios where individuals must verify the authenticity and integrity of digital records without relying on third-party trust chains.
How It Works
The browser calculates a SHA-256 hash of each file in a Web Worker. This ensures that sensitive file data is never sent to a server. The original files remain on the user’s device, preserving privacy and data ownership.
The Lab generates two dossiers. Each includes a PDF and a JSON manifest. The JSON lists file names, sizes, and SHA-256 hashes. The PDF contains a digital signature and a timestamp. These components are generated from the same input files, allowing users to compare outputs and assess consistency.
Users download both dossiers and use a local auditor—available as a Python script—to verify each component. The local auditor does not connect to any external services and operates entirely in the user’s environment, ensuring no data leakage or dependency on remote servers.

Key Checks Included
- File hashes and association: Does each record in the JSON match the name, size, and SHA-256 hash of the original file in the correct order? This check ensures that the file metadata is accurately tied to the actual file on disk. Users can verify this independently using tools like
sha256sumon Linux,shasum -a 256on macOS, orGet-FileHashin PowerShell. - JSON signature and key: Is the Ed25519 signature valid? Does the signing key match the public reference listed on the Lab page? A valid signature confirms that the JSON manifest was created by a known entity using a trusted key pair. However, as one user noted in a discussion thread, a signature can be mathematically correct even if it was generated by an unpublished key—such a signature would still fail the audit if it doesn’t belong to the expected issuer.
- PDF signature and integrity: Is the PDF signature valid? Does the signer match the expected public reference? Does the final PDF match the hash declared in the JSON? This ensures that the PDF has not been altered and that its content aligns with the declared file hash. A mismatch here indicates tampering or inconsistency in the chain of evidence.
- Timestamp: Is the RFC 3161 timestamp token from FreeTSA? Does it cover the correct file hash? This check validates that the file existed at a specific point in time, certified by a recognized authority. The timestamp must be from the correct authority and must cover the correct hash to be considered valid.
Each check returns one of three outcomes: verified, failed, or partial. A signature can be mathematically valid but still fail if the key does not belong to the expected issuer. The public references are critical for establishing trust. Keys supplied within the ZIP file can be used to verify a signature, but confirming the key’s origin requires a trusted reference outside the bundle. The Lab provides those references on its page so users can independently verify the identity of the keys.
What Was Learned
Alves found that three concepts are distinct and often confused:
- A hash compares file bytes to a recorded fingerprint. It serves as a unique identifier for a file’s content, enabling detection of any changes. It does not prove authorship or when a file was created, only that a file has not been altered.
- A digital signature verifies that data was signed by a specific key. It confirms authenticity and integrity but does not prove authorship. As one user observed, a signature can be valid in cryptographic terms but still fail the audit if the key is not from the expected issuer.
- A timestamp binds a hash to a time certified by an authority like FreeTSA. It provides temporal evidence but does not confirm when a file was created or who created it. The timestamp only proves that a file existed at a certain time, not that it was authored by a particular person.
These serve different purposes. A timestamp proves when a file existed, but it does not prove authorship or when it was first created. The distinction is crucial for users who rely on digital records for legal, professional, or personal use.
Another key lesson: users must keep their original files. To validate a recorded hash later, they need the exact bytes that produced it. Without the original, any verification becomes speculative and unreliable. As Alves noted in a personal reflection, this is a fundamental principle in digital record-keeping—without the original, there is no basis for truth.
Limitations and Context
The Lab uses training dossiers. Its document-signing keys and PDF trust root are separate from the official Provenia product. The timestamps come from FreeTSA, an external authority. This separation ensures that the challenge is self-contained and does not rely on the actual product’s infrastructure. The Lab does not use the same cryptographic keys or trust roots as the production version of Proven-ia, which means users are not evaluating real-world security but rather learning how to interpret cryptographic components in isolation.
The session is memory-based and lasts up to 15 minutes. No account is required. The challenge is designed for educational use, not production deployment. It demonstrates how cryptographic tools can be applied in real scenarios without exposing user data.

Why It Matters
Many tools claim to offer ‘signed and timestamped’ records. This challenge helps users understand what that actually means—and how to verify it. It highlights the difference between cryptographic validity and real-world trust. Users need to know which components are verifiable and which require external validation.
For anyone managing digital records—like project files, design drafts, or research documents—this kind of transparency is essential. The challenge is accessible. It runs in a browser, requires no account, and uses only local files. Users can test their understanding without risk.
Try it at lab.provenia.app. If you find the inconsistent dossier, note which check revealed it. If a step is unclear, share your thoughts. Alves emphasizes that feedback from users who regularly use such tools would help improve the design. He is still learning to debug and read the code himself.
For more on browser tools that don’t upload your files, see Browser Tools That Never Upload Your Files.
For a similar no-email web tool, explore Throw Tomatoes at Pictures.
And for insights on measuring AI time savings, see How to Measure if AI Agents Actually Save Time.
Sources & further reading
Featured image: original publisher image. Via original publisher. Image source
