TAŇBA-OOH Developers

Downloads

tanba-verify

tanba-verify is the command-line checker for everything the platform signs: an approval against its media file, the revocation list, the daily audit anchors, the public ledger and the daily seals of the received statistics. It needs no account and no network, except for the optional block explorer check of the ledger. It is a single file with no installer. Use the build for your system:

PlatformFileSizeSHA-256
Linux x86-64tanba-verify-linux-amd647.8 MB2f608e1161a94285b4e609d6e1f61d431efab3d7b8a2c701019c2ea61523b2b7
Linux ARM64tanba-verify-linux-arm647.3 MB8b750a80ce8584c8ffe7b49b3fc3430e96bacfd941f2c28f758b811fbd0d9b24
macOS (Apple silicon)tanba-verify-darwin-arm647.5 MBa754fb2b61e346209b1dc56e87d9ae9eda2c39912b97a7744585514aa10a104b
Windows x86-64tanba-verify-windows-amd64.exe8.1 MB85700f23870a4a93ed69a9d0e9f425b2e2bdec09e40ad01aa18ac3d4209c1828
Test vectors, all systemstanba-verify-vectors.zip56 KBed3ea76604344ed859c81e56da6f97e46611f1b8c9b5c75278f2fbaaa3b1409b

SHA-256 list of all files (SHA256SUMS)

Check the download

Compare the hash of the file with the SHA-256 in the table or in SHA256SUMS before you run it.

On Linux:

sha256sum -c SHA256SUMS --ignore-missing

On macOS:

grep tanba-verify-darwin-arm64 SHA256SUMS | shasum -a 256 -c -

On Windows, in PowerShell, then compare the printed value by eye:

Get-FileHash .\tanba-verify-windows-amd64.exe -Algorithm SHA256

The files are built from the source of the platform release that this site belongs to. They are part of that release: the host checks the signature of the release and the hash of every file in it, these files included, before it serves any of them. The SHA-256 list is signed as well, with the release key under a name of its own, so a swapped file together with a swapped list does not pass. Fetch SHA256SUMS, SHA256SUMS.sig and allowed_signers from the same folder as the files and run the OpenSSH check, which is part of Linux, macOS and Windows 10 and later:

ssh-keygen -Y verify -f allowed_signers -I tanba-downloads -n tanba-downloads -s SHA256SUMS.sig < SHA256SUMS

It prints Good "tanba-downloads" signature and exits with 0. A signature made for a release, not for the list, is refused, and the other way round. The key file comes from this site, so compare its fingerprint with the one printed on the home page of verify.tanba-ooh.kz and in the annex to your contract:

The allowed-signers line of the key that signs the list of downloads:

tanba-downloads namespaces="tanba-downloads" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBSEHL6aV9pJfQukgQ1BWOCCVdGaxZyPK8b8oAs8WQru

SHA-256 fingerprint of the key: SHA256:tR343ZXtTYR8ZGxtN/eoI0G7y3o3ziKup/DviXdNlWk

SHA256SUMS.sig, allowed_signers

Test vectors

If you write your own checker, test it against the vectors. tanba-verify-vectors.zip holds vectors-root.pem, a root certificate made only for them (it trusts nothing else, and nothing else trusts it, and it is not the root.pem of the contour), files for every command that works offline, and vectors.json, which gives for each case the arguments, the expected exit code, the status word and a line on what the case shows. The cases are: an approval with both signatures (the approval key and the state signature; offline the first is checked and the second is only found, OUTER_NOT_VERIFIED, exit 6), the same one handed to an NCANode that does not answer (OUTER_INVALID, exit 7), an envelope with one signature refused under --require-outer, an approval with a changed media file, from another root, checked after it ended and before it started; a revocation list (valid for 24 hours at most, a longer one is refused), an audit anchor, a Merkle inclusion proof, a seal of statistics and an evidence pack, each good and altered; a ledger day whose timestamp proof is still pending.

Unpack the zip and run one case from inside the folder:

tanba-verify approval/media.bin approval/approval.p7s --roots vectors-root.pem --at 2026-11-15T12:00:00Z

A case passes when the exit code is the one in vectors.json and some line of the standard output starts with the status word (OK, HASH_MISMATCH, BAD_SIGNATURE, ...). The moment for --at is fixed in every case, so the vectors do not age out. The Bitcoin block of a ledger day is not part of the vectors; check it with the official client, as described above.

Use

tanba-verify spot.mp4 spot.mp4.p7s --roots root.pem
tanba-verify revocations list.p7s --ca root.pem
tanba-verify anchor anchor.p7s --ca root.pem
tanba-verify seal seal.json --ca root.pem
tanba-verify ledger --day 2026-10-14 --ots ledger-2026-10-14.ots --inputs ledger-2026-10-14.json
tanba-verify inclusion --proof ledger-proof.json --approval TNB-2026-000123

root.pem is the platform root certificate that the approvals, lists, anchors and seals chain to. The root for the test contour is published at https://verify.tanba-ooh.kz/v1/roots, and the SHA-256 of the certificate (DER) is printed on the home page of verify.tanba-ooh.kz and sent in the X-Root-SHA256 header. Download it, compare the hash (openssl x509 -in root.pem -outform DER | sha256sum), then use it as root.pem. It belongs to the test contour and has no legal force. The source archive of the tool is added to this page when it is published.

Every command prints the result and ends with an exit code, so a script can use it: 0 is good, 2 is a bad signature or inconsistent input, and the other codes name the case (3 hash mismatch, 4 expired, 5 not yet valid, 6 pending or not checked, 7 outer signature invalid, 64 wrong command or unreadable file). The steps with real addresses are in Read a statement and check its evidence.

Use the build that belongs to the current release. An earlier build reports a ledger day that holds a daily seal as inconsistent, because it does not know the newer format of the inputs.