Delivery-date: Wed, 19 Feb 2025 12:21:23 -0800 Received: from mail-oa1-f61.google.com ([209.85.160.61]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tkqZN-0000Y6-7U for bitcoindev@gnusha.org; Wed, 19 Feb 2025 12:21:23 -0800 Received: by mail-oa1-f61.google.com with SMTP id 586e51a60fabf-2b8e82974a1sf1460919fac.0 for ; Wed, 19 Feb 2025 12:21:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1739996475; cv=pass; d=google.com; s=arc-20240605; b=Isiijey65wsNGX131Xzc+P3RrDo85OiD8xJFjYhB3nrH5omMfs0LfVsVnZZDUF0NcQ Ah5C4bOYTGwRyzYOguINjY70dOWBoTBDUJ76PlN+hTTqW5WcoLAXKZYgMo4qiMPvHriY 275SHaAQmZznZZ/ARJmtHZ14Qmk6TG7zexJjRwqeRwCttsojvOzCWpXp1eCMLYpRFLaa 386RaAzcYyhtT/rqGXT1mDgnZLiB5h08I57MpAU1ns1p01hDO5jR5a7iE7mfr8zB0WM8 ODWjn++AS9jynID3hGmRxUXNA0LnT5KFN8MTaWsAoCPq/pa9vFuFoQUmcExkohQrocvv jtyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=cSJs7lMQ6knsF/xVLrVZkimkmxTb7P183ovsaPOSJ+E=; fh=Vuurk7SRAxzkMN+0+c7+dE8EiJfKNWpFuvlN75FTzX0=; b=dRnNG8vTx/Mt2u02nHmX24eBkKCBAj2jHiHqLM+dxtHHg5SYcqpKcPe4HzE+L+wEDb 9wkKDep8IqHsZ16mT+P8vHCvg8SkEXDOTpCi2mtYylbzQ+uqELylYZgYNPA0VGm7w4sE Y62nlHMLvo2z37oxuWgt0Tw906Nl8pE4pQxgjEIVEoFKn6GBIEu4eVFHokpDN/3CsNaM U7tJqNvehX78bu9FU9HbkIoov0KyaHsAY/srw1dj1FU+yz52yMU666986y9aeB5JvwRP btfynCulq9FHJ6FCpMXBdDykrrIF6uFuWPwFGUKW0zHV8qIhxF62+WUHJsMs+vOC3UME XlDA==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VtasXe3n; spf=pass (google.com: domain of dustinvonsandwich@gmail.com designates 2607:f8b0:4864:20::c31 as permitted sender) smtp.mailfrom=dustinvonsandwich@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1739996475; x=1740601275; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:sender:from:to:cc:subject:date:message-id :reply-to; bh=cSJs7lMQ6knsF/xVLrVZkimkmxTb7P183ovsaPOSJ+E=; b=xoyjrNDhJbdkX4v0UF9r5QiLWfjRgHMKW/elQzq5rgps5+rbomLOKu28JGJJp2zGWO aVYuVPiDUjX0WLceNVh/OQnYAQu7kE4CT1nEu+RgSvm7EREafp3AvNRWaEufPl02Cf60 o8QDaY/DfyMrYrKcyefRofMYJ58v9eQGEhwfpBWW+r7CIT83/he9obNLYhp+35LYhS7D d50lYXLlUURGJOOvzkbZUmtYpO1ME1NRegQCkkcJ2SVlXM43zU//DamH8k5QdIkZwFbP k/48zEI4bH5S2QQtyb6S8fiVf/FbTNLSoBsbUEe20BA2KUSEEabjLikRa1Rl1owbsK7M RJwA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739996475; x=1740601275; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date:message-id:reply-to; bh=cSJs7lMQ6knsF/xVLrVZkimkmxTb7P183ovsaPOSJ+E=; b=WnQcRsuUhu8QOvACKoowSZmvgjRUcYclGVXipU2Ts7Hh74+p0LNITDM5Ts0QICSisP vg1gijiipiXog3crk20ynoyabwjPb4hdO30AW+u5nLlyQQrvdIOTketawKynKewBIooK eF6o/vMqXEvzwMrIYICWhNqrMyjocM1aHPu4g67WK1JlgYhHgadYR0KbHzCpnPK2EPAD 8Y34mGyuYhFPzfwXzU3Iqoo5I8Y06WDcHRPXB9iOV1tsDln7ngSi4oxJm2gJy1TtQaTG Umne7vKyRtzt9P7FGXvC+bZBnSU2+0lPI7C9cZrfXT/WoD5UjyLNFIVlzcPmtgxnH6dJ HOMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739996475; x=1740601275; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=cSJs7lMQ6knsF/xVLrVZkimkmxTb7P183ovsaPOSJ+E=; b=K6YyrYdJYHl1u7Z53+5FWb99AzDo12FmWJ76D0e1RIto+GFlqMn+NgCcZYXEoPITK2 bi+vs/EQCPntISRsjsDfdZzzsOCpFGBAVLsfRM7RypSQg3Npe0NIr7fFfN+YG81XX3H+ /GvLQkm4G146URo6hR40kKtq0bPM0RiWIIvP8XYCTL1rV0z4G+gRr0ZCSLn0KMNqSv7r GjYcIpx6QyijaRRZUcEidciHMkIPSHHOMbOlpxpTKbplRIIH7d9DSDUHZ/vyFqHe7scD cbTkDSdsYNgujbF7MBgD6pt0stBsDzEr2NvvGbQE+327h4Hm0tER10CKFwufv4+LrtO2 TL+Q== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCXYMvcmNm3UUEH6flHSQUvCC9typxWpyAPC3oO4XirhyzCGOnDgC46QjfyUNm0c+d0A4vDsAj0QZo/n@gnusha.org X-Gm-Message-State: AOJu0Yw0yF+etAilC7xEQV5/VRLrpal50eRsNRsJ+MjngKxOeVqbAHI2 otsGorkAkvuSTPHtPIT8DTaIk0TpTjKFbIxrvDzvYNQDsCjI/SDC X-Google-Smtp-Source: AGHT+IHGliEHl3YZXrFEOCgdvZZfFJJHj48aXCGnsFnpm/g/EpfXGxYsqwj646O9QErtkx155iu0hw== X-Received: by 2002:a05:6871:64c8:b0:2bc:7cb8:be5 with SMTP id 586e51a60fabf-2bd2fcc86c2mr565129fac.15.1739996475510; Wed, 19 Feb 2025 12:21:15 -0800 (PST) X-BeenThere: bitcoindev@googlegroups.com; h=Adn5yVFW+1lwCMnEQmaLY39B6wkW7ClCytTkKn0PI5OKlLgl2Q== Received: by 2002:a05:6870:4d04:b0:2b8:aad4:83d with SMTP id 586e51a60fabf-2bd2f39998fls108779fac.0.-pod-prod-00-us; Wed, 19 Feb 2025 12:21:11 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUc5Yzpd+sL3dPFUVsNlGWN0IWyWQmujPw8zViq6N6CbIik6u7KSd7LY87AHf2yvmpd5+LsRBPvwjof@googlegroups.com X-Received: by 2002:a05:6808:1313:b0:3f4:aa:a158 with SMTP id 5614622812f47-3f419f586d8mr469735b6e.17.1739996471369; Wed, 19 Feb 2025 12:21:11 -0800 (PST) Received: by 2002:aca:100e:0:b0:3f4:4b9:4605 with SMTP id 5614622812f47-3f404b947b7msb6e; Wed, 19 Feb 2025 12:10:24 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUBeNFXsDh6RnAy/dIEHCbjKDNpF0Xwm5vdXhZCIJKmxkBSgrXbNDgppKDYm0+TsmWhu4ecMAqyDsug@googlegroups.com X-Received: by 2002:a05:6e02:1066:b0:3d1:54ce:a8f9 with SMTP id e9e14a558f8ab-3d2c027290emr7395565ab.10.1739995823400; Wed, 19 Feb 2025 12:10:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1739995823; cv=none; d=google.com; s=arc-20240605; b=jL84NYXtvA91ObAgN6dN6Kb59Z0jLPjTG+sERoBiPuxY0BhOoxLVRLi0/ddBOWG+X+ NmSfDeVuuqs9EIIjRCxSC77yi8kXlqw0ejLcd42soEGuBFgsi1U+++kD0gykCC0EAs11 15qd8I1l0+y+8f2HVIXINp73i52GoUMmXy35t+cZrrY5dCl3t2QWdK0AutoPRqpcMOo7 Ek/XmH0LKt5o1KP+oTsR8OBC9MUp3+JHYHd8fqppjlET6iuK3I4n5yDk4TOkvUyEPEvU 24d8pUga38wQoL7LYT2JLEyGMsjiDNZVrTTgpbwbc+4BQ4VOSQv5i5X625AcFgOh5QlB uUrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=OBm+t8mqoCFyewLDsgVMD4BMBoOcqe4hZlzvzKEcjH4=; fh=GYtKLEan4KZ8nZ4XgbPOxJ5W6LR7U1BVA8DUfLNHXTM=; b=J0xRIldC+EILT5wUza+MOmz1qUB8ZPxb8rzDJ96bZgA1DvNQz3EtVTndxBiS1PCIy7 zM+QtplHjANYfGKI7513E/apkHdjS8H/XCuRybEUbvKrdMAvhP3nopWStW1STLOFIavw Ni4bcaYCKAri2Cn5OJ40hqSCp/qp8G6NPMr0xsxv81oBHRoNjQtfWDZMoBFTtWIT58EW poo9En0dx8t6CG88S1qx06xTYe7tb//wMZs2dc5oRqeKY0CTtYcuqfiWB04oWsNKWsOw lT97PzyyCz3oljjPNhpQN1tXez8c200gk938d3YPz4PBrQS8txFdkzJQyJiyM9gGHSZJ QrFQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VtasXe3n; spf=pass (google.com: domain of dustinvonsandwich@gmail.com designates 2607:f8b0:4864:20::c31 as permitted sender) smtp.mailfrom=dustinvonsandwich@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Received: from mail-oo1-xc31.google.com (mail-oo1-xc31.google.com. [2607:f8b0:4864:20::c31]) by gmr-mx.google.com with ESMTPS id e9e14a558f8ab-3d18fb64101si7274365ab.5.2025.02.19.12.10.23 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Feb 2025 12:10:23 -0800 (PST) Received-SPF: pass (google.com: domain of dustinvonsandwich@gmail.com designates 2607:f8b0:4864:20::c31 as permitted sender) client-ip=2607:f8b0:4864:20::c31; Received: by mail-oo1-xc31.google.com with SMTP id 006d021491bc7-5fcad5ee945so85950eaf.1 for ; Wed, 19 Feb 2025 12:10:23 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVLPe6asHPnA6XK/gAxXDut7nWecqNAaZv68kFGyBA+L43HVP29Im52/5oSHgsHJ9oL4AmeSkSdOqVS@googlegroups.com X-Gm-Gg: ASbGncvrLCGclPy/pV+UPd7c/DAgZARuK50+kB2WEh+Z388T17Tm7hK8d3POyMOTqqm lGGYoCWpKANJmSj0dPuxekapHVDQ2mKu4sOe01i8iWRTePREqhe5s+TUIhpAlTvwPcOj9fAN655 lqe5d2HRKCdzddLAfGNoy2yrSVDRX7 X-Received: by 2002:a05:6871:108:b0:2b8:eb06:57e2 with SMTP id 586e51a60fabf-2bd2faa67a0mr507207fac.1.1739995822656; Wed, 19 Feb 2025 12:10:22 -0800 (PST) MIME-Version: 1.0 References: <08a544fa-a29b-45c2-8303-8c5bde8598e7n@googlegroups.com> In-Reply-To: From: Dustin Ray Date: Wed, 19 Feb 2025 12:10:11 -0800 X-Gm-Features: AWEUYZmdnS_SQskCjb7ZnIGrwxl2oKqb8c3Az9LdNsjps-NIQEmTH5t2AIYu9Hc Message-ID: Subject: Re: [bitcoindev] Proposal for Quantum-Resistant Address Migration Protocol (QRAMP) BIP To: Agustin Cruz Cc: Hunter Beast , Bitcoin Development Mailing List Content-Type: multipart/alternative; boundary="000000000000eb9af3062e8458f0" X-Original-Sender: Dustinvonsandwich@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VtasXe3n; spf=pass (google.com: domain of dustinvonsandwich@gmail.com designates 2607:f8b0:4864:20::c31 as permitted sender) smtp.mailfrom=dustinvonsandwich@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com 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 (/) --000000000000eb9af3062e8458f0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It's worth considering a hypothetical but as of yet unknown middle ground solution, again nothing like this exists currently but conceptually it would be interesting to explore: 1. At some block height deemed appropriate, modify consensus so that any pre-quantum unspent funds are restricted from being spent as normal. 2. Develop a new transaction type whose sole purpose is to migrate funds from a quantum unsafe address to a safe one. 3. This new transaction type is a quantum safe digital signature, but here's the hypothetical: It is satisfied by developing a mechanism by which a private key from a quantum-unsafe scheme can be repurposed as a private key for a pq-safe scheme. It may also be possible that since we know the hash of the public key, perhaps we can invent some mechanism whereby a quantum safe signature is created from an ecdsa private key that directly implies knowledge of a secret key that derived the known public key. In this way, we create a kind of turnstile that can safely transition funds from unsafe addresses into safe ones. Such turnstiles have been used in blockchains before, a notable example is in the zcash network as part of an audit of shielded funds. There are likely hidden complexities in this idea that may cause it to be completely unworkable, but a theoretical transition mechanism both prevents a heavy handed confiscation of funds and also prevents funds from being stolen and injected back into the supply under illegitimate pretenses. This only works for p2pkh, anything prior to this is immediately vulnerable to key inversion, but Satoshi owns most of those coins as far as we know, so confiscating them might not be as controversial. I'm typing this on my phone so sorry for the lack of detailed references. I think the core idea is clear though. On Wed, Feb 19, 2025 at 10:47=E2=80=AFAM Agustin Cruz wrote: > Hi Hunter, > > I appreciate the work you=E2=80=99re doing on BIP-360 for Anduro. Your po= int about > not =E2=80=9Cconfiscating=E2=80=9D old coins and allowing those with quan= tum capabilities > to free them up is certainly a valid one, and I understand the argument > that any inflationary impact could be transitory. > > From my viewpoint, allowing quantum-capable adversaries to reintroduce > dormant coins (e.g., Satoshi=E2=80=99s if those keys are lost) could have > unintended consequences that go beyond transient inflation. It could > fundamentally alter trust in Bitcoin=E2=80=99s fixed supply and disrupt e= conomic > assumptions built around the current distribution of coins. While some > might view these dormant coins as =E2=80=9Cfair game,=E2=80=9D their sudd= en reappearance > could cause lasting market shocks and undermine confidence. The goal of a > proactive migration is to close the door on such a scenario before it > becomes imminent. > > I agree that Q-day won=E2=80=99t necessarily be a single, catastrophic mo= ment. It > will likely be gradual and subtle, giving the network some time to adapt. > That said, one challenge is ensuring we don=E2=80=99t find ourselves in a= n > emergency scramble the moment a capable quantum machine appears. A forced > or proactive migration is an admittedly strong measure, but it attempts t= o > address the scenario where a slow, creeping capability becomes a sudden > attack vector once it matures. In that sense, =E2=80=9Crushing=E2=80=9D i= sn=E2=80=99t ideal, but > neither is waiting until the threat is undeniably present. > > El mi=C3=A9, 19 de feb de 2025, 1:31=E2=80=AFp. m., Hunter Beast > escribi=C3=B3: > >> I don't see why old coins should be confiscated. The better option is to >> let those with quantum computers free up old coins. While this might hav= e >> an inflationary impact on bitcoin's price, to use a turn of phrase, the >> inflation is transitory. Those with low time preference should support >> returning lost coins to circulation. >> >> Also, I don't see the urgency, considering the majority of coins are in >> either P2PKH, P2WPKH, P2SH, and P2WSH addresses. If PQC signatures aren'= t >> added, such as with BIP-360, there will be some concern around long >> exposure attacks on P2TR coins. For large amounts, it would be smart to >> modify wallets to support broadcasting transactions to private mempool >> services such as Slipstream, to mitigate short exposure attacks. Those w= ill >> also be rarer early on since a CRQC capable of a long exposure attack is >> much simpler than one capable of pulling off a short exposure attack >> against a transaction in the mempool. >> >> Bitcoin's Q-day likely won't be sudden and obvious. It will also take >> time to coordinate a soft fork activation. This shouldn't be rushed. >> >> In the interest of transparency, it's worth mentioning that I'm working >> on a BIP-360 implementation for Anduro. Both Anduro and Slipstream are M= ARA >> services. >> >> On Tuesday, February 11, 2025 at 9:01:51=E2=80=AFPM UTC-7 Agustin Cruz w= rote: >> >>> Hi Dustin: >>> >>> I understand that the proposal is an extraordinary ask=E2=80=94it would= indeed >>> void a non-trivial part of the coin supply if users do not migrate in t= ime, >>> and under normal circumstances, many would argue that unused P2PKH fund= s >>> are safe from a quantum adversary. However, the intent here is to be >>> proactive rather than reactive. >>> >>> The concern isn=E2=80=99t solely about funds in active wallets. Conside= r that if >>> we don=E2=80=99t implement a proactive migration, any Bitcoin in lost >>> wallets=E2=80=94including, hypothetically, Satoshi=E2=80=99s if he is n= ot alive=E2=80=94will remain >>> vulnerable. In the event of a quantum breakthrough, those coins could b= e >>> hacked and put back into circulation. Such an outcome would not only >>> disrupt the balance of supply but could also undermine the trust and >>> security that Bitcoin has built over decades. In short, the consequence= s of >>> a reactive measure in a quantum emergency could be far more catastrophi= c. >>> >>> While I agree that a forced migration during an active quantum attack >>> scenario might be more acceptable (since funds would likely be consider= ed >>> lost anyway), waiting until such an emergency arises leaves us with lit= tle >>> margin for error. By enforcing a migration now, we create a window for = the >>> entire community to transition safely=E2=80=94assuming we set the deadl= ine >>> generously and provide ample notifications, auto-migration tools, and, = if >>> necessary, emergency extensions. >>> >>> El mar, 11 de feb de 2025, 9:48=E2=80=AFp. m., Dustin Ray >>> escribi=C3=B3: >>> >>>> I think youre going to have a tough time getting consensus on this >>>> proposal. It is an extraordinary ask of the community to instill a >>>> change that will essentially void out a non-trivial part of the coin >>>> supply, especially when funds behind unused P2PKH addresses are at >>>> this point considered safe from a quantum adversary. >>>> >>>> In my opinion, where parts of this proposal make sense is in a quantum >>>> emergency in which an adversary is actively extracting private keys >>>> from known public keys and a transition must be made quickly and >>>> decisively. In that case, we might as well consider funds to be lost >>>> anyways. In any other scenario prior to this hypothetical emergency >>>> however, I have serious doubts that the community is going to consent >>>> to this proposal as it stands. >>>> >>>> On Tue, Feb 11, 2025 at 4:37=E2=80=AFPM Agustin Cruz >>>> wrote: >>>> > >>>> > Hi Dustin >>>> > >>>> > To clarify, the intent behind making legacy funds unspendable after = a >>>> certain block height is indeed a hard security measure=E2=80=94designe= d to mitigate >>>> the potentially catastrophic risk posed by quantum attacks on ECDSA. T= he >>>> idea is to force a proactive migration of funds to quantum-resistant >>>> addresses before quantum computers become capable of compromising the >>>> current cryptography. >>>> > >>>> > The migration window is intended to be sufficiently long (determined >>>> by both block height and community input) to provide ample time for us= ers >>>> and service providers to transition. >>>> > >>>> > >>>> > El mar, 11 de feb de 2025, 9:15=E2=80=AFp. m., Dustin Ray < >>>> dustinvo...@gmail.com> escribi=C3=B3: >>>> >> >>>> >> Right off the bat I notice you are proposing that legacy funds >>>> become unspendable after a certain block height which immediately rais= es >>>> serious problems. A migration to quantum hard addresses in this manner >>>> would cause serious financial damage to anyone holding legacy funds, i= f I >>>> understand your proposal correctly. >>>> >> >>>> >> On Tue, Feb 11, 2025 at 4:10=E2=80=AFPM Agustin Cruz >>>> wrote: >>>> >>> >>>> >>> Dear Bitcoin Developers, >>>> >>> >>>> >>> I am writing to share my proposal for a new Bitcoin Improvement >>>> Proposal (BIP) titled Quantum-Resistant Address Migration Protocol (QR= AMP). >>>> The goal of this proposal is to safeguard Bitcoin against potential fu= ture >>>> quantum attacks by enforcing a mandatory migration period for funds he= ld in >>>> legacy Bitcoin addresses (secured by ECDSA) to quantum-resistant addre= sses. >>>> >>> >>>> >>> The proposal outlines: >>>> >>> >>>> >>> Reducing Vulnerabilities: Transitioning funds to quantum-resistant >>>> schemes preemptively to eliminate the risk posed by quantum attacks on >>>> exposed public keys. >>>> >>> Enforcing Timelines: A hard migration deadline that forces timely >>>> action, rather than relying on a gradual, voluntary migration that mig= ht >>>> leave many users at risk. >>>> >>> Balancing Risks: Weighing the non-trivial risk of funds being >>>> permanently locked against the potential catastrophic impact of a quan= tum >>>> attack on Bitcoin=E2=80=99s security. >>>> >>> >>>> >>> Additionally, the proposal addresses common criticisms such as the >>>> risk of permanent fund loss, uncertain quantum timelines, and the pote= ntial >>>> for chain splits. It also details backwards compatibility measures, >>>> comprehensive security considerations, an extensive suite of test case= s, >>>> and a reference implementation plan that includes script interpreter >>>> changes, wallet software updates, and network monitoring tools. >>>> >>> >>>> >>> For your convenience, I have published the full proposal on my >>>> GitHub repository. You can review it at the following link: >>>> >>> >>>> >>> Quantum-Resistant Address Migration Protocol (QRAMP) Proposal on >>>> GitHub >>>> >>> >>>> >>> I welcome your feedback and suggestions and look forward to >>>> engaging in a constructive discussion on how best to enhance the secur= ity >>>> and resilience of the Bitcoin network in the quantum computing era. >>>> >>> >>>> >>> Thank you for your time and consideration. >>>> >>> >>>> >>> Best regards, >>>> >>> >>>> >>> Agustin Cruz >>>> >>> >>>> >>> -- >>>> >>> 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+...@googlegroups.com. >>>> >>> To view this discussion visit >>>> https://groups.google.com/d/msgid/bitcoindev/08a544fa-a29b-45c2-8303-8= c5bde8598e7n%40googlegroups.com >>>> . >>> >>> >>>> -- >> You received this message because you are subscribed to the Google Group= s >> "Bitcoin Development Mailing List" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n >> email to bitcoindev+unsubscribe@googlegroups.com. >> To view this discussion visit >> https://groups.google.com/d/msgid/bitcoindev/f9e233e0-9d87-4e71-9a9f-331= 0ea242194n%40googlegroups.com >> >> . >> > -- > 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/bitcoindev/CAJDmzYz%3D52MGGLE0ZWm5tmfLU= AZEo2tYQutHb4sMvjKbayOAHg%40mail.gmail.com > > . > --=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/= CAC3UE4K4L58Oz147m5Tnd2cqt7uCN2niyGK6ffRTuu5x5YvRDQ%40mail.gmail.com. --000000000000eb9af3062e8458f0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It's worth considering a hypothetical but as of yet u= nknown middle ground solution, again nothing like this exists currently but= conceptually it would be interesting to explore:
1. At some block height deemed appropriate, modif= y consensus so that any pre-quantum unspent funds are restricted from being= spent as normal.

2. Dev= elop a new transaction type whose sole purpose is to migrate funds from a q= uantum unsafe address to a safe one.

3. This new transaction type is a quantum safe digital signatu= re, but here's the hypothetical: It is satisfied by developing a mechan= ism by which a private key from a quantum-unsafe scheme can be repurposed a= s a private key for a pq-safe scheme. It may also be possible that since we= know the hash of the public key, perhaps we can invent some mechanism wher= eby a quantum safe signature is created from an ecdsa private key that dire= ctly implies knowledge of a secret key that derived the known public key.

In this way, we create a = kind of turnstile that can safely transition funds from unsafe addresses in= to safe ones. Such turnstiles have been used in blockchains before, a notab= le example is in the zcash network as part of an audit of shielded funds.= =C2=A0

There are likely = hidden complexities in this idea that may cause it to be completely unworka= ble, but a theoretical transition mechanism both prevents a heavy handed co= nfiscation of funds and also prevents funds from being stolen and injected = back into the supply under illegitimate pretenses.
<= br>
This only works for p2pkh, anything prior to thi= s is immediately vulnerable to key inversion, but Satoshi owns most of thos= e coins as far as we know, so confiscating them might not be as controversi= al.

I'm typing this = on my phone so sorry for the lack of detailed references. I think the core = idea is clear though.

On Wed, Feb 19, 2025 at 10:= 47=E2=80=AFAM Agustin Cruz <ag= ustin.cruz@gmail.com> wrote:

Hi Hunter,

I appreciate the work you= =E2=80=99re doing on BIP-360 for Anduro. Your point about not =E2=80=9Cconf= iscating=E2=80=9D old coins and allowing those with quantum capabilities to= free them up is certainly a valid one, and I understand the argument that = any inflationary impact could be transitory.

From my viewpoint, allowing quantum-capable adversaries to r= eintroduce dormant coins (e.g., Satoshi=E2=80=99s if those keys are lost) c= ould have unintended consequences that go beyond transient inflation. It co= uld fundamentally alter trust in Bitcoin=E2=80=99s fixed supply and disrupt= economic assumptions built around the current distribution of coins. While= some might view these dormant coins as =E2=80=9Cfair game,=E2=80=9D their = sudden reappearance could cause lasting market shocks and undermine confide= nce. The goal of a proactive migration is to close the door on such a scena= rio before it becomes imminent.

I agree that Q-day won=E2= =80=99t necessarily be a single, catastrophic moment. It will likely be gra= dual and subtle, giving the network some time to adapt. That said, one chal= lenge is ensuring we don=E2=80=99t find ourselves in an emergency scramble = the moment a capable quantum machine appears. A forced or proactive migrati= on is an admittedly strong measure, but it attempts to address the scenario= where a slow, creeping capability becomes a sudden attack vector once it m= atures. In that sense, =E2=80=9Crushing=E2=80=9D isn=E2=80=99t ideal, but n= either is waiting until the threat is undeniably present.


El mi=C3=A9, 1= 9 de feb de 2025, 1:31=E2=80=AFp.=C2=A0m., Hunter Beast <hunter@surmount= .systems> escribi=C3=B3:
I don't see why o= ld coins should be confiscated. The better option is to let those with quan= tum computers free up old coins. While this might have an inflationary impa= ct on bitcoin's price, to use a turn of phrase, the inflation is transi= tory. Those with low time preference should support returning lost coins to= circulation.

Also, I don't see the urgency, conside= ring the majority of coins are in either P2PKH, P2WPKH, P2SH, and P2WSH add= resses. If PQC signatures aren't added, such as with BIP-360, there wil= l be some concern around long exposure attacks on P2TR coins. For large amo= unts, it would be smart to modify wallets to support broadcasting transacti= ons to private mempool services such as Slipstream, to mitigate short expos= ure attacks. Those will also be rarer early on since a CRQC capable of a lo= ng exposure attack is much simpler than one capable of pulling off a short = exposure attack against a transaction in the mempool.

<= div>Bitcoin's Q-day likely won't be sudden and obvious. It will als= o take time to coordinate a soft fork activation. This shouldn't be rus= hed.

In the interest of transparency, it's wor= th mentioning that I'm working on a BIP-360 implementation for Anduro. = Both Anduro and Slipstream are MARA services.

On Tuesday, Februa= ry 11, 2025 at 9:01:51=E2=80=AFPM UTC-7 Agustin Cruz wrote:

Hi Dustin:

I understand that the proposal is an extraordinary ask=E2=80= =94it would indeed void a non-trivial part of the coin supply if users do n= ot migrate in time, and under normal circumstances, many would argue that u= nused P2PKH funds are safe from a quantum adversary. However, the intent he= re is to be proactive rather than reactive.

The concern isn=E2=80=99t solely about funds in active walle= ts. Consider that if we don=E2=80=99t implement a proactive migration, any = Bitcoin in lost wallets=E2=80=94including, hypothetically, Satoshi=E2=80=99= s if he is not alive=E2=80=94will remain vulnerable. In the event of a quan= tum breakthrough, those coins could be hacked and put back into circulation= . Such an outcome would not only disrupt the balance of supply but could al= so undermine the trust and security that Bitcoin has built over decades. In= short, the consequences of a reactive measure in a quantum emergency could= be far more catastrophic.

While I agree that a forced migration during an active quant= um attack scenario might be more acceptable (since funds would likely be co= nsidered lost anyway), waiting until such an emergency arises leaves us wit= h little margin for error. By enforcing a migration now, we create a window= for the entire community to transition safely=E2=80=94assuming we set the = deadline generously and provide ample notifications, auto-migration tools, = and, if necessary, emergency extensions.


El mar, 11 de feb de 2025, 9:48= =E2=80=AFp.=C2=A0m., Dustin Ray <dustinvo= ...@gmail.com> escribi=C3=B3:
I think your= e going to have a tough time getting consensus on this
proposal. It is an extraordinary ask of the community to instill a
change that will essentially void out a non-trivial part of the coin
supply, especially when funds behind unused P2PKH addresses are at
this point considered safe from a quantum adversary.

In my opinion, where parts of this proposal make sense is in a quantum
emergency in which an adversary is actively extracting private keys
from known public keys and a transition must be made quickly and
decisively. In that case, we might as well consider funds to be lost
anyways. In any other scenario prior to this hypothetical emergency
however, I have serious doubts that the community is going to consent
to this proposal as it stands.

On Tue, Feb 11, 2025 at 4:37=E2=80=AFPM Agustin Cruz <agusti...@gmail.com> wrote:
>
> Hi Dustin
>
> To clarify, the intent behind making legacy funds unspendable after a = certain block height is indeed a hard security measure=E2=80=94designed to = mitigate the potentially catastrophic risk posed by quantum attacks on ECDS= A. The idea is to force a proactive migration of funds to quantum-resistant= addresses before quantum computers become capable of compromising the curr= ent cryptography.
>
> The migration window is intended to be sufficiently long (determined b= y both block height and community input) to provide ample time for users an= d service providers to transition.
>
>
> El mar, 11 de feb de 2025, 9:15=E2=80=AFp. m., Dustin Ray <dustinvo...@gmail.com> escribi= =C3=B3:
>>
>> Right off the bat I notice you are proposing that legacy funds bec= ome unspendable after a certain block height which immediately raises serio= us problems. A migration to quantum hard addresses in this manner would cau= se serious financial damage to anyone holding legacy funds, if I understand= your proposal correctly.
>>
>> On Tue, Feb 11, 2025 at 4:10=E2=80=AFPM Agustin Cruz <agusti...@gmail.com> wrote:
>>>
>>> Dear Bitcoin Developers,
>>>
>>> I am writing to share my proposal for a new Bitcoin Improvemen= t Proposal (BIP) titled Quantum-Resistant Address Migration Protocol (QRAMP= ). The goal of this proposal is to safeguard Bitcoin against potential futu= re quantum attacks by enforcing a mandatory migration period for funds held= in legacy Bitcoin addresses (secured by ECDSA) to quantum-resistant addres= ses.
>>>
>>> The proposal outlines:
>>>
>>> Reducing Vulnerabilities: Transitioning funds to quantum-resis= tant schemes preemptively to eliminate the risk posed by quantum attacks on= exposed public keys.
>>> Enforcing Timelines: A hard migration deadline that forces tim= ely action, rather than relying on a gradual, voluntary migration that migh= t leave many users at risk.
>>> Balancing Risks: Weighing the non-trivial risk of funds being = permanently locked against the potential catastrophic impact of a quantum a= ttack on Bitcoin=E2=80=99s security.
>>>
>>> Additionally, the proposal addresses common criticisms such as= the risk of permanent fund loss, uncertain quantum timelines, and the pote= ntial for chain splits. It also details backwards compatibility measures, c= omprehensive security considerations, an extensive suite of test cases, and= a reference implementation plan that includes script interpreter changes, = wallet software updates, and network monitoring tools.
>>>
>>> For your convenience, I have published the full proposal on my= GitHub repository. You can review it at the following link:
>>>
>>> Quantum-Resistant Address Migration Protocol (QRAMP) Proposal = on GitHub
>>>
>>> I welcome your feedback and suggestions and look forward to en= gaging in a constructive discussion on how best to enhance the security and= resilience of the Bitcoin network in the quantum computing era.
>>>
>>> Thank you for your time and consideration.
>>>
>>> Best regards,
>>>
>>> Agustin Cruz
>>>
>>> --
>>> You received this message because you are subscribed to the Go= ogle Groups "Bitcoin Development Mailing List" group.
>>> To unsubscribe from this group and stop receiving emails from = it, send an email to bitcoindev+.= ..@googlegroups.com.
>>> To view this discussion visit = https://groups.google.com/d/msgid/bitcoindev/08a544fa-a29b-45c2-8303-8c5bde= 8598e7n%40googlegroups.com.

--
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 bitcoindev+unsubscribe@googlegroups.com. To view this discussion visit h= ttps://groups.google.com/d/msgid/bitcoindev/f9e233e0-9d87-4e71-9a9f-3310ea2= 42194n%40googlegroups.com.

--
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 bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https:= //groups.google.com/d/msgid/bitcoindev/CAJDmzYz%3D52MGGLE0ZWm5tmfLUAZEo2tYQ= utHb4sMvjKbayOAHg%40mail.gmail.com.

--
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/ms= gid/bitcoindev/CAC3UE4K4L58Oz147m5Tnd2cqt7uCN2niyGK6ffRTuu5x5YvRDQ%40mail.g= mail.com.
--000000000000eb9af3062e8458f0--