Open
Description
In order to implement simple signature verification for rustup
to an extent that we're confident that it's good to proceed to thinking more about trust models, we need:
- Select an OpenPGP implementation to use (rpgp)
- Develop a prototype using that implementation (done on Validate pgp signatures #2077)
- Ensure the OpenPGP implementation supports all platforms we need it to
- Basic verification of signatures over channel manifests (in the
.asc
files)- Ensure that the signature-verification-failed message is good enough that users won't just re-run and/or file bugs on
rustup
which aren't actual bugs for us. - Switch warnings for errors, ensuring that GPG signatures are always checked and valid.
- Ensure that the signature-verification-failed message is good enough that users won't just re-run and/or file bugs on
- Sign
rustup
releases- Ensure we have at least release signed before we deploy signature verification in a release
- Verify the signature on
rustup
releases in a basic way during self-update - Verify the signature on the
rustup-init
downloaded byrustup-init.sh
- Determine which tools we can use and how to detect them
- Decide how we distribute the key to verify against
- Implement the verification check
If anyone has ideas on what else needs doing, please comment below and I shall endeavour to keep this tracking issue up to date with the progress toward simple signature verification support.