Kawach: Offline-Verifiable Software Shipment, Device-Bound Licensing and Traitor Tracing Anchored on a Public Ledger
Abstract
A blockchain can make software provenance and licensing tamper-evident, but a protected program running on a machine its publisher does not control, with no network, cannot consult a chain. We describe Kawach, the protocol and toolchain beneath Pramaan, which bridges the two: release attestations, entitlements and revocations are committed on an EVM ledger, and the program carries a trust anchor compiled into its binary and checks a Merkle inclusion proof handed over at purchase, so verification is entirely offline. Protected code ships as ciphertext whose content key is unwrapped only inside the device's TPM 2.0, with P-256 keys that never leave the chip, and only against a valid proof — there is no licence branch to patch out — while expiry is measured against the TPM's own clock rather than the system clock. Because a licensee can always dump what they are entitled to decrypt, every licensee receives a differently marked build — Tardos-coded variants in text, and semantics-preserving instruction re-encodings in x86-64 and AArch64 PE, ELF and Mach-O binaries — from which a recovered copy is traced to its source. On a 1.69 MB binary the binary carrier held 10,036 marks with three-colluder resistance and 98.9% survival under the whitespace attack that defeats the text carrier, the marked binary still ran, and no attack in the suite produced a false accusation. Licences resell through escrow with publisher royalties, and an extension — Pramaan's proof of invention — anchors salted, hash-chained research notebooks that record which steps were human and which the model's, revealing only a Merkle root. The implementation passes 147 Rust tests, 40 contract tests and 59 end-to-end checks, with device binding on a real TPM. It does not prevent a licensee extracting decrypted content, does not resist a kernel debugger without a trusted execution environment, and cannot enforce sealed-state rollback on stock Windows; and timestamps on a private development chain prove nothing to a third party.
Releases from this lab
- software · alpha · AUG 07, 2026Kawach v0.1.0
The blockchain technology behind Pramaan: tamper-evident software releases and licences verified entirely offline, unlocked inside the customer's TPM chip, and fingerprinted so a leaked copy names its source.
Choose the one that fits.
Get your app, venture or R&D done
An app, a venture or R&D — brief us on WhatsApp and get everything built, lightning fast.
Work with the commons For builders & researchersApply as a Fellow
Bring your app, your business — and apply for investment — or your own research. Not built yet? We'll build it with you first.
Apply For investorsInvest in the commons
Back Aitele itself, a lab's research programme, a venture, or a technology release on its way to market — one conversation covers all four.
Invest