From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 05 Dec 2026 11:45:49 -0800 Received: from mail-oa1-f56.google.com ([209.85.160.56]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1xZvhd-000gCZ-9I for bitcoindev@gnusha.org; Sat, 05 Dec 2026 11:45:49 -0800 Received: by mail-oa1-f56.google.com with SMTP id 586e51a60fabf-4ad5e0ddc90sf1934101fac.2 for ; Sat, 05 Dec 2026 11:45:49 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1796499943; cv=pass; d=google.com; s=arc-20260327; b=qazADN5pBuWBay6UTBz2HpH/BfNgfwqbX3cF7S21vZpvbC0T0u0G7fdzwtAjA5gYCs l9e/ZIOtm+ZZAT2yReY0p++jVjh6n3wfiWTkz/FJaUoJ1jU6whj6G9OMC7178Zi6J9Cm hlDPs+UyLCvYuYBfyuOqxnQ4TO5u2IlyQdFrgOXxZ5OUL6brUm27ncgE3tspmQKmZUi6 KKqh1aO7MjFwoBHPlebJ0wJFqUbgB4/8zloYsI2ZV8Fcl6WVp6vQjl+GO0ByBAxgPYEo ZMyWpUaI30hrmHjChBMsnZgjMrsIVclzFm+InKd+ES+JFiCFhfmVf2bZrkONEL/da4TB 7l2Q== ARC-Message-Signature: i=3; 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:to:subject:message-id:date:from :mime-version:sender:dkim-signature:dkim-signature; bh=n92b870duOtb3b6cg90W/l8xXN/Uz3cGfTouWARTMzY=; fh=IRbKr/OcA/cqrMVFUnwGgeHDfqEa1MKzyZu9O0UtmVM=; b=GqHiXiJmPkkNHFdF0nU0YCbLkjs4jyR5vNctpXh3mstCXQXgusyUaW8gV2mDC92Iei pWpX3P5hjl9UPpKQKvkLB1IUg/uHj1ObU12awVxx1MQhMYs3ME+NeJKfL0bSGUtpZTAU mbyy0G4MydY9CsWq8PWIhaF19AFdt0dXsfjQq5K4DXSY5YTKjr9qxFibbvouFBRTkYoG xOZ58AP70wrOR30Ua12Hs1Ii9zcFRG/6a5HkAUzeeH5T3hX4mN5hFCioiobFB+MzDdl5 UGkdBqSHEkf0WsFhS6/TtCTRnWnq2YpmasP4ZoDT2lhUuCPLGTS1mpFJjLE9+BZeKVA4 VqpQ==; darn=gnusha.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20260707 header.b=sTqDi6IW; arc=pass (i=1); spf=pass (google.com: domain of xiazhiray@gmail.com designates 2a00:1450:4864:20::62a as permitted sender) smtp.mailfrom=xiazhiray@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=20260707; t=1796499943; x=1797104743; 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:content-type:to:subject:message-id:date:from :mime-version:sender:from:to:cc:subject:date:message-id:reply-to :content-type; bh=n92b870duOtb3b6cg90W/l8xXN/Uz3cGfTouWARTMzY=; b=smv27HXVLX5u22v7SFnC5VX/F18wmgm3s7rEW27lxCY0HoExuKEw0F19gbgbbwuHU3 WwDTb3taf3FoiPEu70VU4quPo7ilcLZD05CsCtpRE6oXBmYWNSv0L5IUFOquG/coyBrs KLGKrub4NKd/FR+SO61Wj10pLu2IpUWNQYkO9Uzecq99ue5YlgEdI6Jlm/O+rnLFnqyR 8JoxhKcNaL8D5+mPCWCOLuimt9h/GyqSFM7903qQtxYbgW3ka3IooiYbqFyfhNMaLQ8P 3OnYwevk7r2Thzjg6NWCO+dEqZP5vePd3JYukw5/RFTHmijwLlzGKk2pqFjBh83dY1H/ hRwA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796499943; x=1797104743; 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:content-type:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to :content-type; bh=n92b870duOtb3b6cg90W/l8xXN/Uz3cGfTouWARTMzY=; b=r9K2Xqg7Lvw1uIotUMBuASt2JOpqxnCNORZLGVQVbvjzjN+5EsnNCLOhIWIEp+ZoSk Om6hB7/XI+naWok6EXewO3h16Lzz6sjahIXj4wQ+k2+LTsJfAnjtX6zxsqIzAhWAL5xd fJQmAHm2PithUGy/bJ4fl5J7J8g69Zy7foI6CCukJyJxsBMfuDiGrkrpKXlWSwTHLydE va269Q/oJEh5D52xJSC6eibsDzNO7cWLkIvuhyLkk+q1hvOh/domoOUjBHOPYf6cRTie /XJDSCZgAUJqqqkONd04TZo5Se4J35vnvWKlELTzmnQ37dQYmEZVeMmVgNnm6qyylu9G BdrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796499943; x=1797104743; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:content-type:to:subject:message-id:date:from :mime-version:x-gm-gg:x-beenthere:x-gm-message-state:sender:from:to :cc:subject:date:message-id:reply-to:content-type; bh=n92b870duOtb3b6cg90W/l8xXN/Uz3cGfTouWARTMzY=; b=c3azRiWAKTzmspuky0RMmBOBZOz1JCsdSDe5V4byZU1lJszi8iJg2T3hAg1wr1QrJH IbOzbVkSIc6zzM9DO/N7VIy6uSXvaRLjt3nQSc0VsiDL5W/w3d1i//HUlyBReaDG+udF SbDZE8dhjN2mpmTBbX/jp2riaIylMHmts8+vhk3Qqnure/wRcZ/t3w15Hc3mOx90e4W8 Mz5wmMxzR5ci2na9b+zsG1tOHpZ6m1MXxXO7Rrj23SIqqvO7m4uduMWRQG+3rn+hMHHS yHBkczPvVFTN8i8vzONOl1qZYq2jSIq21XTS7DMfrKn+LmYsoWUbDqeETAJGL4MelF8X aQcg== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=3; AL+hErF+oFyywxNCYKOOvqCGu28yXoIsQ5etAguWqmKkfD98u+Oz8aZrAA4eG7qqXFlP++Vj82i0XH54Dx1Z@gnusha.org X-Gm-Message-State: APuU4Z+oU5F8V8jlAM2YZ4yIqnVorTP+zZ3Kf+OTyCjknXxqBAHhf8nM 7r9O2iPLIDtDLusfe+rjjjnGbTRZ4sdJZQDhO3VmG0eFU22eafHZSjo+ X-Received: by 2002:a05:6870:204d:b0:4a6:9418:da4e with SMTP id 586e51a60fabf-4e3d899df8dmr5122221fac.60.1796499943118; Sat, 05 Dec 2026 11:45:43 -0800 (PST) X-BeenThere: bitcoindev@googlegroups.com; h="ATskLdcmQnwN+Xje/zJVp3QNKcUMB9laimLLhaEXp52bcTo7/w==" Received: by 2002:a05:687c:43c1:10b0:49e:1e26:d0ef with SMTP id 586e51a60fabf-4e33b3a3babls1612401fac.1; Sat, 05 Dec 2026 11:45:36 -0800 (PST) X-Received: by 2002:a05:6808:190b:b0:572:c276:47c1 with SMTP id 5614622812f47-57f208d893dmr5213628b6e.62.1796499935889; Sat, 05 Dec 2026 11:45:35 -0800 (PST) Received: by 2002:a05:600c:a212:b0:4bb:68a2:44bc with SMTP id 5b1f17b1804b1-4bbf0ec1774ms5e9; Sat, 5 Dec 2026 08:39:43 -0800 (PST) X-Received: by 2002:a05:6000:288c:b0:4a6:5a2a:f4c4 with SMTP id ffacd0b85a97d-4d1ea69ccd6mr13466743f8f.37.1796488782252; Sat, 05 Dec 2026 08:39:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1796488782; cv=pass; d=google.com; s=arc-20260327; b=sTYyZgGu0/MiBeLWnsA3XrRX4k+bCt1P5q1Hm+LHzHG1WxW1p3RdCdWft4+wDsiBRE 4E4SZD5Wd23fS3DQIeV4U1/5bCUlwB/7QXuC7e0po9wMxM2Nc5OygkLnb4/laPN1guda lMWXNu+KBBohc2CKnBUrjHQkJW139BFwAEHDPNfD3k8TeYCIJ81okIUjZkNqziKX2mG2 fA8qDKewRLjNVIlRNQLAuZCTD5utktsey5FWUxYP8sp5N+j0hMwP+d/N5raWd+6bDcH6 pYK4XH5fWyaS/5ZGIZmlZ7+AbL/bn5cj4iz3vDKLqkOtt/+49Ca9h3Ao3I68Koh9nk+c LL4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=g50/DbG3CC8gCrM7MPNkt72StdIFgnzilhDsCXdh+UU=; fh=VcGcg+Zjs9gw1uDcHbxsAILhBAcecnbJzZRdxgKVDIc=; b=fwoXF2/ye3syQZoktnFnzMFeo7DqRcYGbYrPFg7+W37Vw6rAp/x+nrVcmVDWApAXvf aGjXqrHyP152873ACU9ZYs9iT1NfxGroZ8E6QzMBI8E6QeJkjM679oAG+AUxEebhRwtv aWMMQh07UFUWhOGqAxREPy2HIr89kY43W70zgR9oPHf7d11P12bghYXrGcU2QAWzLaTq ITnYublDM+Axuzp/WxgIiI75seMHWTfRfvP0InOisAZ0es+BkDcAMvaVGzQgg/sXl6j/ Av9GBvBBvhT21nDubmugcQAH/YApgsretEd8+D5ZXk/lFDlwvrGxDsQ6xCF36i/5IJo9 m1QA==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20260707 header.b=sTqDi6IW; arc=pass (i=1); spf=pass (google.com: domain of xiazhiray@gmail.com designates 2a00:1450:4864:20::62a as permitted sender) smtp.mailfrom=xiazhiray@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com. [2a00:1450:4864:20::62a]) by gmr-mx.google.com with ESMTPS id ffacd0b85a97d-4d19fc0c8bdsi58088f8f.6.2026.12.05.08.39.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 05 Dec 2026 08:39:42 -0800 (PST) Received-SPF: pass (google.com: domain of xiazhiray@gmail.com designates 2a00:1450:4864:20::62a as permitted sender) client-ip=2a00:1450:4864:20::62a; Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-c5329af5fa7so105280866b.0 for ; Sat, 05 Dec 2026 08:39:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1796488782; cv=none; d=google.com; s=arc-20260327; b=l/jWbK3WcZoywcd9M+l7qnQ2ruwPerFHuQU3xpUoNWFG38tnFF1wm5jw6fRp6Wc3xK 17+omUe+xiA/bJ4RQtJvf6ezxwuDYcMZ9ZxejWhHSUnnNitDGdkxhYfzmt11v4rUbU/p L+NnLoONhu1gmNG8Lklw+aQim+VCQzoCu7XEnam62QUQcD/3FjQPwmVC1Ke4VcgzXPGx G8UHuI0CeRDuvs2ShcQVmZjyHrFG/05/sAarXyI/eRjlUnTPuwP6+hIXVa0uL90xS6z6 I4o73RusP9JU2hjzk7Gc9Yw487hBXljSGLy+WkQ/X9ZklIttrLgqrksTloYp8iFUBjN5 L2Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=g50/DbG3CC8gCrM7MPNkt72StdIFgnzilhDsCXdh+UU=; fh=VcGcg+Zjs9gw1uDcHbxsAILhBAcecnbJzZRdxgKVDIc=; b=e3jo49dWdGbrMYZ+L4yBvxu2FBYcytqeeHKEf/XYlH1iZ0wILSp/rhHGTSvk50pFsk zwSjroGRzwwpXpyp25oYQ1Yvxj8qeUm3L3uTg2+J1BcFJO4zolkcwfcp6CUhazIbwG7h 2KV+yQo9Yj2k3BtVPyEchfbsrNWvDpE1HPL0cs8W7MukchxiFlTHCN6H9+nXA7stEH2I DegtAo40Zhz/+jryp32YX+SXPAmH2BxDzi8daJg5c0qFM+LVg3O3tOAOa/TqgMVG7QFF fnW/u3/ACOUbdYUw0gNYEJOlYR7x/tM6aRkXsC1acXvTSVtUKXeqsKTTjtY6JQLZnsU2 4yqg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Gm-Gg: AZFdTZd2evcDk5ZeyiiCRqLQOOPgdfld5rfgOI1pjivmER1zIo03xfMcIDYI8EcMqbw dRV5Vy01YevUa6teQjPpg6DylpFFnRvlx1NOuKvhfTrjeaTI73299sKFUBg1508jeRnfU4kisnH N4AvmtS/7Dnri5gy84xer3zyW7tF990hse8nyyc364/maf1S+5ZtPvdqh6HfzaIt+txSHdXE4uR NmpSSoWC1ZalmMoHoYR2jom6sF3Of1vW1SggbrsyIk8opCW9S4ApgGxylHYTlOdHmhPChjGdZ13 tM/rClcFf3b/f0mK17PWfaByVHhzSHIdrboOaQ5tnNuordMF1GITZmocLgwXV/lIV9sZIz6SxrR SMpevN0ZyIapCuPDV4+dPctbWHHxdiOgbj/0a1A== X-Received: by 2002:a17:906:ef07:b0:c40:4965:72bd with SMTP id a640c23a62f3a-c52621f952bmr364410366b.19.1796488781610; Sat, 05 Dec 2026 08:39:41 -0800 (PST) Received: from 77377267392 named unknown by gmailapi.google.com with HTTPREST; Sat, 5 Dec 2026 10:39:40 -0600 MIME-Version: 1.0 From: Cheddy Cheddy Date: Sat, 5 Dec 2026 10:39:40 -0600 X-Gm-Features: Aa3M54pgLSithvukIvolsjS7xbCphE3V-o7j2QLy4VUna2UuLKr9GiPPBQKv4Vk Message-ID: Subject: [bitcoindev] RFC: A Defense-in-Depth Framework for Bitcoin's Post-Quantum Transition and Legacy UTXO Protection To: bitcoindev@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Original-Sender: xiazhiray@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20260707 header.b=sTqDi6IW; arc=pass (i=1); spf=pass (google.com: domain of xiazhiray@gmail.com designates 2a00:1450:4864:20::62a as permitted sender) smtp.mailfrom=xiazhiray@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 (/) Hi all, Disclosure: This conceptual RFC was developed with AI assistance from a discussion of post-quantum migration and legacy ownership protection. It is not a formal BIP, has no reference implementation, and has not undergone cryptographic or consensus-level security review. I welcome corrections and pointers to existing work. 1. Abstract Rather than relying on a single post-quantum signature algorithm or immediately freezing vulnerable legacy UTXOs, I would like to explore an integrated framework combining post-quantum signatures, diverse hybrid signatures, high-entropy key material, quantum-resistant ownership recovery, Hourglass-style spending restrictions, phased legacy signature retirement, and cryptographic agility. 2. Design principles Avoid unnecessary dependence on a single cryptographic assumption. Give legitimate owners sufficient opportunity to migrate. Contain systemic risks from unmigrated assets without unnecessarily destroying them. Require objectively verifiable cryptographic evidence for recovery, not discretionary identity judgments. Preserve monetary supply rules. 3. Post-quantum signatures Evaluate lattice-based signatures (e.g. ML-DSA) and hash-based signatures (e.g. SLH-DSA and Bitcoin-optimized alternatives). BIP-360 provides a potential foundation for future script-based post-quantum spending conditions, but does not itself introduce post-quantum signature verification. Signature size, verification cost, security margins and implementation complexity need review. 4. Hybrid signatures Support optional AND-composed spending conditions requiring signatures from distinct cryptographic families, for example a lattice-based signature AND a hash-based signature, both bound to the same transaction. Subject to correct composition and appropriate security assumptions, compromising one family would not suffice to forge a spend. Evaluate resource costs and common-mode failures. 5. High-entropy key protection Wallet standards should support secure randomness, high-entropy secrets (evaluate a 256-bit entropy target), secure derivation and independent key material for different signature families where appropriate. Avoid undermining hybrid security through shared weak seeds or implementation vulnerabilities. This is primarily a wallet-level concern. 6. Quantum-resistant ownership recovery Explore recovery for eligible legacy UTXOs whose owners retain secret information beyond a potentially compromised individual private key, such as original wallet seed material. A quantum-resistant zero-knowledge proof could potentially demonstrate the required relationship without exposing that secret, binding authorization to a committed post-quantum destination. Soundness, replay protection, front-running, verification cost, and historical wallet compatibility require investigation. Early P2PK outputs may lack any known additional ownership secret. 7. Hourglass-style protection For vulnerable UTXOs lacking secure recovery, consider temporary consensus-enforced aggregate spending limits. Illustrative limits of 1, 0.1 and 0.01 BTC per block correspond to approximately 52,560, 5,256 and 526 BTC annually assuming 144 blocks per day. These are examples, not recommended parameters. This could preserve limited spending opportunities while containing the rate of mass theft. Eligibility must depend on objectively identifiable cryptographic exposure, not speculation about owners' identities or activity. Rate limits cannot distinguish owners from attackers. Fee competition, bypass resistance, miner incentives, denial of service and leakage via fees require analysis. 8. Phased retirement A. Voluntary migration: activate reviewed post-quantum spending capabilities and accessible wallet and custody tools, with a well-publicized transition period. B. Accelerated migration: consider restrictions on creation of new vulnerable outputs and provide secure recovery paths for eligible legacy assets. C. Controlled legacy spending: consider Hourglass restrictions for remaining vulnerable assets lacking recovery. D. Retirement: when legacy authorization is demonstrably unsafe, disable spending paths relying solely on compromised signatures. Preserve affected UTXOs rather than destroying or redistributing them; future consensus upgrades could enable secure recovery if feasible. Retirement criteria and activation mechanisms should be discussed in advance. Publicly observed attacks alone may be inadequate evidence because compromises can remain concealed. 9. Responsibility and governance The ecosystem should provide publicly reviewed standards, secure upgrade mechanisms, accessible migration tools, adequate notice and transition periods. Holders should take responsibility for migrating within the available security window. No central authority should receive discretionary confiscation or redistribution powers. This is a proposed technical responsibility framework, not a legal obligation. 10. Cryptographic agility Future breakthroughs could affect today's post-quantum assumptions. Long-term protocol evolution should allow reviewed introduction of new signature families and retirement of obsolete ones while preserving ownership continuity and monetary rules. 11. Research roadmap Algorithm selection and review; hybrid composition analysis; reference implementations and test vectors; signet/testnet experimentation; wallet integration; legacy recovery research; quantitative evaluation of Hourglass parameters; retirement criteria; activation and migration. A two-to-three-year target for establishing major defensive capabilities could be investigated, but is not a proposed activation deadline and depends on review and consensus. 12. Open questions - Which signature combinations balance security and resource costs? - How can common-mode failures be minimized? - Which historical outputs actually admit secure recovery? - Can aggregate rate limits be implemented without unacceptable miner incentives, fee leakage or denial-of-service effects? - What objective criteria should govern retirement, including the possibility of concealed compromises? - Can recovery preserve ownership continuity without discretionary authorities? - Which components can be deployed through independently reviewed soft forks? 13. Related work BIP-360: https://github.com/bitcoin/bips/blob/master/bip-0360.mediawiki BIP-361: https://github.com/bitcoin/bips/blob/master/bip-0361.mediawiki Hourglass-style legacy output restrictions and post-quantum ownership recovery research. NIST FIPS 204 and FIPS 205. 14. Conclusion The goal is not to claim absolute security or novelty for individual components, but to examine how proactive migration, cryptographic diversity, secure recovery, temporary rate limiting and eventual retirement of compromised signatures could fit together. I would particularly appreciate feedback on whether recovery-first, temporary rate limiting, and eventual retirement can be composed into a coherent transition without sacrificing legitimate ownership unnecessarily. Thank you. -- 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/CABBAQRsun20ZmnszV-r8LRHDehWrDyMLtR2fSfDfxhonSX8t4w%40mail.gmail.com.