packslip releases
- Usage:
packslip releases <FLAGS>
Create and sign a project's release list
Read local copies of released bundles and write a signed release list: each release's bundle URL, digest, version, tag, and publish time, plus the list's sequence and expiry. The bundles are read, not verified, so give copies you trust. The list holds exactly the --release entries given; the command does not append to an earlier list or upload anything. With no --release, the list is empty, which retires every entry an earlier list carried.
Publish it at https://HOST/.well-known/packslip/PATH.json for a project named HOST/PATH, or at https://HOST/.well-known/packslip.json for a bare host. A github.com project commits it to its default branch instead, as .well-known/packslip.json, or .well-known/packslip/TOOL.json for a monorepo tool. See https://packslip.dev/docs/release-lists/
Flags
--project <PROJECT>— The project's name, which every --release bundle must name--sequence <SEQUENCE>— This list's sequence number; increase it with every list you publishConsumers refuse a list whose sequence is lower than one they accepted.
--latest <LATEST>— Recommend this version to consumers that ask for the latest releaseIt must exactly match a --release entry's version. Versions are not reordered.
--valid-for <VALID_FOR>— How long until the list expires, as a number and a unit (s, m, h, d, or w), such as 30dConsumers refuse the list once it expires, so publish a new one, with a higher --sequence, before then.
Default:
30d--generated-at <GENERATED_AT>— RFC 3339 generation time, written in UTC; defaults to now--release <RELEASE>— A released bundle as URL=PATH: where consumers fetch it, and the local copy to read (repeatable; omit it for an empty list)--yank <YANK>— Withdraw a listed release, as URL=REASON, with URL exactly as given to --release (repeatable)--security <SECURITY>— Mark a listed release as a security fix, by its --release URL (repeatable)--evidence <EVIDENCE>— What a repackager checked about a listed release, as URL=KIND or URL=KIND=DETAIL with URL as given to --release (repeatable)-o --out <OUT>— Where to write the listConsumers fetch a list only from its .well-known path, never under this default name.
Default:
packslip-releases.sigstore.json-h --help— Print help
Signing
-k --key <KEY>— Sign with this secret key, frompackslip keygen, instead of signing keyless--sign <SIGN>— How to sign: oidc (keyless, with the CI job's identity) or key (with --key)Defaults to key when --key is given, else oidc. sigstore-oidc and sigstore-key are other spellings. --sign key needs --key; --sign oidc conflicts with --key.
--no-log— Record no Rekor transparency log entry for a key signatureNeeds --key, since keyless signatures are always logged. Consumers must then pass --allow-unlogged.
--no-pin-workflow— Write identity.pin_workflow: false into the list, aspackslip create --no-pin-workflowdoes for a releaseConflicts with --key, since only a keyless signer has a workflow. See https://packslip.dev/release/v1/#workflow-pinning
Examples
List one key-signed release of a domain project
packslip releases \
--project mytool.example.com \
--sequence "$(date +%s)" --valid-for 30d \
--latest 1.2.3 \
--release https://mytool.example.com/v1.2.3/packslip.sigstore.json=releases/v1.2.3/packslip.sigstore.json \
--key release.key \
--out site/.well-known/packslip.json