Dave C (@311008DC) header
Dave C (@311008DC) profile picture
Joined September 2014
You and me right now
3
1
12
275
Joint statement We are making the availability of post-quantum signatures in Bitcoin our top priority. Work on this has been going on for some time: there are draft BIPs for post-quantum signatures, and upgrade paths have been discussed extensively, giving us a solid foundation from which to advance quickly. Recent events, including the discoveries referred to by the US government on December 2nd, raise the priority of this work and accelerate its timeline. We are not aware of any concrete attacks, and have no non-public information, but feel the time to act is now. We intend to draft a set of proposals by the end of January 2027 for transacting safely on Bitcoin without relying solely on elliptic curve cryptography. They will include a post-quantum signature scheme, its integration into Bitcoin Script, and at least one new output type. These proposed changes will be reviewed in public and their adoption will depend on Bitcoin’s users like any other proposal. We sign as individuals and do not speak for any organizations or projects. Antoine Poinsot (@darosior), Cory Fields, Greg Sanders (@theinstagibbs), Jonas Nick (@n1ckler), Matt Corallo (@TheBlueMatt), Michael Ford (@fanquake), Murch (@murchandamus), Pieter Wuille, and Tim Ruffing (@real_or_random)
48
180
19
1,322
67,842
Dave C retweeted
IMHO the "PQAI threat" merits practical solutions deployed quickly. I think the most pragmatic move forward is a set along the following lines: BIP-360 P2MR: Quantum-resistant output commitments. 3 new-ish BIPs: - OP_N_SHA256 / OP_N_SHA256_128: Recoverable hash-chain signatures for 32-byte and 16-byte preimages. - OP_BYTEREDUCE: Fixed-width byte vector packing and arithmetic. - OP_TAGGEDHASH: Salting, domain separation, and cryptographic commitment composition. I'm less convinced of the need for e.g. OP_TEMPLATE, OP_TX, or CTV for introspection in the context of PQ signatures, since you can just cover a signature and get a hybrid scheme. I'm less convinced of baking SHRINCS/SHRIMPS/etc. into consensus because I think we can give a workable set of primitives and let the signature scheme and tree structure exploration happen in the P2MR tree itself. The primitives: 1. OP_N_SHA256 / OP_N_SHA256_128 <x> <n> -> H^n(x) Apply SHA256 (or SHA256 truncated to 128 bits after each iteration) N times, for 0 <= N <= 256. Require exactly 32-byte or 16-byte inputs, respectively. Charge a benchmark-derived validation cost proportional to N, with a small fixed invocation overhead, using the existing BIP-342 validation budget. For example, 1 + ceil(N/5) budget units, where a Schnorr verification costs 50 units. This avoids artificially inflating compact hash-based signatures with witness padding while still bounding worst-case validation costs. Independent hash chains can be parallelized through template matching as an implementation optimization, without relying on parallel execution for consensus resource accounting. I suspect OP_N_SHA256_128 is sufficient for practical security, but I understand there may be a cargo-cult desire to pay double for OP_N_SHA256. We should, of course, quantify the actual multi-target security tradeoffs... 2. OP_TAGGEDHASH <a> <b> -> SHA256(SHA256(b) || SHA256(b) || a) This is effectively OP_PAIRCOMMIT. It gives us ordered pair commitments, rolling commitments, Merkle trees, domain separation, and salted hashing without requiring the broader functionality of OP_CAT. It's also independently useful even if OP_CAT lands. 3. OP_BYTEREDUCE <flag> OP_BYTEREDUCE Operates on a fixed vector of 32 unsigned bytes, represented as 32 individual stack elements. flag = (operation << 2) | (preserve << 1) | source source: 0 = mainstack 1 = altstack preserve: 0 = consume operands 1 = preserve operands operation: 0 = ADD 1 = CAT 2 = XOR 3 = AND 4 = OR 5 = MIN 6 = MAX 7 = POPCOUNT Bit 0 selects the source stack. Bit 1 selects whether to consume or preserve the operands. The remaining bits select the reduction operation. Consume Preserve Stack Alt Stack Alt ----------------------------------- ADD 0 1 2 3 CAT 4 5 6 7 XOR 8 9 10 11 AND 12 13 14 15 OR 16 17 18 19 MIN 20 21 22 23 MAX 24 25 26 27 POPCOUNT 28 29 30 31 Every operation reads exactly 32 minimally encoded ScriptNums in [0,255] from the selected stack. CAT packs them into a 32-byte string in bottom-to-top order. All other operations return a minimally encoded ScriptNum. POPCOUNT counts the total number of set bits across the 32 bytes. The flag is always consumed from the mainstack, and all results are pushed onto the mainstack. If the preserve bit is set, the 32 input elements remain untouched. Otherwise, they are consumed. All flag combinations for ADD, CAT, XOR, and AND fit into single-byte pushes. (This obviates a separate OP_32_PACK opcode, gives all reductions uniform input semantics, and avoids needing to unpack byte strings.) Example Signature Scheme: Salted, constant-sum, recoverable WOTS Generate a normal Schnorr signature. Grind a cheap salt such that: D = TaggedHash(salt, sig) sum(D) == 4080 This takes ~1,050 attempts. The constant-sum constraint eliminates the Winternitz checksum chains. Advancing any revealed chain decreases its authenticated digit, so authenticating a different digest with the same sum requires reversing at least one chain, or otherwise breaking the underlying commitments. Generate 32 independent hash chains: P_i = H^255(x_i) s_i = H^(255-d_i)(x_i) Where d_i is the i-th byte of D. Commit to the public key endpoints using a rolling tagged hash: A_0 = empty A_(i+1) = TaggedHash(P_i, A_i) PK_WOTS = A_32 The endpoints themselves don't need to appear on-chain. The signatures/scripts end up looking like this: <sig> <salt> <s31> <d31> <s30> <d30> ... <s1> <d1> <s0> <d0> ------------------------------ OP_0 // Recover WOTS public key and // collect message digits. OP_ROT OP_ROT OP_DUP OP_TOALTSTACK OP_N_SHA256 OP_TAGGEDHASH // 0 ... OP_ROT OP_ROT OP_DUP OP_TOALTSTACK OP_N_SHA256 OP_TAGGEDHASH // 31 <PK_WOTS> OP_EQUALVERIFY // Verify constant-sum encoding. // ADD from altstack, preserving digits. OP_3 OP_BYTEREDUCE <4080> OP_NUMEQUALVERIFY // Reconstruct authenticated digest. // CAT from altstack, consuming digits. OP_5 OP_BYTEREDUCE // Verify salted Schnorr signature digest. OP_TOALTSTACK OP_OVER OP_SWAP OP_TAGGEDHASH OP_FROMALTSTACK OP_EQUALVERIFY // Verify transaction binding. <Q> OP_CHECKSIG Just six opcodes per Winternitz chain. Substitute OP_N_SHA256_128 for OP_N_SHA256 for a more compact signature with shorter hash-chain elements. The 32 independent hash chains are amenable to template-matched SIMD execution. The Schnorr signature binds the transaction, and the WOTS signature binds the Schnorr signature. The intention is that even if discrete logarithms become tractable, authorization remains hash-based, relying on the transaction-binding property of a fixed Schnorr signature under SIGHASH_DEFAULT. No dedicated transaction introspection is required for this construction. Size breakdown: WOTS-128 WOTS-256 ---------------------------------------- Raw chain elements 512 B 1,024 B Serialized chains 544 B 1,056 B Serialized digits ~80 B ~80 B Salt 5 B 5 B Schnorr signature 65 B 65 B Script 274 B 274 B ---------------------------------------- Total ~968 B ~1,480 B Witness vbytes ~242 ~370 Excludes P2MR proofs, witness framing, and potential validation-budget padding. At one sigop per hash chain, both constructions require at least 1,600 serialized witness bytes. Lower pricing would need to be justified by benchmarking... Every valid signature requires exactly 4,080 hash-chain iterations, plus 33 tagged hashes and one Schnorr verification. Comparison to other PQ signature schemes: Scheme Bytes ------------------------------------ Schnorr 64 SHRINCS (original) 324 SHRINCS (draft minimum) 548 Falcon-512 ~666 Script WOTS-128 ~968* Script WOTS-256 ~1,480* SHRIMPS (compact) 2,324–2,564 ML-DSA-44 2,420 SHRIMPS (fallback) ~4,052 SHRINCS (draft fallback) 5,777 SLH-DSA-128s 7,856 *Script WOTS figures include the spending script and hybrid Schnorr authorization, before Merkle proofs and validation-budget padding. Other figures are representative signature sizes. Security parameters and signing guarantees differ. Comparison of signing models: Scheme Signing model -------------------------------------- Script WOTS One-time per P2MR leaf XMSS / LMS Stateful SHRINCS Stateful + fallback SHRIMPS Multi-device + stateless fallback SLH-DSA Stateless, hash-based Falcon Stateless, lattice ML-DSA Stateless, lattice Comparison of WOTS parameters: Script Script SHRINCS WOTS-128 WOTS-256 WOTS+C --------------------------------------------- Chain bytes 16 32 16 Message bits 256 256 128 Radix 256 256 16 Chains 32 32 32 Chain steps 4080 4080 240 Constant sum Yes Yes Yes PK recovery Yes Yes Yes Hybrid Schnorr Yes Yes No SHRINCS and SHRIMPS have meaningful advantages, particularly in verification cost, state management, and recovery from static backups. But these are precisely the sorts of tradeoffs I'd prefer to see explored at the application layer. P2MR supplies a native Merkle tree. We can explore: Balanced and unbalanced signature trees. Huffman trees for expected signing probabilities. Device-specific subtrees. Threshold and coalition authorization. Alternative signature constructions. Stateless recovery paths. We should investigate whether the underlying components of SHRINCS, SHRIMPS, FORS, PORS+FP, etc. can themselves be implemented efficiently with these primitives. Bitcoin should standardize post-quantum cryptographic capabilities than post-quantum cryptographic schemes, especially if we can fast-track primitives! This package is four simple opcodes. Three new BIPs + P2MR. No general-purpose CAT or dedicated introspection required for this example. This is my preliminary construction, offered for consideration. Warrants further analysis. References: BIP-360: github.com/bitcoin/bips/blob… Hash-based Signature Schemes for Bitcoin: eprint.iacr.org/2025/2203 SHRIMPS: delvingbitcoin.org/t/shrimps…
18
40
14
220
39,403
Dave C retweeted
Imagine dumping your crypto at the absolute bottom because some vague posts about quantum risk in a few years went around. That’s not risk management, that’s just panic. Most of the current fear prices in the problem as if it happens tomorrow. it's most likely still years away, and competent teams can prepare for it. Doomers will be losers.
23
16
2
178
8,222
"We need to rush new cryptography into Bitcoin because daddy NSA says so." Panic Carter now reaches for the block button, still seemingly unable to come to terms that he chimped out and deleted his lattice tweets the day he announced his archive. Harvest now, decrypt later is far less of a concern for Bitcoin than it is for encrypted communications. For the latter, listen to @hashbreaker and opt for migration to hybrid schemes. For bitcoin we have ample time. Be like Satoshi. Exercise cryptographic conservatism. Don't blindly trust the NSA.
25
42
1
504
20,602
Save a little bit. Work weekends. Miss out on family events. Don’t see your friends. Struggle for years. And finally save a little bit of money because you’ve played by the rules. Then Labor comes in and changes the rules to destroy everything you’ve built. Meanwhile the multinationals clean up as the small and medium guys go under. Good job everyone.
33
120
2
1,011
11,094
Dario has the SBF shakes. Short it.
251
261
133
3,752
1,277,899
Good thing bitcoin didn't add some sort of quantum-secure signature this year before we knew what was coming with AI security What is happening with AI security is critical for informing the next soft fork Moving carefully is so important and what makes bitcoin distinct
6
14
212
5,700
Replying to @yhaiyang
Retard
1
1
5
469
A guy that fell for a shitcoin fork that is down over 99% against BTC is saying "Give it up Bitcoiners." You can't make this shit up.
Give it up Bitcoiners. There is no such thing as money that is not used in exchange. You did this to yourself. You believed that you could imagine some store of value into existence and it would become the world's most valuable asset. Nothing in the history of money backs this fantasy.
15
3
194
5,342
Dave C retweeted
the cryptography sky is not falling.
159
327
45
4,212
152,054
Day 696 of DCA⚡️
1
2
11
243
the only way anyone is getting one of my bitcoins is if they swap a very nice house for it. So $1 million minimum.
1
62
Dave C retweeted
Criminal
Australia’s 45% tax bracket: 2008: $180k threshold, 184,000 people. 2026: $190k threshold, now 900,000 people. Indexed to inflation, it’d start at $289k today. Population grew 31% yet the number in the top bracket nearly quintupled. That’s how bracket creep boosts tax revenue. @TMFScottP
1
1
22
706
Dave C retweeted
🚨BITCOIN MINING IS UNDER ATTACK🚨 We’ve confirmed that attackers have hijacked miners’ work. Your miner can keep running while someone else gets credit for it. This could scale quickly. Plain Stratum V1 is a common default in mining. If you use it, you face this risk whichever pool you use. Miners and pools worldwide must ACT NOW. 🟧 HOW IT HAPPENS On plain Stratum V1, your miner can’t verify who’s sending it work. An attacker can redirect the connection, pretend to be your pool and send your miner jobs. The shares your miner submits go to the attacker instead of your pool. 🟧 WHY ACT NOW During one incident, more than 1,000 mining sites lost their pool connection in the same second. The same attack could reach many more. You can secure your connection today. 🟧 MINERS: CHECK YOUR MAIN CONNECTION AND EVERY BACKUP • Switch to Stratum V2 if your miner and pool support it. Use your pool’s official V2 address and key. • Staying on V1? Use your pool’s TLS address with firmware that verifies the pool’s identity. • Using a proxy? Check its connection to the pool. If your miners can’t connect securely on their own, the Braiins Pool SV2 Proxy can secure the connection from your farm to Braiins Pool. • Hosted miners? Ask your operator to confirm that your main and backup connections are secure. 🟧 POOLS AND SOFTWARE PROVIDERS: ALERT YOUR CUSTOMERS TODAY • Pools: offer Stratum V1 over TLS and, ideally, Stratum V2. Send miners your secure addresses and setup instructions. • Firmware and software providers: tell miners which versions verify the pool’s identity and how to enable that protection. 🟧 BITCOIN COMMUNITY: HELP THIS REACH MINERS Share this with the people who run mining farms, hosting sites and pools.

Full investigation and setup guide in the first reply ⤵️
124
423
161
1,133
298,292
Let's run this back. We've got receipts to collect, and I intend on being an insufferable cunt.
3
3
1
25
550
1,020,478 freedom units $600 BTFD
6
5
28
494
Silver is down 66% from its ATH in January. It has failed as a store of value. ETFs have lost interest. It has no narrative. Silver has failed as money. Quantum will be the final nail in it's coffin.
36
For those panicking, I would again refer you to the below chart.
People clowning the latest Bitcoin price dump clearly never studied gold's Weimar chart. You wanted the one asset that would deliver you eventual safe harbour during the fourth turning but didn't want to pay the vol to get there? NGMI
3
6
109
4,547
Dave C retweeted
If you get a DM from me asking for money it's not a scam it's really me
21
150
6
3,264
55,246