From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 05 Dec 2026 11:43:30 -0800 Received: from mail-ot1-f64.google.com ([209.85.210.64]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1xZvfN-000gC7-36 for bitcoindev@gnusha.org; Sat, 05 Dec 2026 11:43:30 -0800 Received: by mail-ot1-f64.google.com with SMTP id 46e09a7af769-85f37d25fa3sf2634537a34.1 for ; Sat, 05 Dec 2026 11:43:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1796499802; cv=pass; d=google.com; s=arc-20260327; b=dOuz8OGJlcRz/vl/7B2YwO9TggRhBo0Or2kds+Jdak4Il7jf1VKhsAdgxwjMadDIZv Fa5COI1CuZ8ly9dWG9URN01/OpEepI7dnLmC6UyPY/bv5f3g4b5cfoBl1MM3IOvxoSFJ hdyNf7fDVY99xuSI4v83YEYUpOZus4vZQ8iI3s/bBdDWevdAsBWfPj9npUh+y5ER6YoX lsZa20H+6iKLLiYQ9XD/2GSvGJmv4WB1JMOPwV8OfQJVqRFx9tqZ+Qy5plqfKOUcNN72 lIovpnrFVnysPo59AMLlXiNe62mAv1ey9nT98vqPQh356eynVYQTfTesByuiRd+GFCFY EgfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:references:to:cc :in-reply-to:date:subject:mime-version:message-id:from :dkim-signature; bh=CtJafpF3A5dOcM3i8RNs6Jn4pPxS0tZhjvCrzZ7JZZM=; fh=bTAWrHkdUE6tFIqmF7/eXu+8jdxewB5I2iOjaZ+4Axg=; b=JHwL89MmGrKDW+MipmxrE3c8TTxtZUyb2BU2/zXRNDLxnwnNaKxvapLUKVNZn20lB0 LrDDHvCjLJF8rwx+CRUQG+Va4Ac8OR3CVqbIC7DJymNwClhsaYSWCjr/0h8JHHrnH5Bn feCI/MCsv1JUelSoMNG0P5N3Auh8VS3L7W+gzOygowXAo+z/hP03Jov+lLIL0a3BaGPN gfyNrYREGl7ER9XJ1v9QVel3jsGydCU8fuDKljyX2vSfmqZvEzRBjqSadB6jC0c1xcZU qje8gsn/exGYWD6h8RIMUTT+olXro75Fy/Kj+D92EO3GQt+AM42tRfuIoXF5VA83Q2dr PXaQ==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@taoeffect.com header.s=s20181130989 header.b=njoBLoQr; spf=pass (google.com: domain of contact@taoeffect.com designates 192.184.90.17 as permitted sender) smtp.mailfrom=contact@taoeffect.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=taoeffect.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20260707; t=1796499802; x=1797104602; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:references:to :cc:in-reply-to:date:subject:mime-version:content-type:message-id :from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=CtJafpF3A5dOcM3i8RNs6Jn4pPxS0tZhjvCrzZ7JZZM=; b=qLWUmcwwCLHKoMXM2tElbfLfS61gPPHNgZrgeOSFYPBxV78vvSzKC91EIW9AmGe58U v1SjD7MV7GDT4ASzmV9+esTRBz/Mi85pvOD+Ypxea/klGApqkx42zn5GQPiY3kn2+RCT n0Ww2Hk8tWMCl5uaJRe+4kV39t0qznXY8DcSZhzH5yqvNSzYZz4i/bnPF6iMZEuXMz7y +JO/JahrSS6Lj0W/vJTWKskTCXURoh33TlM4Jh21xBGnBIByw5iw9qNxKiLZZnG4Ryad d8Bp4WtIG2TZifab0OUPWsIcDyc+nW4KJZHcwAJwni1XQxtDevPCdGc6ckWgxxrimu79 tLSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796499802; x=1797104602; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:references:to :cc:in-reply-to:date:subject:mime-version:content-type:message-id :from:x-beenthere:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=CtJafpF3A5dOcM3i8RNs6Jn4pPxS0tZhjvCrzZ7JZZM=; b=Q6aCy04iY/JO5BgROPfrzMAJNsteyIF1/lA7gJGHEeBleNl40VQMdRSsTvak4cZLPq POyhkfSeW03mfoHX8V0YE5yX/sNhlAEIA3vxCO0vBvSMZBG3UZBPa8Ue+P1L41RuwYYF c4Qnq18p1O65gzHBsL/iUQZz3eOKyXe7T93eU5zC7Haczrq1bR2cP4sWQRVb60VXgteB pITET8F1lUyRycP69tHDaq/YwiccYRZ2v/mlxjzBB5JD7DdFgc94J7q7PTh40FvV9Qnh vGmR3zp9YFGs1IOOL/3DHeAYHZiNgaTo0z87JwIEzJulVIWkw5rmgohzkdCQdgJ2NpnX 5qeQ== X-Forwarded-Encrypted: i=2; AL+hErEjRb2JPf8aoQIIKc9Q9IDyGEhG4D1/ar9hmilqR71VUm0IorCq6VB203QkVPr9wZReBXcF79vIFJl1@gnusha.org X-Gm-Message-State: APuU4Z/zNQeBGAx3zq2YbVio+l3ovsWNNDwu1G02rxTvqWQIhgsLqPUj kGjOvaY3Ltz4/nfsn0b7qdwKW6iOiGb+Ebis10lCrioDamQPBA+3fFFD X-Received: by 2002:a05:6820:61a:b0:6f8:e2ac:ecd2 with SMTP id 006d021491bc7-71bf2087db0mr5687843eaf.33.1796499802157; Sat, 05 Dec 2026 11:43:22 -0800 (PST) X-BeenThere: bitcoindev@googlegroups.com; h="ATskLdc2LXMC/8rns6b/gDJRyqT1ESsUj3Jtr0HXAAuAyjwdbQ==" Received: by 2002:a05:6820:a299:20b0:71a:ed87:658e with SMTP id 006d021491bc7-71beff1dd0fls1887747eaf.1; Sat, 05 Dec 2026 11:43:15 -0800 (PST) X-Received: by 2002:a05:6808:c16a:b0:573:6a05:9b0c with SMTP id 5614622812f47-57f207b6a30mr5298822b6e.39.1796499795515; Sat, 05 Dec 2026 11:43:15 -0800 (PST) Received: by 2002:a05:6808:890a:10b0:572:f7eb:ee1 with SMTP id 5614622812f47-57f3345f1fcmsb6e; Sat, 5 Dec 2026 11:31:39 -0800 (PST) X-Received: by 2002:a17:902:e88d:b0:2ef:e864:e0fd with SMTP id d9443c01a7336-2f1b9e667a2mr61491475ad.5.1796499098814; Sat, 05 Dec 2026 11:31:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1796499098; cv=none; d=google.com; s=arc-20260327; b=GeytjEp7CeWASvqS64+nA9tn+I82EQz54sW8PfRMgrNYt/Efj0TwU31vtLBumg5+8B rbHGaTfuXVjFSslo1wWcETauKhZdwbqdIou5bQBo0tFzfEUUXUjWF1Z++lcR+Q5JwcpQ d+ETYDzXZ1Aq+jmZkVTkGD8VJLWAQu9KNoETHmgnncraqmoYJK0tf+G0wJh3SDBR6LLD N3GzYMqHUYWU3XAUOw9MASX5C1weR7DV8UCyZtaWz4hGto/YMHxwG0QB85hXqYky9/iT Cmf9RCIdTa5QXRl3F4JIm/mrSiaRCqeL2n6KmOjXqTEfL79KOscRkpb1eO6TsA9Ui3lv 7swA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=dkim-signature:references:to:cc:in-reply-to:date:subject :mime-version:message-id:from; bh=+9AltPH8wIU60cDtdwK1JfWnJyS90WAnk0i+n8APIKg=; fh=ZM9r8yo6mGgnUsVxVHS7ezjiH9IfMvVp3NRfdmLfUjU=; b=EtbDpBjIAXyOOKbB5DCIgtlo1oEabogSEoJc3N6UdUOik33J9N39EhWuuPx3D/lAPq e8QNv1XbXNcSnq/1rvkV028NlV93C/2biaTA4dYLQf74T2ORcglTKvhHYkBPOzPYQ1o4 QMqmiFBaZ8HkA6fO2YGy/+eYxdI0Ea8cJ71p+Te3FWEAHl1HxvT7SA6nAvwFHfNTSsBu 1j4hhmiypwGLVfe3eZkhFfSfQY1p4tV4ROJhPeqCf+iMX17Bkr1gpyDduLin8hZldJZF 41I7P8y986OQxvkwPWCC1KfUZj9YMc/nzOW3Cbl3jqhqUx9GuVAZG8/8+hjUhAJlRD5C 4cwg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@taoeffect.com header.s=s20181130989 header.b=njoBLoQr; spf=pass (google.com: domain of contact@taoeffect.com designates 192.184.90.17 as permitted sender) smtp.mailfrom=contact@taoeffect.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=taoeffect.com Received: from mail.turtlemailbox.com (mail.turtlemailbox.com. [192.184.90.17]) by gmr-mx.google.com with ESMTPS id d9443c01a7336-2f1b792457esi1388625ad.7.2026.12.05.11.31.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2026 11:31:38 -0800 (PST) Received-SPF: pass (google.com: domain of contact@taoeffect.com designates 192.184.90.17 as permitted sender) client-ip=192.184.90.17; Received: from localhost (Unknown [127.0.0.1]) by mail.turtlemailbox.com (Haraka) with ESMTPSA id 2534E78D-49C4-455E-8291-6947E0C70E8C.1 envelope-from tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (authenticated bits=0); Sat, 05 Dec 2026 19:31:37 +0000 From: "'Tao Effect' via Bitcoin Development Mailing List" Message-Id: <6D3D9B68-E125-48E5-8654-ABD6A77E5228@taoeffect.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_F44FF0D2-3419-47DF-8735-EDA0CC546549" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3901.200.71.1.16\)) Subject: Re: [bitcoindev] Tripwire BIP draft Date: Sat, 5 Dec 2026 12:31:06 -0700 In-Reply-To: Cc: "bitcoindev@googlegroups.com" To: conduition References: X-Mailer: Apple Mail (2.3901.200.71.1.16) X-Original-Sender: contact@taoeffect.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@taoeffect.com header.s=s20181130989 header.b=njoBLoQr; spf=pass (google.com: domain of contact@taoeffect.com designates 192.184.90.17 as permitted sender) smtp.mailfrom=contact@taoeffect.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=taoeffect.com X-Original-From: Tao Effect Reply-To: Tao Effect Precedence: list Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com List-ID: X-Google-Group-Id: 786775582512 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -0.5 (/) --Apple-Mail=_F44FF0D2-3419-47DF-8735-EDA0CC546549 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" This is not a reply to the proposal, but a reply to the comment above it th= at suggests that there's some sort of "urgency" with regards to PQC. There is no urgency. I have looked for it, and have not been able to find a single reason for an= y urgency. The panic appears to be entirely manufactured. See: https://algassert.com/post/2500 etc. If you look, you will find. - Greg > On Dec 5, 2026, at 7:42=E2=80=AFAM, 'conduition' via Bitcoin Development = Mailing List wrote: >=20 > Dear devs, >=20 > I was sitting on this draft of Tripwire while working on SHRINCS but give= n the newfound urgency, I'm posting it now to get the ball rolling.=20 >=20 >=20 > ``` > BIP: ? > Title: ECDLP Tripwire: Trigger for cryptanalytic breakthroughs > Authors: conduition > Status: Draft > Type: Specification > Assigned: ? > License: CC0-1.0 OR MIT > ``` >=20 > # Abstract >=20 > This document specifies *Tripwire,* a consensus deployment mechanism whic= h can be used to activate dependent BIPs once a break in the cryptographic = assumptions underpinning elliptic curve digital signature algorithm (ECDSA)= and BIP-340 Schnorr signatures is detected, or agreed upon. >=20 > Tripwire is a one-way trigger which can be used to enforce new consensus = rules. This BIP defines two conditions under which Tripwire activates: BIP-= 9, and Tripwire Spends. We stop short of defining any actual changes to con= sensus rules; This is left open for other BIPs which may predicate new rule= s on Tripwire activation. >=20 > # Motivation >=20 > As technology and cryptanalytic techniques improve over time, Bitcoin may= someday face a situation where the signature schemes we depend upon for au= thenticating UTXO ownership (ECDSA and BIP-340) are weakened or outright br= oken. The cryptographic assumptions these schemes utilize - namely the elli= ptic curve discrete log problem (ECDLP) on secp256k1 - may someday come int= o question. >=20 > It would be beneficial to Bitcoin's long-term utility that we prepare for= such an event, but even more important is that Bitcoin nodes maintain cons= ensus on whether such an event has or has not happened, so that time-sensit= ive consensus rules predicated on such a question - such as disabling newly= -broken cryptography - can be fully defined. This BIP aims to fulfill this = role. >=20 > # Specification >=20 > ## Notation >=20 > In this specification, we operate only on bytes and UTF8 strings. >=20 > The `||` operator denotes concatenation of bytes. >=20 > The `lift_x(x)` function returns the even-parity point `P` on the secp256= k1 curve for the X-coordinate is `x`. >=20 > ## Constants >=20 > The point `G` is the secp256k1 base point. > ```py > x(G) =3D 0x79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F817= 98 > y(G) =3D 0x483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4= B8 > ``` >=20 > The point `H` is the "nothing-up-my-sleeve" (NUMS) point defined by BIP-3= 41. > ```py > H =3D lift_x(0x50929b74c1a04954b78b4b6035e97a5e078a5a0f28ec96d547bfee9ace= 803ac0) > ``` >=20 > The X-coordinate of `H` is derived by the SHA256 hash of the uncompressed= DER encoding of `G`. > ```py > H =3D=3D lift_x(sha256(0x04 || x(G) || y(G))) > ``` >=20 > Encoding `H` as a compressed secp256k1 public key, we have >=20 > ```py > NUMS_KEY =3D 0x0250929b74c1a04954b78b4b6035e97a5e078a5a0f28ec96d547bfee9a= ce803ac0 > ``` >=20 > ## Tripwire Address >=20 > The Tripwire Address uses a segwit version 1 (P2TR) script pubkey with a = witness program `x(H) =3D=3D NUMS_KEY[1:33]`. >=20 > ```py > tripwire_p2tr_spk =3D 0x5120 || x(H) > =3D 0x5120 || NUMS_KEY[1:33] > =3D 0x512050929b74c1a04954b78b4b6035e97a5e078a5a0f28ec96= d547bfee9ace803ac0 > ``` >=20 > Encoded as a P2TR address using bech32m format defined in BIP-350, with a= human readable prefix `hrp`, we acquire the second Tripwire Address.[^bech= 32] >=20 > ```py > tripwire_p2tr_addr =3D bech32.encode(hrp, witver=3D1, witprog=3Dx(H)) > ``` >=20 > For Bitcoin mainnet we have `hrp =3D "bc"`, so the P2TR mainnet Tripwire = Address is >=20 > ```py > tripwire_p2tr_addr =3D=3D "bc1p2zffkaxp5py4fdutfdsrt6t6tcrc5ks09rkfd428hl= hf4n5q8tqqwv7ahk" > ``` >=20 > ### Validation >=20 > See [`nums.rs`](./nums.rs) for a Rust program which reproduces this addre= ss using the Rust Bitcoin library[^rust_bitcoin]. >=20 > # Activation >=20 > Tripwire has two activation conditions. We describe them each below. >=20 > ## BIP-9 >=20 > Tripwire can be activated by miners, using BIP-9 with an extended timeout= . >=20 > | BIP-9 Parameter | Value | > |:-:|:-:| > | `name` | ECDLP Tripwire | > | `bit` | TODO | > | `starttime` | TODO | > | `timeout` | `starttime` + 20 years | >=20 > The long timeout is intended to allow Tripwire plenty of time to activate= in-advance of a cryptanalytic breakthrough, in the event the community rec= eives early warning (e.g. efficient attacks on smaller curves[^toy_curves])= and can agree a break in ECDLP is inevitable. >=20 > ## Tripwire Spends >=20 > Tripwire activates on a blockchain once any **valid** transaction spends = an output previously sent to the [Tripwire Address](#tripwire-address). Suc= h a transaction is called a *Tripwire Activation Transaction*. A block whic= h includes this transaction is called the *Tripwire Activation Block.* >=20 > The ordering of the first Tripwire Activation Block within a blockchain c= arries special consensus meaning. When processing a block containing a vali= d Tripwire Activation TX, nodes identify that block as a Tripwire Activatio= n Block, and must apply any new rules predicated on Tripwire *to all descen= dent blocks **after** the first Tripwire Activation Block.* >=20 > We stress that any new rules predicated on Tripwire **do not apply** to t= he Tripwire Activation Block. >=20 > ### Edgecases >=20 > - Subsequent Tripwire Activation Transactions after the first have no spe= cial effect. > - Special handling may be needed in implementations to account for reorga= nizations to new chains which do not include a Tripwire Activation Block. >=20 > # Rationale >=20 > ## FAQ >=20 >> Why don't Tripwire rules apply to the Tripwire Activation Block? >=20 > Node implementations may execute processing of transactions in parallel, = so Tripwire activates strictly *after* the Tripwire Activation Block avoid = situations where certain rules apply to *some* transactions in a block, but= not others. >=20 > If Tripwire-dependent rules applied to the *whole Tripwire Activation Blo= ck*, then implementations would need to perform a "look-ahead" inside every= new block before full validation, to determine which rules to apply ahead = of time. Further: the Tripwire-dependent rules may invalidate the Tripwire = Spend Transaction itself. >=20 > We free ourselves of these complexities by making Tripwire-dependent rule= s activate *after* the activation block. >=20 > Note that if a Tripwire Spend Transaction is published, miners already ha= ve a degree of choice as to whether to include this transaction in their te= mplate or not, and can decide its ordering inside the block template. So we= reason that excepting the activation block from the new rules gives no new= or unfair advantage to its miner. >=20 >> Why don't you use a proof of a weaker curve? >=20 > Tripwire could also be designed to activate upon publication of a discret= e-log break proof on a weaker (smaller) elliptic curve, possibly one which = is structurally similar to secp256k1. The aim of this would be to serve as = an early-warning ("canary") mechanism, enforcing new rules before any concr= ete risk to ECDSA and BIP340 arrives.[^toy_curves] >=20 > We reject this approach. The Tripwire Spend activation mechanism is not i= ntended to be a predictive tool or give early warning of a break in secp256= k1. It is intended to ensure that, once the assumptions underlying ECDSA an= d Schnorr **are provably broken,** new consensus rules must be enforceable = by anyone with the capacity to produce such a proof. Using a weaker curve's= ECDLP as an activation trigger would not firmly prove anything about the (= lack of) hardness of ECDLP on secp256k1 and so would not satisfy our design= needs. It is also unknowable whether a weaker curve's ECDLP would be broke= n meaningfully earlier than that of secp256k1, and so the degree of any "ea= rly warning" advantage that the Bitcoin community would receive is unpredic= table. >=20 > Successful attacks on weaker curves' ECDLPs may be used in a non-consensu= s capacity, to catalyze community consensus on whether and when to trigger = Tripwire through the BIP-9 activation mechanism. >=20 >> Why not use any `OP_SHA256 OP_CHECKSIG` spend as the trigger? >=20 > Another way to demonstrate an attack on secp256k1 would be to ask someone= to spend a coin committing to a simple two-opcode script, `OP_SHA256 OP_CH= ECKSIG`. A satisfying witness would need to be ` `, wh= ere `sha256(preimage)` is a valid Schnorr public key which `signature` veri= fies against. The folklore idea is that an ECDLP adversary can pick their o= wn nothing-up-my-sleeve point by sampling a preimage, and then break ECDLP = to forge a signature on it and spend the coin. >=20 > However, this challenge *demonstrates a different fact from the ECDLP.* I= t demonstrates that the adversary was able to find a `preimage` such that t= hey know a valid `signature` (or private key) for the Schnorr public key `P= =3D sha256(preimage)`. It *does not demonstrate the adversary can break EC= DLP,* which implies the ability to factor an arbitrary point given by the s= ecurity game into its discrete logarithm. Breaking ECDLP means one can spen= d a `OP_SHA256 OP_CHECKSIG` script, but the converse does not hold. >=20 > The key distinction is that `OP_SHA256 OP_CHECKSIG` allows the adversary = to specify their own target point to attack, and it is unknown whether this= gives the adversary an advantage. >=20 > For Tripwire, we opt instead for a fixed, transparently-chosen target poi= nt, which adheres more faithfully to the formal ECDLP security notion. If a= n adversary can forge a signature on `NUMS_KEY`, they are likely able to do= so for any arbitrary key. >=20 >> Why not randomize the NUMS point? >=20 > The NUMS point in Tripwire is a fixed constant. One could alternatively e= ngineer the system to randomize the NUMS point deterministically on a per-b= lock basis, e.g. by deriving the Tripwire Address from a hash of the prior = (or n-th) block. >=20 > We forgo this design, in favor of a simpler, static address. This makes T= ripwire activation very obvious and indisputable, and keeps the consensus i= mplementation clean. >=20 >> Why use only Schnorr and not ECDSA? >=20 > The Schnorr signature scheme provably reduces to ECDLP under the random o= racle model. This means an entity capable of forging Schnorr signatures mus= t be able to either break the ECDLP on secp256k1, or break the hash functio= n (SHA256) used to bind signatures to messages. No such similar proof exist= s for ECDSA. >=20 > Thus for the purposes of formally demonstrating a break in ECDLP, a Schno= rr signature from a fixed nothing-up-my-sleeve point provides the firmest e= vidence. Any cooperative entity capable of breaking ECDLP can produce a val= id ECDSA or Schnorr signature from the NUMS point, so there is no need to m= onitor both algorithms in Tripwire. >=20 > # Copyright >=20 > This document and related code is licensed under either the CC0-1.0 or MI= T license, at your option. >=20 > # Discussions >=20 > - https://groups.google.com/g/bitcoindev/c/aWYtPLVPZ3U/ > - https://groups.google.com/g/bitcoindev/c/p8AVEmAtWdA > - https://groups.google.com/g/bitcoindev/c/d7o74e-teNo/ > - https://delvingbitcoin.org/t/qcap-a-bitcoin-native-quantum-canary-alert= /2498 >=20 > [^bech32]: The `bech32.encode` function is defined in [the BIP350 referen= ce code](https://github.com/sipa/bech32/blob/7a7d7ab158db7078a333384e0e918c= 90dbc42917/ref/python/segwit_addr.py#L131-L137), also available [here](http= s://github.com/bitcoin/bips/blob/02bebeb5ef53dc21a52d5706c6b4c17b6af6c1cc/b= ip-0352/bech32m.py#L129-L135). > [^rust_bitcoin]: https://github.com/rust-bitcoin/rust-bitcoin > [^toy_curves]: https://arxiv.org/pdf/2508.14011 > [^multi_target]: https://github.com/conduition/tripwire-bip/blob/main/tri= pwire.md >=20 >=20 >=20 >=20 > regards, > conduition >=20 > --=20 > You received this message because you are subscribed to the Google Groups= "Bitcoin Development Mailing List" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to bitcoindev+unsubscribe@googlegroups.com. > To view this discussion visit https://groups.google.com/d/msgid/bitcoinde= v/TFovB6Dw5oivezJm_SNCtkVmMVA_sQTLcqg_sFgAaBTJNT4_e-i06PVcfN1FfXrK0RJSQHAbQ= q-MfnoqdWQ2Ax3Rf7FiTzGAaMWVrETw240%3D%40proton.me. > --=20 You received this message because you are subscribed to the Google Groups "= Bitcoin Development Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoindev+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/= 6D3D9B68-E125-48E5-8654-ABD6A77E5228%40taoeffect.com. --Apple-Mail=_F44FF0D2-3419-47DF-8735-EDA0CC546549 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="UTF-8" This = is not a reply to the proposal, but a reply to the comment above it that su= ggests that there's some sort of "urgency" with regards to PQC.

There is no urgency.

I have looked for it,= and have not been able to find a single reason for any urgency.
=
The panic appears to be entirely manufactured.

If you look, = you will find.

- Greg

On Dec 5, 2026, at 7:42=E2= =80=AFAM, 'conduition' via Bitcoin Development Mailing List <bitcoindev@= googlegroups.com> wrote:

Dear devs,

I was sitting on this draft of Tripwire while wor= king on SHRINCS but given the newfound urgency, I'm posting it now to get t= he ball rolling.


```
 BIP: ?
 Title: ECDLP Tr= ipwire: Trigger for cryptanalytic breakthroughs
 Authors: conduiti= on <conduition@proton.me>
 Status: Draft
 Type: Spe= cification
 Assigned: ?
 License: CC0-1.0 OR MIT
```
# Abstract

This document specifies *Tripwire,* a consensus dep= loyment mechanism which can be used to activate dependent BIPs once a break= in the cryptographic assumptions underpinning elliptic curve digital signa= ture algorithm (ECDSA) and BIP-340 Schnorr signatures is detected, or agree= d upon.

Tripwire is a one-way trigger which can be used to enforce n= ew consensus rules. This BIP defines two conditions under which Tripwire ac= tivates: BIP-9, and Tripwire Spends. We stop short of defining any actual c= hanges to consensus rules; This is left open for other BIPs which may predi= cate new rules on Tripwire activation.

# Motivation

As techno= logy and cryptanalytic techniques improve over time, Bitcoin may someday fa= ce a situation where the signature schemes we depend upon for authenticatin= g UTXO ownership (ECDSA and BIP-340) are weakened or outright broken. The c= ryptographic assumptions these schemes utilize - namely the elliptic curve = discrete log problem (ECDLP) on secp256k1 - may someday come into question.=

It would be beneficial to Bitcoin's long-term utility that we prepa= re for such an event, but even more important is that Bitcoin nodes maintai= n consensus on whether such an event has or has not happened, so that time-= sensitive consensus rules predicated on such a question - such as disabling= newly-broken cryptography - can be fully defined. This BIP aims to fulfill= this role.

# Specification

## Notation

In this specif= ication, we operate only on bytes and UTF8 strings.

The `||` operato= r denotes concatenation of bytes.

The `lift_x(x)` function returns t= he even-parity point `P` on the secp256k1 curve for the X-coordinate is `x`= .

## Constants

The point `G` is the secp256k1 base point.
= ```py
x(G) =3D 0x79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815= B16F81798
y(G) =3D 0x483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C4= 7D08FFB10D4B8
```

The point `H` is the "nothing-up-my-sleeve" (NU= MS) point defined by BIP-341.
```py
H =3D lift_x(0x50929b74c1a04954b7= 8b4b6035e97a5e078a5a0f28ec96d547bfee9ace803ac0)
```

The X-coordin= ate of `H` is derived by the SHA256 hash of the uncompressed DER encoding o= f `G`.
```py
H =3D=3D lift_x(sha256(0x04 || x(G) || y(G)))
```
=
Encoding `H` as a compressed secp256k1 public key, we have

```py=
NUMS_KEY =3D 0x0250929b74c1a04954b78b4b6035e97a5e078a5a0f28ec96d547bfee= 9ace803ac0
```

## Tripwire Address

The Tripwire Address us= es a segwit version 1 (P2TR) script pubkey with a witness program `x(H) =3D= =3D NUMS_KEY[1:33]`.

```py
tripwire_p2tr_spk =3D 0x5120 || x(H)             =      =3D 0x5120 || NUMS_KEY[1:33]
  =             &nb= sp;  =3D 0x512050929b74c1a04954b78b4b6035e97a5e078a5a0f28ec96d547= bfee9ace803ac0
```

Encoded as a P2TR address using bech32m format= defined in BIP-350, with a human readable prefix `hrp`, we acquire the sec= ond Tripwire Address.[^bech32]

```py
tripwire_p2tr_addr =3D bech3= 2.encode(hrp, witver=3D1, witprog=3Dx(H))
```

For Bitcoin mainnet= we have `hrp =3D "bc"`, so the P2TR mainnet Tripwire Address is

```= py
tripwire_p2tr_addr =3D=3D "bc1p2zffkaxp5py4fdutfdsrt6t6tcrc5ks09rkfd4= 28hlhf4n5q8tqqwv7ahk"
```

### Validation

See [`nums.rs`](.= /nums.rs) for a Rust program which reproduces this address using the Rust B= itcoin library[^rust_bitcoin].

# Activation

Tripwire has two = activation conditions. We describe them each below.

## BIP-9

= Tripwire can be activated by miners, using BIP-9 with an extended timeout.<= br>
| BIP-9 Parameter | Value |
|:-:|:-:|
| `name` | ECDLP Tripwir= e |
| `bit` | TODO |
| `starttime` | TODO |
| `timeout` | `startti= me` + 20 years |

The long timeout is intended to allow Tripwire plen= ty of time to activate in-advance of a cryptanalytic breakthrough, in the e= vent the community receives early warning (e.g. efficient attacks on smalle= r curves[^toy_curves]) and can agree a break in ECDLP is inevitable.
## Tripwire Spends

Tripwire activates on a blockchain once any **va= lid** transaction spends an output previously sent to the [Tripwire Address= ](#tripwire-address). Such a transaction is called a *Tripwire Activation T= ransaction*. A block which includes this transaction is called the *Tripwir= e Activation Block.*

The ordering of the first Tripwire Activation B= lock within a blockchain carries special consensus meaning. When processing= a block containing a valid Tripwire Activation TX, nodes identify that blo= ck as a Tripwire Activation Block, and must apply any new rules predicated = on Tripwire *to all descendent blocks **after** the first Tripwire Activati= on Block.*

We stress that any new rules predicated on Tripwire **do = not apply** to the Tripwire Activation Block.

### Edgecases

-= Subsequent Tripwire Activation Transactions after the first have no specia= l effect.
- Special handling may be needed in implementations to account= for reorganizations to new chains which do not include a Tripwire Activati= on Block.

# Rationale

## FAQ

Why don't Tripwire rules apply to the Tripwire Activation Block?

Node implementations may execute processing of transactions in p= arallel, so Tripwire activates strictly *after* the Tripwire Activation Blo= ck avoid situations where certain rules apply to *some* transactions in a b= lock, but not others.

If Tripwire-dependent rules applied to the *wh= ole Tripwire Activation Block*, then implementations would need to perform = a "look-ahead" inside every new block before full validation, to determine = which rules to apply ahead of time. Further: the Tripwire-dependent rules m= ay invalidate the Tripwire Spend Transaction itself.

We free ourselv= es of these complexities by making Tripwire-dependent rules activate *after= * the activation block.

Note that if a Tripwire Spend Transaction is= published, miners already have a degree of choice as to whether to include= this transaction in their template or not, and can decide its ordering ins= ide the block template. So we reason that excepting the activation block fr= om the new rules gives no new or unfair advantage to its miner.

Why don't you use a proof of a weaker curve?

Tripwire could also be designed to activate upon publication of= a discrete-log break proof on a weaker (smaller) elliptic curve, possibly = one which is structurally similar to secp256k1. The aim of this would be to= serve as an early-warning ("canary") mechanism, enforcing new rules before= any concrete risk to ECDSA and BIP340 arrives.[^toy_curves]

We reje= ct this approach. The Tripwire Spend activation mechanism is not intended t= o be a predictive tool or give early warning of a break in secp256k1. It is= intended to ensure that, once the assumptions underlying ECDSA and Schnorr= **are provably broken,** new consensus rules must be enforceable by anyone= with the capacity to produce such a proof. Using a weaker curve's ECDLP as= an activation trigger would not firmly prove anything about the (lack of) = hardness of ECDLP on secp256k1 and so would not satisfy our design needs. I= t is also unknowable whether a weaker curve's ECDLP would be broken meaning= fully earlier than that of secp256k1, and so the degree of any "early warni= ng" advantage that the Bitcoin community would receive is unpredictable.
Successful attacks on weaker curves' ECDLPs may be used in a non-conse= nsus capacity, to catalyze community consensus on whether and when to trigg= er Tripwire through the BIP-9 activation mechanism.

Why not use any `OP_SHA256 OP_CHECKSIG` spend as the trigger?
=

Another way to demonstrate an attack on secp256k1 would be= to ask someone to spend a coin committing to a simple two-opcode script, `= OP_SHA256 OP_CHECKSIG`. A satisfying witness would need to be `<signatur= e> <preimage>`, where `sha256(preimage)` is a valid Schnorr public= key which `signature` verifies against. The folklore idea is that an ECDLP= adversary can pick their own nothing-up-my-sleeve point by sampling a prei= mage, and then break ECDLP to forge a signature on it and spend the coin.
However, this challenge *demonstrates a different fact from the ECDLP= .* It demonstrates that the adversary was able to find a `preimage` such th= at they know a valid `signature` (or private key) for the Schnorr public ke= y `P =3D sha256(preimage)`. It *does not demonstrate the adversary can brea= k ECDLP,* which implies the ability to factor an arbitrary point given by t= he security game into its discrete logarithm. Breaking ECDLP means one can = spend a `OP_SHA256 OP_CHECKSIG` script, but the converse does not hold.
=
The key distinction is that `OP_SHA256 OP_CHECKSIG` allows the adversar= y to specify their own target point to attack, and it is unknown whether th= is gives the adversary an advantage.

For Tripwire, we opt instead fo= r a fixed, transparently-chosen target point, which adheres more faithfully= to the formal ECDLP security notion. If an adversary can forge a signature= on `NUMS_KEY`, they are likely able to do so for any arbitrary key.
Why not randomize the NUMS point?

The NUMS point in Tripwire is a fixed constant. One could alternative= ly engineer the system to randomize the NUMS point deterministically on a p= er-block basis, e.g. by deriving the Tripwire Address from a hash of the pr= ior (or n-th) block.

We forgo this design, in favor of a simpler, st= atic address. This makes Tripwire activation very obvious and indisputable,= and keeps the consensus implementation clean.

Why use only Schnorr and not ECDSA?

The Schnorr si= gnature scheme provably reduces to ECDLP under the random oracle model. Thi= s means an entity capable of forging Schnorr signatures must be able to eit= her break the ECDLP on secp256k1, or break the hash function (SHA256) used = to bind signatures to messages. No such similar proof exists for ECDSA.
=
Thus for the purposes of formally demonstrating a break in ECDLP, a Sch= norr signature from a fixed nothing-up-my-sleeve point provides the firmest= evidence. Any cooperative entity capable of breaking ECDLP can produce a v= alid ECDSA or Schnorr signature from the NUMS point, so there is no need to= monitor both algorithms in Tripwire.

# Copyright

This docume= nt and related code is licensed under either the CC0-1.0 or MIT license, at= your option.

# Discussions

- https://groups.google.com/g/bit= coindev/c/aWYtPLVPZ3U/
- https://groups.google.com/g/bitcoindev/c/p8AVEm= AtWdA
- https://groups.google.com/g/bitcoindev/c/d7o74e-teNo/
- https= ://delvingbitcoin.org/t/qcap-a-bitcoin-native-quantum-canary-alert/2498
=
[^bech32]: The `bech32.encode` function is defined in [the BIP350 refer= ence code](https://github.com/sipa/bech32/blob/7a7d7ab158db7078a333384e0e91= 8c90dbc42917/ref/python/segwit_addr.py#L131-L137), also available [here](ht= tps://github.com/bitcoin/bips/blob/02bebeb5ef53dc21a52d5706c6b4c17b6af6c1cc= /bip-0352/bech32m.py#L129-L135).
[^rust_bitcoin]: https://github.com/rus= t-bitcoin/rust-bitcoin
[^toy_curves]: https://arxiv.org/pdf/2508.14011[^multi_target]: https://github.com/conduition/tripwire-bip/blob/main/tri= pwire.md




regards,
conduition

--
You receiv= ed this message because you are subscribed to the Google Groups "Bitcoin De= velopment Mailing List" group.
To unsubscribe from this group and stop r= eceiving emails from it, send an email to bitcoindev+unsubscribe@googlegrou= ps.com.
To view this discussion visit https://groups.google.com/d/msgid/= bitcoindev/TFovB6Dw5oivezJm_SNCtkVmMVA_sQTLcqg_sFgAaBTJNT4_e-i06PVcfN1FfXrK= 0RJSQHAbQq-MfnoqdWQ2Ax3Rf7FiTzGAaMWVrETw240%3D%40proton.me.
<publickey - conduition@proton= .me - 0x474891AD.asc>

--
You received this message because you are subscribed to the Google Groups &= quot;Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoind= ev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/= 6D3D9B68-E125-48E5-8654-ABD6A77E5228%40taoeffect.com.
--Apple-Mail=_F44FF0D2-3419-47DF-8735-EDA0CC546549--