The CLI reference lists the commands by task. This page is generated from the development branch's help; run packslip keygen --help for the options your installed version supports.

packslip keygen

Generate an Ed25519 key pair for key-signed releases

Write a new secret key to --out, as a hex Ed25519 seed with mode 0600 on Unix, and its public key, in minisign format, to the same path with the extension replaced by .pub: --out release.key writes release.key and release.pub. If either file exists, keygen writes nothing and fails.

Sign with packslip create --key release.key, which uses the sigstore-key scheme. Give consumers release.pub for packslip verify --pubkey and packslip install --pubkey. Keep the secret key private. A CI job with an OIDC identity can sign keyless and needs no key. See https://packslip.dev/docs/other-ci/

Flags

Examples

Write release.key and release.pub

packslip keygen --out release.key