Live on QoreChain testnet

Post-quantum signednpm packages., Arch packages., firmware., Ubuntu packages., Homebrew bottles., OS updates.

Kazashi remembers what software was real before Q-Day. A public log of release fingerprints on QoreChain. Devices install only what is in it.

The problem

Updates are trusted because of signatures a quantum computer can forge.

Today

A device installs an update because it carries a valid RSA or ECDSA signature.

On Q-Day

A large quantum computer can make that same valid signature for malware. The check still passes.

With Kazashi

A forger can fake a signature. They cannot add an entry to a log that was written and witnessed before.

How it works

Four steps. All live on testnet.

01

Sign

A vendor puts a release's SHA-256 into a pack and signs the whole pack once with ML-DSA-87.

02

Record

The pack is posted to the kazashi-1 rollup on QoreChain. Its place in the chain is its timestamp.

03

Witness

Independent witnesses cosign the log's checkpoint. A device needs two of three.

04

Check

Before installing, a device runs nine checks. One failure and the file is refused, with a reason.

Live

The current checkpoint, and a device reading it.

kazashi-1 / checkpoint

Checkpoint, cosigned by witnesses

Loading…

kazashi check, against the live log

Sigpack

One signature for a whole pack.

An ML-DSA-87 signature is 4,627 bytes. Kazashi signs the Merkle root of a pack instead of each release, and a device proves its entry with a few 32-byte hashes.

Bytes on chain per release, measured from real packs.

The Q-Day switch

Cryptography announces its own end.

A contract on QoreChain holds a bounty and a secp256k1 key that nobody holds. Whoever signs for it claims the bounty, and the switch flips a sunset.

After the sunset, a classical signature counts only if it was recorded before. Two of three switch holders, signing with ML-DSA-87, can also flip it.

Also built

Quiet safeguards.

Embargoed fixes

A security fix is sealed with ML-KEM-1024 to device makers. Its fingerprint is public before the fix is.

Watchtower

A watchtower re-executes each rollup batch and files a fraud proof if the result does not match.

Bonded witnesses

A witness that signs two different logs of the same size loses its bond.

Use it

With the tools you already run.

Observers record npm, Arch, Ubuntu and Homebrew packages after checking the registry's own signature or hash. Your installs are then checked against the log.

npm

Check every package in a lockfile before npm ci.

node integrations/npm/npm-check.mjs && npm ci

Arch Linux

A pacman hook checks each package before it installs.

integrations/pacman/install.sh

Ubuntu and Debian

An apt hook checks each .deb before dpkg unpacks it.

integrations/apt/install.sh

macOS

Wraps brew install: every bottle is checked first.

kazashi-brew install jq

Anything else: kazashi init && kazashi check firmware.bin. Exit code 0 means install.

Record it now. Prove it later.