Documentation
¶
Overview ¶
Command sign-release signs the release checksums file with the release Ed25519 key, producing the detached signature (checksums.txt.sig) the updater verifies before installing a downloaded archive.
OPENPANDA_RELEASE_KEY=<hex|base64 private key or 32-byte seed> \ go run ./scripts/sign-release dist/checksums.txt > dist/checksums.txt.sig OPENPANDA_RELEASE_KEY=<same> go run ./scripts/sign-release -pub # prints the hex public key to bake into the binary via # -X github.com/Xustalis/OpenPanda/internal/version.ReleasePubKey OPENPANDA_RELEASE_PUBKEY=<hex|base64> \ go run ./scripts/sign-release -verify dist/checksums.txt dist/checksums.txt.sig # OPENPANDA_RELEASE_KEY may replace _PUBKEY when the private half is # what the environment carries (the public key derives from it).
The signature is emitted as a single base64 line — the updater's decoder (internal/updater decodeSignatureText) accepts base64 and hex, standard or URL-safe, padded or raw.