Verify the distributed archive
On Linux x64, start in an empty directory. The public client configuration lists pinned bundles only when an operator has published a signed release to that deployment. This example uses curl, jq, unzip and sha256sum, and stops if the manifest is unavailable. The first checksum covers the downloaded wrapper. The second covers the versioned archive inside it.
set -eu
site=https://www.zippigeon.com
version=$(curl -fsS "$site/api/client-config" | jq -er '.cliStandalone.version')
wrapper=zippigeon-linux-x64.zip
curl --proto '=https' -fsSL "$site/downloads/zippigeon-cli-v${version}-bundles.sha256" -o checksums.txt
curl --proto '=https' -fsSL "$site/downloads/$wrapper" -o "$wrapper"
awk -v file="$wrapper" '$2 == file' checksums.txt | sha256sum --check --strict -
unzip -q "$wrapper"
sha256sum --check "zippigeon-v${version}-linux-x64.tar.gz.sha256"
Authenticate the release signer
A digest match establishes agreement with the downloaded checksum. For independent publisher verification, obtain the matching .sig file for the inner archive from the release publisher and verify it with OpenSSH against the ZipPigeon release key below. ssh-keygen reports a good signature only for a file signed with that key in the zippigeon-cli-release namespace. Releases before 0.2.3 were signed with Sigstore instead.
archive="zippigeon-v${version}-linux-x64.tar.gz"
printf '%s\n' 'zippigeon-cli-release namespaces="zippigeon-cli-release" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBqxRu0y5wKuy8KTZgRI4g8uo4tE1sOJjsp/JlTlWTr7' > allowed_signers
ssh-keygen -Y verify -f allowed_signers -I zippigeon-cli-release -n zippigeon-cli-release -s "$archive.sig" < "$archive"
Compare the installed executable
After verifying the archive signature, compare the binary inside it with the installed executable from the same platform and version. The first command hashes the archived executable directly. The second hashes the executable your shell would invoke. The two hexadecimal digests should be identical.
binary="zippigeon-v${version}-linux-x64"
tar -xOzf "$archive" "$binary" | sha256sum
sha256sum "$(command -v zippigeon)"
Check the plaintext digest on both devices
Use a CLI build whose help lists send. Compute a reference digest and feed the same bytes to the CLI. Compare the local SHA-256 in the receipt. Open the link on the intended test device, save the decrypted file, and run sha256sum example.env there. All three hashes should match, including the final newline. On macOS, use shasum -a 256 in place of sha256sum.
printf '%s\n' 'EXAMPLE_ONLY=synthetic-fixture' | sha256sum
printf '%s\n' 'EXAMPLE_ONLY=synthetic-fixture' | zippigeon send --name example.env --ttl 15m --one-time
Inspect what the CLI sends
From a source checkout, run the send regression below. It exercises the CLI against a loopback HTTP fixture. Inspect its captured requests before they are discarded. Reservation JSON has sizes and part counts, part uploads contain ciphertext, and completion contains an encrypted manifest, nonce, signature and wrapped key. The fixture checks the URL, headers and bodies for the synthetic plaintext, private filename, plaintext checksum and fragment. Use only test credentials for this inspection.
npm ci
npm test -- src/cli/send.test.ts
Interpret the key fingerprint and link fragment
The fingerprint is derived from the sender’s public keys and can be compared with a fingerprint obtained through a trusted channel. XChaCha20-Poly1305 protects file data. Eligible V3 account recipients have a separate X-Wing key envelope. A secure link uses its own locally generated fragment secret. The CLI sends a wrapped key to the API and puts the unlock secret after # in the link. The recipient’s device and any channel carrying that full link must be trusted. The service still sees the transfer time, ciphertext sizes and access events.
