packslip keygen
- Usage:
packslip keygen [-o --out <OUT>]
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
-o --out <OUT>— Where to write the secret key; the public key goes beside it, with a .pub extensionIt must not end in .pub, since the public key takes that name.
Default:
packslip.key-h --help— Print help
Examples
Write release.key and release.pub
packslip keygen --out release.key