Skip to content
Security

Release signing

Last updated: 2026-09-28

Every zgrok release is signed on a laptop, after the binaries are published, with a key that has never been on a server. This page is the public half of that key and the exact command that checks it, so you never have to take our word for what you downloaded.

The public key

One key, in minisign format. It is also compiled into every zgrok binary, which is what lets zgrok update check a release without asking anyone which key to trust.

RWR6Z3Jva3Byaam/t5TFu1xPGfBeelR76FYDT96jXdFmUinIwtzqEBf5

Verify a release yourself

Install minisign, download an index and its signature, and check one against the other. The index is the document that names every binary in a release and its SHA-256.

bash
curl -O https://downloads.zgrok.io/v0.30.4/index.json
curl -O https://downloads.zgrok.io/v0.30.4/index.json.minisig
minisign -V -P "RWR6Z3Jva3Byaam/t5TFu1xPGfBeelR76FYDT96jXdFmUinIwtzqEBf5" -m index.json

A release we signed looks like this, and exits 0:

Signature and comment signature verified
Trusted comment: zgrok index

Anything else looks like this, and exits 1:

Signature verification failed

What checks what

The two ways of getting zgrok do not check the same thing, and the difference is worth knowing before you rely on either.

zgrok update checks the signature. It verifies the channel pointer and the index against the key compiled into the binary you are already running, then refuses to install a download whose SHA-256 is not the one the signed index names. Every step fails closed: if the check cannot be completed, nothing is written.

The install scripts do not. They check two SHA-256 digests instead, the index against the one the channel pointer names and the binary against the one the index names. The reason is dull and real: there is no signature tool present on every machine a one-line installer has to work on, and macOS ships LibreSSL as openssl, which does not know this algorithm. That digest chain catches a publish that got half way. It does not catch anyone who can write both files, which is what the signature above is for.

What this does not claim

Each of these is a deliberate limit rather than an oversight, so they are written down instead of left to be discovered.

  • A first install is not signature-checked unless you run the command above yourself. See the section before this one.
  • It does not protect the machine that signs. Whoever holds the signing key can sign anything. The key lives on one laptop and has never been on the server that serves the downloads, which is the point of signing there, but it is a smaller claim than it may sound.
  • A client that never updates never learns anything. Verification happens when an update is fetched, so a binary that sits untouched for a year is exactly as trustworthy as the day it was installed, and no more.
  • Two keys exist, a primary and an offline backup. Rotating beyond those two needs a new release, because the trusted set is compiled in. That is an accepted limit, not a plan.

Reporting a problem

Security issues go to security@zgrok.io: a vulnerability in the CLI, the tunnel server or this site, or a release that looks wrong. For a signature that does not verify, include the version and the output above. A failing signature on a real release is worth telling us about even if you think it is your own tooling.

The same address is published in security.txt. Anything that is not about security is quicker through support@zgrok.io.