polish up the release signature verification process
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- go
- Domain
- documentation, security
Research direction
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.
Written by the indexing model from the issue text.
Description
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
gpgfor 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.txtas 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-missinghas been insha256sumfor 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.
- Dominant language
- Go
- Stars
- 8.2k
- Forks
- 2.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 103
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lightningnetwork/lnd
-
funding: failure logs print `<nil>` error and zero channel IDPossibly taken @litbot-9000 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
lightningnetwork/lnd#11676 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Half a day Newbie friendliness 85/100
lightningnetwork/lnd#11674 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lightningnetwork/lnd#11672 ·
Maintainers usually reply within 1 day
-
test flake
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
lightningnetwork/lnd#11663 · 1 comment ·
Maintainers usually reply within 1 day
-
[flake]: lnwallet/test/bitcoind.TestLightningWalletBitcoindRPCPolling/spend_unconfirmed_outputsOpentest flake
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
lightningnetwork/lnd#11642 · 1 comment ·
Maintainers usually reply within 1 day
All issues in lightningnetwork/lnd
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
containers/gvisor-tap-vsock#796 ·
Maintainers usually reply within 2 days
-
external needs:triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
celestiaorg/celestia-node#5448 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
[Bug]: Azure SAS signing uses local time instead of UTC, shifting validity window on non-UTC hostsPossibly taken @huanghaoyuanhhy claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
zilliztech/milvus-backup#1418 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
projectdiscovery/nuclei#8423 ·
Maintainers usually reply within 1 day