Documentation
¶
Overview ¶
releasesig makes komando's release signing key and signs a release's checksums.txt with it (see internal/releasesig).
go run ./scripts/releasesig new FILE # a new key: the private key goes into FILE, the public key is printed go run ./scripts/releasesig public FILE # the public key of the private key in FILE go run ./scripts/releasesig sign CHECKSUMS TAG # write CHECKSUMS.sig (the release workflow runs this)
sign reads the private key from RELEASE_SIGNING_KEY (one key per line; each key adds a signature), then checks the result with the public keys built into komando, so a release is never published with a signature that komando would refuse. The first line of CHECKSUMS must name TAG (`make dist` writes it), so the signature covers the version.