CHIP-2026-06: Post-Quantum and Hybrid Signatures

Absolutely. I think SHRINCS/SPHINCS works the following: you have a stateful signer that can use extremely efficient signatures, and you have static backup, but on that path you only have access to SHPINCS as in stateless signing in case your trusted hw device croaked. You simply have different EC keys, the recovery derivation has no access to the stateful signing EC private keys only the xpubs.

1 Like

This? SHRINCS: 324-byte stateful post-quantum signatures with static backups - Protocol Design - Delving Bitcoin Feel free to share any other relevant links.

From that topic:

So this would effectively introduce OP_SPHINCS and OP_WOTS rather than a single OP_SHRINCS , and let wallets implement the SHRINCS scheme via the Taproot tree. I agree this is a valid approach.

Since we’re doing hard-forks we can just overload OP_CHECKISG for SPHINCS+ (as proposed) and have the reliable backup. Hypothetical OP_CHECKOTS would complement that. Thing is, functionally we already have PQC one time signatures (Script-implemented). We don’t have stateless PQC signatures. That’s why I feel our priority now should be adding SPHINCS+ to OP_CHECKSIG.

They can also be implemented in script. The diff between stateful and stateless is how your merkle leafs are selected. If your path depends on a cryptographic hash of the message signed and the tree is large enough for practically unlimited signing, you are stateless.

1 Like

That’s not the only diff. The number of leaves needs to be huge so there’s no chance of picking the same leaf multiple times. Practical difference is one scheme can fit in Script now, the other can’t. If we had Nervos VM (compiles to RISC-V bytecode) then we could just implement whatever we want in Script (and they did SPHINCS+).

So what should our strategy be? Make VM and limits expressive and loose enough so that we can implement both in Script? Or “hardcode” vetted schemes behind an opcode (OP_CHECKSIG overload for stateless, hypothetical OP_CHECKOTS for stateful)? What’s the benefit of going in the direction of flexibility here? OP_CHECKSIG is a core feature, imagine if we didn’t have it and had only OP_ECADD/MUL and every wallet rolled their own in Script, what a mess that would be!

2 Likes

There’s also stateless-ish :sweat_smile:

So EVM folks thought to make a trade-off where they get higher risk of internal key reuse but smaller on-chain footprint. Still practically stateless. It would be interesting to see what’s the current maximum count of a single key re-use across popular blockchains.

1 Like

Your script that verifies the signature is fairly compact. The signature itself is huge. It’s just a bitcoin weirdness that the “witness” data of the transaction is also in limited script form. Still the whole thing should fit into 10KB comfortably.

I can’t help to think that it’s a mistake for blockchains to just adopt standards made for web certificates and ssl handshakes. We have very different statistical usage patterns, costs and constraints. It’s at least worth to investigate what the best tradeoffs could be between size and reuseability.

2 Likes

I think we’re talking about different things. I’m talking about implementing SPHINCS+ in Script vs implementing some OTS/FTS in Script. I don’t know how big of a bytecode SPHINCS+ would be but I doubt it can fit into VM limits, whereas some OTS/FTS can already fit.

Maybe in the future SPHINCS+ will be able to fit, maybe in the future we will have read-only inputs or global function tables so we can avoid a consensus change and someone would just vet a Script which anyone could call with <32-byte identifier> OP_INVOKE.

It’s not either / or, though. We can have some vetted schemes under the OP_CHECKSIG umbrella, and have a powerful VM that exposes some primitives and allows people to implement others. If they get used enough, later bring them under OP_CHECKSIG umbrella, too. But we have to think about timelines. Using off-the-shelf vetted schemes has less room for errors and allows us to have something reliable next year as backup / shelter.

What was ECDSA made for? Bitcoin got lucky that it adopted ECDSA just at the right time: early to be among the first to reap the size benefits over RSA, and late enough to not be broken later. Would Bitcoin have worked with RSA? I think it would have, and maybe first blocksize limit would’ve been set to 10 MB. Then our today’s discussion would be comparing 8kB with 768B, “only” a 10x, and would seem less drastic than 80x. We just got spoiled by elliptic curve crypto, and it will be missed, especially due to other cool stuff it enables, like confidential transactions. I wish it never gets broken and we never have to evacuate to our hash-based bunker.

Yes, but it all relies on assumption that you can safely reuse keys and signatures. Why break that promise when we don’t really need to? Q-day hasn’t come yet, even if we enable SPHINCS+ most people won’t use it. Maybe only institutions will adopt it, so it won’t be a large blocksize footprint. By the time Q-day comes maybe a nice and small drop-in will become available (e.g. SQIsign, the isogeny-based candidate with ~200-byte signatures, if it survives cryptanalysis). Then, we can add it to OP_CHECKSIG registry and keep all our current usage patterns.

You seem to be imagining a future where we’re stuck with SPHINCS+ just because we added it first. I’m imagining it just helps us get through the transition, and later we move on to use something better. We don’t have Bitcoin’s 2009 luck of having a small (on-chain bytes) AND convenient (wallet UX, no state management, airgapped signers work) AND secure (still secure vs classical) scheme available. We don’t have that option, so we pick two (secure + convenient) and pay the size cost temporarily. OTS/FTS would be another two-pick (secure + small).

1 Like

Ahh, so I was talking about implementing stateless signatures in script not exactly SPHINCS+ just something comparable. Something where you can sign like a million times without much statistical chance of reusing an OTS pub.

You can also decrease the signature sizes not just by decreasing the reusability, but also by using smaller hashes. While this may not be the endgame, for specifically the migration period (where we have like a reasonable suspicion that a CRQC is out there) they would suffice with hybrid schemes.

Finally, small amounts don’t require the same security guarantees as treasury amounts, but would be more sensitive to on-chain fees by a huge degree.

Fair point. I don’t have a lot of confidence in the other schemes at this point in time. I also don’t have a lot of confidence in “we can do it better later”.

1 Like

Trauma from BTC carried over :sweat_smile:

Here we CAN do better later, as we did when we added Schnorr. It was actually our first OP_CHECKSIG overload. It dispatches based on size of pushed signature and uses it to pick between ECDSA and Schnorr verification.
OP_CHECKMULTISIG Schnorr overload is nice, too, because it reused the infamous “dummy” element as pubkey bitfield and switches on it instead of signature size(s), so it’s actually nicer to use than the legacy ECDSA version.

This proposal would continue in that manner, and formalize a framework for dispatching based on first byte of the pushed pubkey.

1 Like

That’s good, but I think we can agree that if the application developers can work around the holes left by the protocol developers, that’s a form of future-proofing. Which is probably not a bad thing either way.

1 Like

In regards to this, I’d actually like to say that lattice schemes could potentially be reliable as well. For instance, the NTRU patent was filed in 1997 whereas the Curve25519 paper was published in 2005.

I’d argue that while SPHINCS+ is likely the most reliable scheme available, lattices are also reliable. Namely, I’d argue for the following lattice schemes:

ML-DSA/Dilithium (still incredibly arguable)
Falcon
Possibly Raccoon

Additionally, I’d like to take a look at FAEST slightly more, as it’s also conservative without the signatures being as large.

All of these schemes (excluding Raccoon) are helpfully arranged here at the signature zoo.

1 Like

An interesting announcement today from " localhost research", i don’t believe the spec is out yet but it sounds interesting

[…]
Right now, much of the post-quantum Bitcoin conversation is coalescing around purely hash-based signatures. For good reason: hash functions are among the most conservative, battle-tested cryptography we have.

The tradeoff is rigidity. We lose many of the properties and features we rely on (e.g. watch-only wallets).

That’s why we’re proposing NAEST (Nested AES), a new scheme from our Post-Quantum Cryptography Group.

NAEST builds on FAEST, a post-quantum signature scheme that adds no new structured hardness assumptions to Bitcoin. It relies on AES (the block-cipher peer to SHA-256: symmetric, hardware-native, and one of the most relentlessly scrutinized primitives in cryptographic history) along with hash functions and PRGs, combined with an information-theoretically sound proof system. No new mathematical structure for quantum computers or AI to exploit.

NAEST is stateless and supports watch-only wallets and stealth addresses. […]

2 Likes

Noting down recent lattice “breaks”: Anthropic AI reveals major weakness in encryption that quantum computers can exploit | Scientific American

IMO this is why we should add only SPHINCS+ for now, have a safe bunker to survive AIpocalypse, and later take whichever lighter scheme that survives it.

1 Like

This CHIP is now listed as a draft strawmap item on ConsensusCash to keep an eye on public interest & response:

https://www.consensus.cash/pq-signatures

1 Like

So I’m just thinking, generally, about this whole thing.

If BTC can do a single thing competently, I would think it would be a good encryption scheme. All parties have a vested interest in keeping BTC broken, but still alive. If BTC dies then crypto gets completely uncontrollable.

Therefore, I think we should plan to support whatever solution BTC comes up with, assuming its sane, and perhaps try to align with any opcodes they introduce.

Our primary path though should not be limited to BTC’s solution, which will likely take too long and also it likely won’t be optimal given the limitations of BTC. So we should go full speed ahead with other well thought out solutions, but I’m just making the point that likely adding support for the BTC solution will be a good idea. For example, if we’re using the same institutionally vetted solution that BTC came up with, then its just easier for compliance and bureaucracy to say we comply with X, rather than trying to explain our solution and how everything fits together and works. It would also be easier for wallets and exchanges to support BCH if its using similar libraries and code paths as BTC. There are probably many other reasons.

If we assume support for the BTC solution, that can also help us build something better using any primitives from the BTC solution that we know are going to be there. So if BTC adds this specific op code and does X with it, we can do Y but still have that op code as part of our solution.

Arent SPHINCS+ signatures huge compared to dilithium sigs? up to 5x-6x larger?

The attack anthropic published is purely theoretical. you need to do something like 2^1000 quantum operations to attack the lattice crypto on its smallest param set which is vastly larger than what current quantum computers can do.

I generally do not trust the NSA and their statements (or any statements the USA government produces), however, i do believe that they are incentivised to not have a weakness in their own networks and american networks. In the statement they made they are recommending people move to ML-DSA-87(dilithium) which is lattice based. If anthropic actually found a practical vulnerability in lattice based schemes why would they continue to recommend them?

The CHIP implements a framework with which we could add whatever other signature scheme survives the AIpocalypse. For now, we’re only proposing the bunker option: the safest bet, a sha256-based scheme called SPHINCS+ which has huge 8kB signatures but is the safest option. It’s really just a ton of sha256 hashes arranged in a specific structure so you can make signatures, it has been standardized, and it will be recognized by institutions requiring secure cold storage etc.

Yes, they’re the hugest option, but also the safest option because they’re hash-based and use sha2 specifically. We don’t know what other cryptocanalysis breaks to expect (what if dilithium gets broken?) so for now bunker option is best IMO, and later we can make our pick from what survived the AIpocalypse.

Hashes are cochroaches of cryptoanalysis, in sha2 we trust!

The source is this: Initial Assessment of Anthropic’s Findings on Lattice Cryptography — CIRG

We recommend that those adopting the current NIST standards choose the highest security level each application can support. We also encourage hybrids that combine schemes based on different mathematical foundations, and we recommend designing agile systems so that individual schemes can be replaced quickly if the need arises.

And we’re doing all:

  1. SPHINCS+ is the highest security we can support
  2. SPHINCS+ hybrid with secp256k1 mitigates wallet-side (keygen) accidents (consensus verifier is deterministic and hash-based, but wallets could mess up keygen)
  3. Our OP_CHECKSIG overload framework is agile
1 Like

Updated the chip to v0.2: dropped falcon for good, retargeted sphincs+ to FIPS 205 (final), allow only secp+pq hybrid scheme per bca’s suggestion, supported DSP for hybrids.

chip: mainnet-pat / chip-2026-06-generic-sigs · GitLab

bchn: Files · generic_sig · mainnet-pat / Bitcoin Cash Node · GitLab

1 Like

Launched tempnet and infra with this chip activated.

1 Like

Another paper worth referencing: https://raw.githubusercontent.com/CassOnMars/rhoboat/refs/heads/main/paper1.pdf

“From 254.37 Free-Base Cheon to 5,951-Query Jacobi-Quartic Maurer–Wolf: Concrete Auxiliary-Input Cryptanalysis, Spectral Structure, and Cycle-Free GLV-Rho on secp256k1”, (2026), Cassandra A. Heart

Nice thing is it actually strengthens the “normal” case (you don’t typically use your keys in some threshold signature scheme or are exposed to side-channel leaks).

What Is Not Broken (Standard secp256k1 Security)

If an attacker only has a standard public key P = [k]G (as in normal Bitcoin/Ethereum addresses, ECDSA, or Schnorr signatures), this paper does not weaken secp256k1—in fact, it strengthens confidence in its standard security:

  • Unassisted ECDLP remains at \sim 2^{127.03} operations: Even with the author’s highly optimized laptop GPU/CPU Pollard’s \rho engine, cracking a normal 256-bit key without an oracle would still take roughly 1.55 \times 10^{22} years.
  • Four obstructions against building a hidden oracle: The paper proves and empirically checks four independent barriers showing that you cannot cheaply construct a Square Diffie–Hellman (SqDH) oracle out of thin air on secp256k1:
    • Rational (Padé) representations of SqDH saturate the generic degree bound (\sim 2^{252.42} on secp256k1).
    • The pairing embedding degree is huge: k_{\mathrm{emb}} = (n-1)/6 \approx 2^{253.42}, closing pairing/MOV attacks.
    • All curve endomorphisms act linearly on scalars (never quadratically).
    • Statistical tests across 1,000,000 real secp256k1 points using division polynomials found zero leakage.
  • No hidden faster curve model: The author proves secp256k1 has no Montgomery or twisted Edwards form even over \mathbb{F}_{p^3} (first appearing over \mathbb{F}_{p^6} at \ge 18\times overhead) and is already uniquely optimal in its \mathbb{F}_p-isogeny class.

Summary of Threat Models and Impact

Threat Model on secp256k1 Queries Needed Complexity / Live Result Real-World Impact
Standard Unassisted ECDLP 0 2^127.03 ops (infeasible) Bitcoin/Ethereum/standard keys remain safe
Auxiliary Powers (Cheon-1) 187 to 389 2^54.37 full; 147.92b live (47 min) Breaks protocols exposing secret powers [k^d]G
Black-Box SqDH / CDH Oracle (Maurer-Wolf) 5,951 to 36,411 Full 256-bit key live (8.8 to 165.6 s) Proves razor-tight CDH-to-DLP collapse
Noisy 1-Bit Leakage (45% noise) ~6,000 100% recovery on H_S/mu_6 (0.22 ms CRT) Amplifies weak side-channel leaks in Cheon regimes

Note on verification status: This document is an independent preprint hosted on GitHub (by Cassandra A. Heart of Quilibrium, Inc.) with accompanying code and pure-Python verification scripts, rather than a formally peer-reviewed publication. However, its core mathematical claims—factorizations, CM curve smoothness, Jacobi-quartic formulas, and the strict boundary between unassisted and oracle-assisted threat models—are concrete, self-contained, and aligned with established elliptic-curve cryptanalysis.