Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.1 KB

Signatures.md

File metadata and controls

25 lines (21 loc) · 1.1 KB

Cryptographic signatures are used to give some minimal validation that files have not changed unexpectedly.

Binaries from CI builds

All CI runners have access to a private key that is used to sign all Release Build workflow artifacts. The set of runners currently includes GitHub hosted runners, and private runners provisioned by Lamdera. The public key is stored in keys/gpg-actions.pub and is used by dev/build.sh publish-* to verify the downloaded binaries before publishing.

How to generate a new key

  1. Remove the old key:
    • rm ./keys/github-actions.pub
  2. Create the new key:
    • minisign -G -W -s ./XXX_NEW_PRIVATE_KEY -p ./keys/github-actions.pub
  3. Get the private key:
  4. Securely delete the private key:
    • shred -uvz XXX_NEW_PRIVATE_KEY
  5. Check in the changes to ./keys/github-actions.pub
  6. Push to a branch whose name starts with "release/" to trigger the Build Release workflows, and make sure they succeed.