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

expose ec_public_key_strict_verify to verify non-hybrid pubkeys

Public commit record

What the developer wrote

Authored by Jon Griffiths

83/100 · Strong
expose ec_public_key_strict_verify to verify non-hybrid pubkeys

In modern contexts we want to exclude hybrid keys (0x6/0x7 prefixed
uncompressed public keys). Expose this call to detect them.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
The short version

What changed, and why it matters

This commit adds a new public function that lets callers check whether a Bitcoin-style public key is valid and is not an old, rarely-used 'hybrid' key format. It does not change existing behavior; it only exposes a new, stricter verification option. The change itself is defensive and not a vulnerability fix, though it may help downstream code reject hybrid keys that some modern protocols consider invalid.

Recommended action

No immediate action required. Treat as a routine defensive API addition. Downstream projects that need to reject hybrid public keys should migrate to wally_ec_public_key_strict_verify where appropriate. Review whether any existing internal callers should switch to the strict verifier, but that is outside the scope of this commit.

Security signals we found

01

New strict public-key validation API rejecting hybrid (0x06/0x07 prefixed uncompressed) public keys

02

Hybrid keys are still accepted by the pre-existing wally_ec_public_key_verify; only the new strict call rejects them

03

No buffer overflow, memory corruption, or cryptographic flaw visible in the diff

04

Commit message frames the change as enabling modern contexts to exclude hybrid keys

Risk score

Why this scored 23/100

Our methodology →
Potential impact 3/30
Exploitability 2/25
Stealth signal 2/15
Affected reach 4/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.