Documentation
¶
Overview ¶
Command updsign signs a release's SHA256SUMS for in-app upgrades and makes the Ed25519 key pairs for it (internal/update/sign.go).
updsign keygen DIR
writes DIR/update-signing.key (the private key, base64; mode 0600)
and prints the public key, for internal/update/keys.go. Run it on
the machine that sets the repository secret, never in CI:
gh secret set UPDATE_SIGNING_KEY -R readori/RemoHop < DIR/update-signing.key
updsign sign -tag vX.Y.Z -in SHA256SUMS -out SHA256SUMS.ed25519
signs with the private key in $UPDATE_SIGNING_KEY
updsign verify -tag vX.Y.Z -in SHA256SUMS -sig SHA256SUMS.ed25519
checks the signature against the keys this build trusts
updsign keys
exits 0 when this build trusts any key (one-click upgrades on),
1 when it trusts none
Click to show internal directories.
Click to hide internal directories.