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

Verify Schnorr signatures before returning them

Public commit record

What the developer wrote

Authored by Salvatore Ingala

83/100 · Strong
Verify Schnorr signatures before returning them

As an optional but recommended check in BIP-340, verify that each
produced Schnorr signature is valid before returning it, as a
defense-in-depth measure to detect computational integrity failures
during signing.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Names security-relevant behavior explicitly
The short version

What changed, and why it matters

This commit adds a safety check to the Ledger Bitcoin app: after creating a Schnorr signature, the app now immediately verifies that signature using the public key. If verification fails, the app aborts and returns an error instead of handing out a potentially malformed signature. This is a defense-in-depth measure against rare hardware or computation faults during signing, not a fix for a known exploitable bug.

Recommended action

No immediate user action required. This is a hardening improvement. Ensure firmware updates include this change, and monitor for any future reports of signature verification failures in the field.

Security signals we found

01

Adds post-signing verification of Schnorr signatures

02

References BIP-340 recommended defense-in-depth practice

03

Aborts with SW_BAD_STATE on verification failure

04

Prevents release of invalid signatures due to computational integrity failures

Risk score

Why this scored 47/100

Our methodology →
Potential impact 12/30
Exploitability 5/25
Stealth signal 8/15
Affected reach 10/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.