[BIP proposal] Pay to Schnorr Key Hash (P2SKH)

Posted by waxwing/ AdamISZ

Mar 17, 2026/18:00 UTC

The discussion focuses on the technical aspects and implications of BIP340 Schnorr signatures within Bitcoin's cryptographic framework. Notably, Schnorr signatures incorporate what is termed "pubkey prefixing," where the challenge hash formula includes the public key (P) alongside the nonce (R) and message (m), forming (H(R, P, m)). This method contrasts with the original Schnorr signature design, which utilized a simpler formula, (H(R, m)), without incorporating the public key. The introduction of pubkey prefixing addresses issues present in legacy ECDSA signatures by preventing the possibility of pubkey recovery algorithms. This modification enhances security measures and aligns with the broader goal of resisting forgery across the system.

Pubkey prefixing's significance extends beyond mere security enhancements; it fundamentally alters the feasibility and reliability of certain cryptographic operations, such as key aggregation. Key aggregation, particularly within the context of Bitcoin, allows for the combination of multiple ephemeral keys into a single aggregate key. This process is crucial for enabling more efficient and scalable multisignature schemes, like MuSig. However, without pubkey prefixing, such aggregation schemes would be vulnerable to attacks involving the generation of malicious keys, thereby undermining their integrity and utility. Thus, pubkey prefixing is not merely a technical detail but a critical component that supports the broader application and effectiveness of Schnorr signatures in securing Bitcoin transactions and enhancing scalability through more sophisticated signing algorithms.

The conversation underscores a historical contention surrounding the need for pubkey prefixing in Schnorr signatures, highlighting its eventual adoption as a response to both theoretical and practical considerations. By incorporating the public key into the signature's challenge hash, Schnorr signatures offer a more robust foundation against forgery, thereby supporting more secure and versatile applications within Bitcoin's ecosystem, such as transaction aggregation for scaling purposes. This evolution reflects a thoughtful consideration of cryptographic principles and their implications for Bitcoin's ongoing development and optimization.

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiDecoding BitcoinWarnet
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project.

Give Feedback