Independent verification
Who this is for
This page is for experts, lawyers and developers who want to check a registration without trusting Sonotary, even if the site goes offline. Everything below uses only SHA-256 and public tools.
Use the proof package (ZIP) downloaded from your account: it contains the certificate as a file (certificado.json), the proofs of the timestamps obtained so far (Bitcoin and RFC 3161), a per-mechanism report (relatorio-mecanismos.json), MANIFEST.json with the SHA-256 of every file and an optional check script (verificar.py). The package generation date is different from the timestamp dates.
1. The audio file
Compute the SHA-256 of the original audio file and compare it with the file hash stated in the certificate. On Windows PowerShell: Get-FileHash file.mp3 -Algorithm SHA256. On Linux and macOS: sha256sum file.mp3.
If the values differ, the file is not byte-for-byte the one that was registered.
2. The record hash
The record is a JSON object containing only strings and integers, serialized canonically: keys in alphabetical order, no whitespace, UTF-8. The record hash is the SHA-256 of those bytes.
For this subset the result is identical to RFC 8785 (JCS), so any programming language reproduces the hash. If the record has a previous version it cites that version's hash, and the chain can be checked version by version.
3. The batch Merkle proof
Each batch is a Merkle tree in the style of RFC 6962 with domain separation: leaf = SHA-256(0x00 followed by the 32 bytes of the record hash); node = SHA-256(0x01 followed by the left and right children).
A record's proof is the list of sibling nodes, bottom to top, each with its side: L (sibling on the left) or R (on the right). Starting from the leaf and combining with each sibling in order, the final result must equal the batch root.
4. The Bitcoin timestamp
Install the official OpenTimestamps client (opentimestamps.org). With the file prova-opentimestamps.ots and the batch root (field merkle.root of the certificate), run: ots verify prova-opentimestamps.ots -d <batch root>.
The result reports the Bitcoin block that contains the timestamp and the block date. Confirmation takes a few hours; if you downloaded the package before then, download it again later to get the complete proof.
5. The lyrics
If the package includes letra.txt, its hash must match the registered one. The text must be exactly as issued: text editors and messaging apps swap quotes, dashes and spaces, which changes the hash.
6. The verificar.py script
The package includes an optional script, using only the Python 3 standard library, that repeats checks 2, 3 and 5 offline. To run it, go to the folder with the files and execute: python3 verificar.py.
It does not replace the manual checks above; it is a shortcut and a reference implementation.
5. RFC 3161 timestamps
verificar.py checks each timestamp in timestamps/<service>/ offline: the stamped hash (the batch root), the signature and the chain up to the root certificate shipped in the package. OpenSSL alternative: openssl ts -verify -in response.tsr -queryfile request.tsq -CAfile chain.pem -untrusted chain.pem.
The trust root is the last certificate in chain.pem: confirm its fingerprint with the service's official source. Revocation (CRL/OCSP) is not checked. One valid timestamp is enough to prove the date; the time is as declared by the service.