sign-release

command
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: AGPL-3.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL