polish up the release signature verification process

Aperta
#11,434 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
72/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
go

Direzione di ricerca

Start with the release verification instructions and signer key references linked in the issue, including scripts/keys. Review how releases publish signature files and how the guide explains checksum verification and GPG trust. Update the instructions to cover combined signatures, the suggested checksum command, independent fingerprint references, and the trust warning; done when a user can follow the documented steps and understand the expected verification output.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Looking at https://github.com/lightningnetwork/lnd/releases/tag/v0.21.5-beta , I'd like to propose some changes to the release signature process:

  • Use a single combined signature file with a predictable name so that a user or script only need to know the version number to download all signatures for a release and verify them. Bitcoin Core already does this (https://bitcoincore.org/bin/bitcoin-core-31.1/SHA256SUMS.asc) and we should follow their lead. Support for a number of signatures in a single file has been in gpg for a number of years now, so I think it's safe to recommend now. Currently we have a separate file for each signer and we don't always have the same signers on every release.
  • We should recommend sha256sum --ignore-missing --check manifest-v0.21.5-beta.txt as a much simpler option than "re-compute the sha256 hash of the archive with shasum -a 256 , compare it with the corresponding one in the manifest file, and ensure they match exactly." --ignore-missing has been in sha256sum for a number of years now, so I think it's safe to recommend now.
  • Recommend at least one non GitHub.com reference required to be linked to for each signer for users to verify their pubkey key fingerprints so that we aren't exclusively relying on https://github.com/lightningnetwork/lnd/tree/master/scripts/keys as an authoritative key list of approved signers. We should provide links to all sources so users can easily locate public key fingerprints for each signer across a diverse distribution of different infrastructure providers.
  • We say "You should see the following if the verification was successful:"
gpg: Signature made Wed Sep 30 17:35:20 2020 PDT
gpg:                using RSA key 60A1FA7DA5BFF08BDCBBE7903BBD59E99B280306
gpg: Good signature from "Olaoluwa Osuntokun <[email protected]>" [ultimate]

but we never told the user they needed to trust the public key that was imported, so they won't see this same thing, instead they'll get "WARNING: This key is not certified with a trusted signature!" included in the output.

Lingua principale
Go
Stelle
8.2k
Fork
2.3k
Merge medio
1g 11h
PR unite (30g)
103

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lightningnetwork/lnd

Tutte le issue di lightningnetwork/lnd

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.