AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Low 42 Bitcoin

doc: pass the manifest explicitly to gpg --verify

Public commit record

What the developer wrote

Authored by Peter Neuroth

95/100 · Strong
doc: pass the manifest explicitly to gpg --verify

We told people to drop SHA256SUMS and SHA256SUMS.asc into the same
directory and run `gpg --verify SHA256SUMS.asc`. That relies on gpg
guessing what to check, and the guess only happens for a real detached
signature. If the .asc turns out to be an inline signed message, gpg
verifies the payload embedded in the .asc itself, never touches
SHA256SUMS, and exits 0. It does warn on stderr, but that is easy to
scroll past and worthless to anything checking the exit code.

Spell out both filenames instead, and explain why. Also drop the
"gpg: assuming signed data in 'SHA256SUMS'" line from the sample
output, since gpg has nothing left to assume once we name the file.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification✓ Names security-relevant behavior explicitly
The short version

What changed, and why it matters

This commit updates Core Lightning's release documentation to tell users and release managers to run gpg --verify with both the signature file and the manifest file named explicitly. The old one-argument form can silently succeed even if the .asc file is not a proper detached signature over the manifest, because gpg may verify only a message embedded inside the .asc file and never check SHA256SUMS. The change prevents a subtle but real verification bypass in the release process, though it is a documentation-only fix and does not change any code or tooling.

Recommended action

Merge the documentation change. Consider also updating any release scripts or CI templates that invoke gpg --verify to pass the manifest explicitly, and add a note to the next release announcement so users who verify binaries manually adopt the safer command.

Security signals we found

01

Verification bypass risk in release artifact validation

02

gpg --verify single-argument form can exit 0 without reading the intended manifest

03

Documentation-only hardening of release process

04

Social/operational attack surface: tricking maintainers or users into accepting a malformed .asc file

Risk score

Why this scored 42/100

Our methodology →
Potential impact 8/30
Exploitability 7/25
Stealth signal 9/15
Affected reach 6/15
Confidence 8/10
Evidence quality 4/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.