Skip to content

Tracking: Simple PGP signature verification #2028

Open
@kinnison

Description

@kinnison

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.
  • 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 by rustup-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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions