From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 24 Nov 2026 07:02:03 -0800 Received: from mail-oa1-f62.google.com ([209.85.160.62]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1xVs1x-000EZd-JO for bitcoindev@gnusha.org; Tue, 24 Nov 2026 07:02:03 -0800 Received: by mail-oa1-f62.google.com with SMTP id 586e51a60fabf-46ac13882ccsf1301332fac.1 for ; Tue, 24 Nov 2026 07:02:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20260707; t=1795532515; x=1796137315; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:content-type :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to:content-type; bh=Gsv9f/x3NuczvXC4qmbjGO/H1SDk3DYg+Ca7NJzBw7A=; b=UYnK7JRPRHQCwY7206Y+AZ5u0GaGkh4dfUpHQDjtBQKBGOPK0Aokae1eTIjQf8GQho vFvyAuk1pOrhanAuvrFLPlSR7EI11Y+TJ0abFM4LDtUYKeByRodIvqCYS8e7AiNnRu7y et3xCEvam8BQbz8JE94xgTVqZN7pIimjLFDti5xLFceUZE5rbm9Qr9pXIZswtp40wZwL /e5q+CXUaMaNoYkrkVQmmaeyscIDpIK9FqxgCiLgjcGQsze/MXZxkflUmD4LrQkVcOC3 4WDl8aESP3PufwSXm/ZXxObBfhlE6mwCG7cediquOESUS+ckZEq9nbcY3bDy5Th9Upku X2PA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795532515; x=1796137315; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:content-type :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to:content-type; bh=Gsv9f/x3NuczvXC4qmbjGO/H1SDk3DYg+Ca7NJzBw7A=; b=wzYyZnhRplDdeUKZZIwamyE2PYQ13NbEUHeIjJB6zeixE7Nx2cy5OHVdfo+BTZhECu yIl2kC6r+dzhzWgRjfVUHm48GT7OrfuPs8phYPxLYqG0wcYLRdUR2uKW5rpZ1QqBvaVR 4lpnMZUfLxVwyO9tS7HmzD3vdGlBc5wd8Q3zjl7GouaM+NrkTn3vR/8rfGTRimaDaK/V kiEE+ATWte5mHcZWiZB9BaLQzhXGJvx+2hThBjmFiwcAp5c9+ZGG7nvIl8DtM43/65JJ pdAETTU40nn0dChkj1wmJZddvUnsvoTcJWvRj2sn6fqu0qo60LMOReLH5EntvFp06Rlk yW+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795532515; x=1796137315; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:content-type :mime-version:subject:references:in-reply-to:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Gsv9f/x3NuczvXC4qmbjGO/H1SDk3DYg+Ca7NJzBw7A=; b=b9p2NWsTa7TM13Cy3AcU1U7HVrbGgl2KwwSfidjg8+iHwBQOQqRasOI48wEOVrjV5M ZWzcgezWDgnP/eNsvOYAl3usbYWzG5IVe1d/fONBTbWk4+r2Pmv9DYFjQwUuZJuRpcb+ Xk8duym44umsB1QIwbZLUvNv7KsxWKcllAvx5uTbnzc8KPRStTzYhpBfRPdENkGhMquN 1PDgl0Atf312V0RFMPyku8C/jk6+sDV/XCtrza2jruNLGCeThQUH9chnhupF4iUBE5+z oU6CidJe4wuU8dYvArqkvcFE4RezASubmdO99bILGl5KlZ8gDkTHJRhAtsfWSMUqIdeO 2o/w== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=1; AL+hErGew8WgspZAJ3VQ0KBBufO+NGbE0qpHOUf0LNhn5CdQYdQwRgyKeF4M+3ZuKOmZ2CCKuBwpdEmF2iqN@gnusha.org X-Gm-Message-State: APuU4Z+ISsJaGtSsmI1/Qr/Ez4sLI+/wicP+QNj+YXi5WzkOhyTQxlrT D56c7YsL9Odlr7RnBDiPHOq4h+5EWiCHB5bd/vTCRip2ONixWpHvNmoB X-Received: by 2002:a05:6870:ef86:b0:4ad:66eb:ca2 with SMTP id 586e51a60fabf-4bc853fdccemr13589079fac.30.1795532515373; Tue, 24 Nov 2026 07:01:55 -0800 (PST) X-BeenThere: bitcoindev@googlegroups.com; h="ATskLddygwzIPSrpVPwxz7yJcT5/7GaNjGhfmQVjtJdKHV1Ryg==" Received: by 2002:a05:687c:22c5:20b0:479:e31:7dc5 with SMTP id 586e51a60fabf-4bca8933759ls3394623fac.1.-pod-prod-07-us; Tue, 24 Nov 2026 07:01:48 -0800 (PST) X-Received: by 2002:a05:6808:6413:b0:4d6:90d3:e183 with SMTP id 5614622812f47-57a0b44f65fmr14248409b6e.44.1795532508579; Tue, 24 Nov 2026 07:01:48 -0800 (PST) Received: by 2002:a05:690c:4006:b0:8b5:3563:9472 with SMTP id 00721157ae682-8b53572dd13ms7b3; Tue, 24 Nov 2026 07:00:14 -0800 (PST) X-Received: by 2002:a05:690c:9b13:b0:8b3:47fd:a021 with SMTP id 00721157ae682-8b5204dd365mr55068997b3.75.1795532413430; Tue, 24 Nov 2026 07:00:13 -0800 (PST) Date: Tue, 24 Nov 2026 07:00:13 -0800 (PST) From: Mikhail Kudinov To: Bitcoin Development Mailing List Message-Id: In-Reply-To: References: <-w8D4WbD7zY2bfYQIES40iBZQWbZx6ab-S6EW8tWsMEFaHO9NEOLUkte_MZZgNQDd0pljCM2wD1Ccnk3BfjwLPgCiVz-NfTwjHJ4aZHUqUw=@proton.me> <2fb38fb8-2584-4550-b268-ee7138de419bn@googlegroups.com> <70cc8e00-e4fd-46de-b9b4-27bc39bfcbe8@murch.one> Subject: Re: [bitcoindev] Re: SHRINCS: an efficient hash-based signature scheme for Bitcoin (first draft) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_641500_349596349.1795532413131" X-Original-Sender: mishel.kudinov@gmail.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 (/) ------=_Part_641500_349596349.1795532413131 Content-Type: multipart/alternative; boundary="----=_Part_641501_1729704175.1795532413131" ------=_Part_641501_1729704175.1795532413131 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi everyone, This is an update on the progress of the security analysis of SHRINCS. We have posted the first version of the security analysis of=20 SHRINCS: https://github.com/SHRINCS/Security-Analysis The repository has three papers: - SHRINCS Security Analysis (the main paper). The full specification of=20 SHRINCS and its EU-CMA security proof. We reduce the security of SHRINCS to= =20 the properties of the underlying tweakable hash functions, message-digest= =20 functions and PRFs, and evaluate the bounds for classical and quantum=20 adversaries. - ITSR without reprogramming. A classical bound for interleaved target=20 subset resilience, the property of the message hash that protects FORS. - Undetectability. A quadratic quantum bound 4=F0=9D=91=9E2/|=F0=9D=91=80| = for multi-target=20 undetectability, in place of the linear bound 12=F0=9D=91=9E/=F0=9D=91=A0= =F0=9D=91=9E=F0=9D=91=9F=F0=9D=91=A1|=F0=9D=91=80| known=20 before. The last two results are not specific to SHRINCS. They apply to SPHINCS+=20 and SLH-DSA as well, so we put them in separate papers. It is a lot of pages=E2=80=A6 SHRINCS has a stateful part (FXMSS with WOTS+C) and a stateless fallback=20 (SLH-DSA) under one public key, and both use the same hash function. So we= =20 cannot just combine the security of the two parts as black boxes. The proof= =20 opens both component proofs, and lets the reductions for one path simulate= =20 the other path. The signer can choose the shape of the stateful tree, so=20 the bound has to hold for every shape. On top of that, the paper contains= =20 the full specification, every step is written as an explicit game hop with= =20 its exact loss, and every bound is evaluated for the proposed parameters. What we found along the way - The cost of the reduction. The tight SPHINCS+ theorem of the earlier=20 paper [HK22] states its hash-function terms at the running time of the=20 forger, but its reductions build the whole virtual hypertree. At the =E2=84= =8E =3D63=20 parameter sets of FIPS 205 this is more than 272 hash evaluations. If we=20 charge this work, it alone sets a security bound at about 2=E2=88=9252, alr= eady for=20 classical adversaries. We fix the accounting with a collection oracle=20 (Sections 4.3 and 5) and restate the SPHINCS+ bound under it. - Reprogramming. Both paths share a single reprogramming step, and we bound= =20 it more sharply. Compared with the generic reprogramming bounds, this adds= =20 34 bits classically on the stateless path and 33.4 bits for the full scheme= . - Concrete numbers. For the proposed parameters, the bounds give between=20 121.4 and 122.7 bits classically (in the query-counting sense of Section=20 5.1). Quantumly, they reach 1 at 2^58.0 to 2^59.2 hash queries. These numbers rest on three conjectures (Section 1.2 and Section 7): a=20 bound for SM-DSPR; that the collection-oracle lemma, which we prove for=20 ideal hash functions, transfers to the concrete ones; and that the counter= =20 search of the WOTS+C signer always succeeds within its 2^16 counters. We encourage everyone to review the analysis. These are drafts. They have not been sufficiently peer reviewed yet, and a= =20 proof of this size can have mistakes. We would be grateful for any review= =20 of the statements, the proofs and the concrete figures. If you find a=20 problem, please open an issue in the repository or reply here. There is also ongoing work on a Lean 4 formalization of the three documents= =20 by Kev (kevaundray): https://github.com/SHRINCS/Security-Analysis/pull/1. Thank you :)=20 =D1=81=D1=83=D0=B1=D0=B1=D0=BE=D1=82=D0=B0, 19 =D1=81=D0=B5=D0=BD=D1=82=D1= =8F=D0=B1=D1=80=D1=8F 2026=E2=80=AF=D0=B3. =D0=B2 04:47:12 UTC+2, conduitio= n:=20 > Hey Murch, > > That's great news for us if GFMD is acceptable. I have made a note in the= =20 > appropriate issue: https://github.com/SHRINCS/shrincs-bip/issues/21 > > Before we submit a PR though, we would still like some time to review=20 > public feedback and assess whether any significant changes should be made= =20 > to the SHRINCS BIP draft before we PR it into the BIPs repo. > > Some off-thread feedback I feel obliged to share: > > - https://x.com/P3b7_/status/2100243609861693898 > - https://x.com/projecteleven/status/2093450676529774992 > > > regards, > conduition > > > > > > On Tuesday, September 15th, 2026 at 4:12 PM, Murch wrot= e: > > > Hey Conduition, > >=20 > > > the reason for that comment was that if we ever move the BIPs to a > > different platform, GitHub-flavored Markdown features may break. > > However, it has gotten drastically cheaper to amend such issues in > > documents, so if that=E2=80=99s the only reason you=E2=80=99re eyeing a= translation to a > > different format, please feel free to submit the Markdown instead. > >=20 > > > Cheers, > > Murch > >=20 > > > On 2026-09-13 15:25, 'conduition' via Bitcoin Development Mailing List > > wrote: > > > Hey Murch, and thanks for confirming. We were under the impression=20 > BIP3 recommends standard (non-flavored) markdown: > > > > > > > > >> The author of this proposal has no opinion on Markdown flavors, but= =20 > recommends that proposals stick to the basic Markdown syntax features=20 > commonly shared across Markdown dialects. > > > At the moment we're using features of github flavored markdown in a= =20 > number of places. > > > > > > regards, > > > conduition > > > > > > On Friday, September 11th, 2026 at 5:57 PM, Murch = =20 > wrote: > > > > > >> Hi Conduition et al, > > >> > > >> I=E2=80=99m excited that your draft has progressed this far. Please = feel free=20 > to > > >> open a PR to the BIPs repository whenever you=E2=80=99re ready to do= so.=20 > Please > > >> note that we accept submissions using either MediaWiki or Markdown,= =20 > so a > > >> conversion to MediaWiki format is not necessary. For either document > > >> type, GitHub makes an outline/navigation available by clicking the > > >> =E2=80=9COutline=E2=80=9D button at the right end of the bar above t= he document=20 > content. > > >> > > >> Cheers, > > >> Murch > > >> > > >> On 2026-09-04 09:07, 'conduition' via Bitcoin Development Mailing Li= st > > >> wrote: > > >>> Thanks for your reply Antoine. > > >>> > > >>> You're correct that we do not specify cost accounting. The SHRINCS= =20 > BIP > > >>> is currently purely cryptographic, and agnostic to how or where it = is > > >>> deployed. The role is meant to be analogous to BIP340: Specifying t= he > > >>> signature scheme, key formats, and usage invariants, and nothing=20 > else. > > >>> > > >>> For SHRINCS to be used on Bitcoin, we would also need an additional= =20 > BIP > > >>> that deploys SHRINCS into consensus somehow, and that BIP would nee= d=20 > to > > >>> handle size/compute cost accounting. > > >>> > > >>> > So it's a 90x-ish of the operational cost for the fee-bumping > > >>> reserves all those protocols might have to keep > > >>> > > >>> The stateless SHRINCS signature is 90x larger than Schnorr, but tha= t > > >>> doesn't translate directly to a 90x fee cost increase in real-world > > >>> usage, even in the absence of a further witness discount. You have = to > > >>> account for the transaction weight too. > > >>> > > >>> Example: 2-input 2-ouput transaction: > > >>> - P2TR + Schnorr: 178 non-witness bytes + 64 x 2 witness bytes. Tot= al > > >>> weight: 178*4 + 128 =3D *840 WU* > > >>> - P2MR + SHRINCS (stateless): 178 non-witness bytes + 5857 x 2=20 > witness > > >>> bytes. Total weight: *12426 WU*. > > >>> - Difference: ~*14.8x* > > >>> > > >>> Then you also need to account for the change in the fee market. If > > >>> SHRINCS were in common usage with no block size increase or witness > > >>> discount, it's reasonable to assume the fee market would inflate=20 > because > > >>> network throughput will have dropped. I can't conjecture on how hig= h=20 > fee > > >>> rates might escalate in this scenario... I suppose it depends on ho= w > > >>> many people are able to use the stateful component, or if any other= =20 > PQ > > >>> signature algorithms are available at the time (such as=20 > Falcon/ML-DSA/ > > >>> SQIsign). > > >>> > > >>> > By the way, there is no table of content in your document. > > >>> > > >>> Thanks for the note, this will be populated automatically once we > > >>> convert the document to mediawiki. > > >>> > > >>> regards, > > >>> conduition > > >>> > > >>> On Monday, August 31, 2026 at 4:34:50=E2=80=AFPM UTC-7 Antoine Riar= d wrote: > > >>> > > >>> Hello Conduition, > > >>> > > >>> From a first read of the document, there is nothing so far > > >>> on the signature mode of accounting. If we go for an usage > > >>> of stateless for off-chain second-stage txn, be it lightning, > > >>> vault, whatever as one might wish to replicate them on many > > >>> towers and not have to synchronize state management, that's > > >>> 5777 bytes... > > >>> > > >>> So it's a 90x-ish of the operational cost for the fee-bumping > > >>> reserves all those protocols might have to keep...Of course > > >>> we might still go for falcon or whatever, which is more compact, > > >>> or the other way discount severely those fields, at the other > > >>> downside of increasing the DoS surface of validating nodes. > > >>> > > >>> By the way, there is no table of content in your document. > > >>> > > >>> Thanks for the work overall, it's very interesting. > > >>> > > >>> Best, > > >>> Antoine > > >>> OTS hash: > > >>> 53902c7451df74e4046766d6df268b6aaae2916f1b3c6792880659e3efe56777 > > >>> > > >>> Le Wednesday, August 26, 2026 =C3=A0 10:38:01=E2=80=AFPM UTC+1, con= duition a=20 > =C3=A9crit : > > >>> > > >>> Hi everyone, it's me again. > > >>> > > >>> On behalf of the SHRINCS Working Group, I am excited to announce > > >>> a first draft of a cryptographic BIP that fully specifies > > >>> SHRINCS: A semi-stateful hash-based signature scheme for Bitcoin. > > >>> > > >>> https://github.com/SHRINCS/shrincs-bip/blob/main/SHRINCS.md > > >>> > > >>> > > >>> /Disclaimer: Do NOT use in production. SHRINCS is prototype > > >>> cryptography, still in need of peer review. Formal security > > >>> proofs are WIP. > > >>> / > > >>> Features > > >>> > > >>> SHRINCS offers: > > >>> > > >>> * *Compactness*. SHRINCS public keys are 48 bytes. Stateful > > >>> signatures are 548 bytes at the smallest, with a stateless > > >>> fallback component built into every key pair by default that > > >>> produces larger 5777-byte signatures. > > >>> * *NIST-I security (~128-bit classical and ~64-bit post- > > >>> quantum)*. SHRINCS' security depends only on properties of > > >>> the (truncated) SHA256 hash function which are believed to > > >>> be post-quantum-secure. > > >>> * *Fast verification performance*. Amortized on a per-byte > > >>> basis, SHRINCS signatures are 4x-16x faster to verify than > > >>> BIP340 Schnorr depending on whether SHA256 hardware > > >>> acceleration is available. At worst, verification costs 2792 > > >>> SHA256 compressions with a 5777 byte stateless signature. > > >>> * *Flexibility*. SHRINCS allows signers to control the shape > > >>> and size of their stateful keypair to best suit their use- > > >>> case, while SHRINCS' stateful verifier is agnostic to > > >>> signer-side choices and contains only a single code path to > > >>> be scrutinized and optimized. > > >>> * *Good incentives*. SHRINCS with UXMSS provides the most > > >>> compact signatures possible within the scheme, and the > > >>> signatures grow as a key is reused. If SHRINCS comes into > > >>> common use, users will be economically incentivized not to > > >>> reuse addresses. Address reuse would still be possible, > > >>> either via stateful BXMSS keys, or via the stateless component. > > >>> > > >>> > > >>> Drawbacks > > >>> > > >>> SHRINCS has drawbacks: > > >>> > > >>> * The efficient stateful component requires software that can > > >>> manage an incrementing state counter (essentially the number > > >>> of signatures issued) for each keypair. If wallet software > > >>> accidentally reuses the same state counter on two distinct > > >>> signatures under a key, any adversary who observed both > > >>> signatures can forge a new one. > > >>> * The key generation and signing algorithms are > > >>> computationally expensive - Though this can be mitigated > > >>> using SIMD, parallism, or hardware acceleration techniques. > > >>> * SHRINCS lacks any algebraic structure allowing for public > > >>> key rerandomization (to admit BIP32-style xpubs), > > >>> multisignature schemes (like MuSig), etc, in contrast to > > >>> feature-rich cryptosystems like Schnorr. > > >>> > > >>> > > >>> Changes > > >>> > > >>> This new specification is the evolution and formalization of > > >>> ideas originally put forward by Jonas Nick and Mikhail Kudinov > > >>> inthis Delving thread > >>> byte-stateful-post-quantum-signatures-with-static- > > >>> backups/2158> and intheir joint paper > >>> eprint.iacr.org/2025/2203.pdf>referenced therein. Also seethis > > >>> related mailing list thread > >>> bitcoindev/c/gOfL5ag_bDU/>. > > >>> > > >>> Notable changes since the original proposals 8+ months ago include: > > >>> > > >>> * *Black-box compatibility with SLH-DSA (FIPS-205) > > >>> algorithms*. This encourages interoperability with non- > > >>> Bitcoin systems, and leans into established security proofs. > > >>> * *Flexible XMSS (FXMSS)*. Prior descriptions of SHRINCS > > >>> implied only unbalanced stateful trees were allowed. We now > > >>> allow stateful trees of any structure. > > >>> * *New parameter sets*. The stateless component now uses a > > >>> parameter set allowing at most 2^40 stateless signatures, > > >>> rather than 2^20. This allows SHRINCS to be useful > > >>> for protocols that require high-frequency signing, such as > > >>> Lightning. The stateful component now uses parameters which > > >>> offer much faster performance (at the cost of larger > > >>> signatures) compared to the original proposal. > > >>> > > >>> > > >>> Status > > >>> > > >>> This initial draft specification contains only the cryptography > > >>> of the SHRINCS scheme, decoupled from consensus validation > > >>> rules. Further BIPs would be required to deploy the SHRINCS > > >>> signature scheme on Bitcoin. Notably, we cannot safely deploy > > >>> SHRINCS without introducing at least one new output type, which > > >>> we do not define in this BIP. > > >>> > > >>> The draft BIP-SHRINCS is not ready to be submitted to the BIPs > > >>> repository yet. We still have much work to do. Notably absent > > >>> from this draft are: > > >>> > > >>> * Test vectors > > >>> * Unit tests > > >>> > > >>> * A security proof > > >>> > > >>> * An optimized implementation > > >>> * Mediawiki or Markdown format compliance > > >>> > > >>> > > >>> We are posting here to seek review of SHRINCS' design, > > >>> parameters, cryptography, and reference code, primarily for > > >>> security, correctness, compatibility, consistency, and clarity, > > >>> in that order. Insightful reviews will be highly appreciated and > > >>> met with positive vibes and beers at the next conference :) > > >>> > > >>> We also hope that seeing a concrete specification will spur > > >>> further discussion of related problems, such as how PQ HD > > >>> wallets will work, and how to handle user experience of a semi- > > >>> stateful signing scheme. > > >>> > > >>> We note that SHRINCS' parameters offer a complex multi- > > >>> dimensional trade-off space between performance and signature > > >>> size. The choice of parameter set therefore seems ripe for > > >>> bikeshedding. We provide a forum for parameter set discussion > > >>> here , but we > > >>> encourage prospective cyclists to first read the relevant > > >>> sections of thedesign rationale > >>> shrincs-bip/blob/main/SHRINCS.md#rationale>, and invite readers > > >>> to also play with our interactive stateless > >>> blockstreamresearch.github.io/SPHINCS-Parameters/site/ > > >>> stateless.html> and stateful > >>> blockstreamresearch.github.io/SPHINCS-Parameters/site/ > > >>> stateful.html> parameter set exploration tools. > > >>> > > >>> Those who prefer video format may be interested in this > > >>> interview discussing the internals of SHRINCS: https://youtu.be/ > > >>> n-jGPICZMR0?si=3DNpfyTRB88-sUxtlh > >>> si=3DNpfyTRB88-sUxtlh> > > >>> > > >>> Related Work > > >>> > > >>> We are building libshrincs > >>> libshrincs>, an attempt at a formally verified C implementation. > > >>> One machine-checked Rocq theorem > > >>> covers WOTS+C, the one-time signature in FXMSS: honest > > >>> signatures verify, the linked C implements its four public > > >>> contracts under CompCert's semantics (VST > >>> vst.cs.princeton.edu/>), and forging costs breaking truncated > > >>> SHA256 (SSProve ). Still a > > >>> prototype, more detail on Delving > >>> libshrincs-a-c-implementation-with-a-machine-checked-security- > > >>> proof/2795>. > > >>> > > >>> Acknowledgements > > >>> > > >>> The SHRINCS specification is the result of several months' > > >>> collaboration between contributors across multiple > > >>> organizations. The SHRINCS Working Group is, in alphabetical order: > > >>> > > >>> - Mike Casey (OpenChain) > > >>> - Conduition (Brink) > > >>> - Ethan Heilman (Cloudflare) > > >>> - Mikhail Kudinov (Blockstream) > > >>> - Oleksandr Kurbatov (Blockstream) > > >>> - Boris Nagaev (Independent) > > >>> - Jonas Nick (Blockstream) > > >>> - remix7531 (OpenSats) > > >>> > > >>> // > > >>> regards, > > >>> conduition > > >>> > > >>> -- > > >>> 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,= =20 > send > > >>> an email to bitcoindev+...@googlegroups.com > > >>> . > > >>> To view this discussion visit https://groups.google.com/d/msgid/ > > >>> bitcoindev/2fb38fb8-2584-4550-b268-ee7138de419bn%40googlegroups.com > > >>> < > https://groups.google.com/d/msgid/bitcoindev/2fb38fb8-2584-4550-b268- > > >>> ee7138de419bn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfo= oter > >. > > >> -- > > >> You received this message because you are subscribed to the Google= =20 > Groups "Bitcoin Development Mailing List" group. > > >> To unsubscribe from this group and stop receiving emails from it,=20 > send an email to bitcoindev+...@googlegroups.com. > > >> To view this discussion visit=20 > https://groups.google.com/d/msgid/bitcoindev/c0ff85ab-2b8b-4aea-8a04-e0e8= a6be7c94%40murch.one > . > > >> > >=20 > > > -- > > You received this message because you are subscribed to the Google=20 > Groups "Bitcoin Development Mailing List" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email to bitcoindev+...@googlegroups.com. > > To view this discussion visit=20 > https://groups.google.com/d/msgid/bitcoindev/70cc8e00-e4fd-46de-b9b4-27bc= 39bfcbe8%40murch.one > . > >=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 e= mail to bitcoindev+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/= cf6a2879-299c-45dc-bd35-b0acff41c7f3n%40googlegroups.com. ------=_Part_641501_1729704175.1795532413131 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi everyone,

This is an update on the progress of the security a= nalysis of SHRINCS.
We have posted the first version of the security a= nalysis of SHRINCS:=C2=A0https://github.com/SHRINCS/Security-Analysis
=
The repository has three papers:
- SHRINCS Security Analysis (th= e main paper). The full specification of SHRINCS and its EU-CMA security pr= oof. We reduce the security of SHRINCS to the properties of the underlying = tweakable hash functions, message-digest functions and PRFs, and evaluate t= he bounds for classical and quantum adversaries.
- ITSR without reprog= ramming. A classical bound for interleaved target subset resilience, the pr= operty of the message hash that protects FORS.
- Undetectability. A qu= adratic quantum bound 4=F0=9D=91=9E2/|=F0=9D=91=80| for multi-target undete= ctability, in place of the linear bound 12=F0=9D=91=9E/=F0=9D=91=A0=F0=9D= =91=9E=F0=9D=91=9F=F0=9D=91=A1|=F0=9D=91=80| known before.
The last tw= o results are not specific to SHRINCS. They apply to SPHINCS+ and SLH-DSA a= s well, so we put them in separate papers.

It is a lot of pages= =E2=80=A6

SHRINCS has a stateful part (FXMSS with WOTS+C) and a = stateless fallback (SLH-DSA) under one public key, and both use the same ha= sh function. So we cannot just combine the security of the two parts as bla= ck boxes. The proof opens both component proofs, and lets the reductions fo= r one path simulate the other path. The signer can choose the shape of the = stateful tree, so the bound has to hold for every shape. On top of that, th= e paper contains the full specification, every step is written as an explic= it game hop with its exact loss, and every bound is evaluated for the propo= sed parameters.

What we found along the way
- The cost of t= he reduction. The tight SPHINCS+ theorem of the earlier paper [HK22] states= its hash-function terms at the running time of the forger, but its reducti= ons build the whole virtual hypertree. At the =E2=84=8E =3D63 parameter set= s of FIPS 205 this is more than 272 hash evaluations. If we charge this wor= k, it alone sets a security bound at about 2=E2=88=9252, already for classi= cal adversaries. We fix the accounting with a collection oracle (Sections 4= .3 and 5) and restate the SPHINCS+ bound under it.
- Reprogramming. Bo= th paths share a single reprogramming step, and we bound it more sharply. C= ompared with the generic reprogramming bounds, this adds 34 bits classicall= y on the stateless path and 33.4 bits for the full scheme.
- Concrete = numbers. For the proposed parameters, the bounds give between 121.4 and 122= .7 bits classically (in the query-counting sense of Section 5.1). Quantumly= , they reach 1 at 2^58.0 to 2^59.2 hash queries.

These numbers r= est on three conjectures (Section 1.2 and Section 7): a bound for SM-DSPR; = that the collection-oracle lemma, which we prove for ideal hash functions, = transfers to the concrete ones; and that the counter search of the WOTS+C s= igner always succeeds within its 2^16 counters.

We encourage eve= ryone to review the analysis.
These are drafts. They have not been suf= ficiently peer reviewed yet, and a proof of this size can have mistakes. We= would be grateful for any review of the statements, the proofs and the con= crete figures. If you find a problem, please open an issue in the repositor= y or reply here.
There is also ongoing work on a Lean 4 formalization = of the three documents by Kev (kevaundray): https://github.com/SHRINCS/Secu= rity-Analysis/pull/1.

Thank you :)=C2=A0

=D1=81=D1=83=D0=B1= =D0=B1=D0=BE=D1=82=D0=B0, 19 =D1=81=D0=B5=D0=BD=D1=82=D1=8F=D0=B1=D1=80=D1= =8F 2026=E2=80=AF=D0=B3. =D0=B2 04:47:12 UTC+2, conduition:
Hey Murch,

That's great news for us if GFMD is acceptable. I have made a note = in the appropriate issue: https://github.com/SHRINCS/shrincs-bip/issues/21

Before we submit a PR though, we would still like some time to review p= ublic feedback and assess whether any significant changes should be made to= the SHRINCS BIP draft before we PR it into the BIPs repo.

Some off-thread feedback I feel obliged to share:

-
https://x.com/P3b7_/status/2100243609861693898
- https://x.com/projecteleven/status/2093450676529774992


regards,
conduition





On Tuesday, September 15th, 2026 at 4:12 PM, Murch <mu...@murch.one&= gt; wrote:

> Hey Conduition,
>=20

> the reason for that comment was that if we ever move the BIPs to a
> different platform, GitHub-flavored Markdown features may break.
> However, it has gotten drastically cheaper to amend such issues in
> documents, so if that=E2=80=99s the only reason you=E2=80=99re eye= ing a translation to a
> different format, please feel free to submit the Markdown instead.
>=20

> Cheers,
> Murch
>=20

> On 2026-09-13 15:25, 'conduition' via Bitcoin Development = Mailing List
> wrote:
> > Hey Murch, and thanks for confirming. We were under the impre= ssion BIP3 recommends standard (non-flavored) markdown:
> >
> >
> >> The author of this proposal has no opinion on Markdown fl= avors, but recommends that proposals stick to the basic Markdown syntax fea= tures commonly shared across Markdown dialects.
> > At the moment we're using features of github flavored mar= kdown in a number of places.
> >
> > regards,
> > conduition
> >
> > On Friday, September 11th, 2026 at 5:57 PM, Murch <mu...@m= urch.one> wrote:
> >
> >> Hi Conduition et al,
> >>
> >> I=E2=80=99m excited that your draft has progressed this f= ar. Please feel free to
> >> open a PR to the BIPs repository whenever you=E2=80=99re = ready to do so. Please
> >> note that we accept submissions using either MediaWiki or= Markdown, so a
> >> conversion to MediaWiki format is not necessary. For eith= er document
> >> type, GitHub makes an outline/navigation available by cli= cking the
> >> =E2=80=9COutline=E2=80=9D button at the right end of the = bar above the document content.
> >>
> >> Cheers,
> >> Murch
> >>
> >> On 2026-09-04 09:07, 'conduition' via Bitcoin Dev= elopment Mailing List
> >> wrote:
> >>> Thanks for your reply Antoine.
> >>>
> >>> You're correct that we do not specify cost accoun= ting. The SHRINCS BIP
> >>> is currently purely cryptographic, and agnostic to ho= w or where it is
> >>> deployed. The role is meant to be analogous to BIP340= : Specifying the
> >>> signature scheme, key formats, and usage invariants, = and nothing else.
> >>>
> >>> For SHRINCS to be used on Bitcoin, we would also need= an additional BIP
> >>> that deploys SHRINCS into consensus somehow, and that= BIP would need to
> >>> handle size/compute cost accounting.
> >>>
> >>> > So it's a 90x-ish of the operational cost = for the fee-bumping
> >>> reserves all those protocols might have to keep
> >>>
> >>> The stateless SHRINCS signature is 90x larger than Sc= hnorr, but that
> >>> doesn't translate directly to a 90x fee cost incr= ease in real-world
> >>> usage, even in the absence of a further witness disco= unt. You have to
> >>> account for the transaction weight too.
> >>>
> >>> Example: 2-input 2-ouput transaction:
> >>> - P2TR + Schnorr: 178 non-witness bytes + 64 x 2 witn= ess bytes. Total
> >>> weight: 178*4 + 128 =3D *840 WU*
> >>> - P2MR + SHRINCS (stateless): 178 non-witness bytes += 5857 x 2 witness
> >>> bytes. Total weight: *12426 WU*.
> >>> - Difference: ~*14.8x*
> >>>
> >>> Then you also need to account for the change in the f= ee market. If
> >>> SHRINCS were in common usage with no block size incre= ase or witness
> >>> discount, it's reasonable to assume the fee marke= t would inflate because
> >>> network throughput will have dropped. I can't con= jecture on how high fee
> >>> rates might escalate in this scenario... I suppose it= depends on how
> >>> many people are able to use the stateful component, o= r if any other PQ
> >>> signature algorithms are available at the time (such = as Falcon/ML-DSA/
> >>> SQIsign).
> >>>
> >>> > By the way, there is no table of content in yo= ur document.
> >>>
> >>> Thanks for the note, this will be populated automatic= ally once we
> >>> convert the document to mediawiki.
> >>>
> >>> regards,
> >>> conduition
> >>>
> >>> On Monday, August 31, 2026 at 4:34:50=E2=80=AFPM UTC-= 7 Antoine Riard wrote:
> >>>
> >>> Hello Conduition,
> >>>
> >>> From a first read of the document, there is not= hing so far
> >>> on the signature mode of accounting. If we go fo= r an usage
> >>> of stateless for off-chain second-stage txn, be = it lightning,
> >>> vault, whatever as one might wish to replicate t= hem on many
> >>> towers and not have to synchronize state managem= ent, that's
> >>> 5777 bytes...
> >>>
> >>> So it's a 90x-ish of the operational cost fo= r the fee-bumping
> >>> reserves all those protocols might have to keep.= ..Of course
> >>> we might still go for falcon or whatever, which = is more compact,
> >>> or the other way discount severely those fields,= at the other
> >>> downside of increasing the DoS surface of valida= ting nodes.
> >>>
> >>> By the way, there is no table of content in your= document.
> >>>
> >>> Thanks for the work overall, it's very inter= esting.
> >>>
> >>> Best,
> >>> Antoine
> >>> OTS hash:
> >>> 53902c7451df74e4046766d6df268b6aaae2916f1b3c6792= 880659e3efe56777
> >>>
> >>> Le Wednesday, August 26, 2026 =C3=A0 10:38:01=E2= =80=AFPM UTC+1, conduition a =C3=A9crit :
> >>>
> >>> Hi everyone, it's me again.
> >>>
> >>> On behalf of the SHRINCS Working Group, I am= excited to announce
> >>> a first draft of a cryptographic BIP that fu= lly specifies
> >>> SHRINCS: A semi-stateful hash-based signatur= e scheme for Bitcoin.
> >>>
> >>> https://github.com/SHRIN= CS/shrincs-bip/blob/main/SHRINCS.md
> >>> <https://github.com/S= HRINCS/shrincs-bip/blob/main/SHRINCS.md>
> >>>
> >>> /Disclaimer: Do NOT use in production. SHRIN= CS is prototype
> >>> cryptography, still in need of peer review. = Formal security
> >>> proofs are WIP.
> >>> /
> >>> Features
> >>>
> >>> SHRINCS offers:
> >>>
> >>> * *Compactness*. SHRINCS public keys are 4= 8 bytes. Stateful
> >>> signatures are 548 bytes at the smallest= , with a stateless
> >>> fallback component built into every key = pair by default that
> >>> produces larger 5777-byte signatures.
> >>> * *NIST-I security (~128-bit classical and= ~64-bit post-
> >>> quantum)*. SHRINCS' security depends= only on properties of
> >>> the (truncated) SHA256 hash function whi= ch are believed to
> >>> be post-quantum-secure.
> >>> * *Fast verification performance*. Amortiz= ed on a per-byte
> >>> basis, SHRINCS signatures are 4x-16x fas= ter to verify than
> >>> BIP340 Schnorr depending on whether SHA2= 56 hardware
> >>> acceleration is available. At worst, ver= ification costs 2792
> >>> SHA256 compressions with a 5777 byte sta= teless signature.
> >>> * *Flexibility*. SHRINCS allows signers to= control the shape
> >>> and size of their stateful keypair to be= st suit their use-
> >>> case, while SHRINCS' stateful verifi= er is agnostic to
> >>> signer-side choices and contains only a = single code path to
> >>> be scrutinized and optimized.
> >>> * *Good incentives*. SHRINCS with UXMSS pr= ovides the most
> >>> compact signatures possible within the s= cheme, and the
> >>> signatures grow as a key is reused. If S= HRINCS comes into
> >>> common use, users will be economically i= ncentivized not to
> >>> reuse addresses. Address reuse would sti= ll be possible,
> >>> either via stateful BXMSS keys, or via t= he stateless component.
> >>>
> >>>
> >>> Drawbacks
> >>>
> >>> SHRINCS has drawbacks:
> >>>
> >>> * The efficient stateful component require= s software that can
> >>> manage an incrementing state counter (es= sentially the number
> >>> of signatures issued) for each keypair. = If wallet software
> >>> accidentally reuses the same state count= er on two distinct
> >>> signatures under a key, any adversary wh= o observed both
> >>> signatures can forge a new one.
> >>> * The key generation and signing algorithm= s are
> >>> computationally expensive - Though this = can be mitigated
> >>> using SIMD, parallism, or hardware accel= eration techniques.
> >>> * SHRINCS lacks any algebraic structure al= lowing for public
> >>> key rerandomization (to admit BIP32-styl= e xpubs),
> >>> multisignature schemes (like MuSig), etc= , in contrast to
> >>> feature-rich cryptosystems like Schnorr.
> >>>
> >>>
> >>> Changes
> >>>
> >>> This new specification is the evolution and = formalization of
> >>> ideas originally put forward by Jonas Nick a= nd Mikhail Kudinov
> >>> inthis Delving thread <https://delvingbitcoin.org/t/shrin= cs-324-
> >>> byte-stateful-post-quantum-signatures-with-s= tatic-
> >>> backups/2158> and intheir joint paper <= ;https://
> >>> eprint.iacr.org/2025/2203.pdf>referenced therein. Also seethis
> >>> related mailing list thread <https://groups.google.com/g/
> >>> bitcoindev/c/gOfL5ag_bDU/>.
> >>>
> >>> Notable changes since the original proposals= 8+ months ago include:
> >>>
> >>> * *Black-box compatibility with SLH-DSA (F= IPS-205)
> >>> algorithms*. This encourages interoperab= ility with non-
> >>> Bitcoin systems, and leans into establis= hed security proofs.
> >>> * *Flexible XMSS (FXMSS)*. Prior descripti= ons of SHRINCS
> >>> implied only unbalanced stateful trees w= ere allowed. We now
> >>> allow stateful trees of any structure.
> >>> * *New parameter sets*. The stateless comp= onent now uses a
> >>> parameter set allowing at most 2^40 stat= eless signatures,
> >>> rather than 2^20. This allows SHRINCS to= be useful
> >>> for protocols that require high-frequenc= y signing, such as
> >>> Lightning. The stateful component now us= es parameters which
> >>> offer much faster performance (at the co= st of larger
> >>> signatures) compared to the original pro= posal.
> >>>
> >>>
> >>> Status
> >>>
> >>> This initial draft specification contains on= ly the cryptography
> >>> of the SHRINCS scheme, decoupled from consen= sus validation
> >>> rules. Further BIPs would be required to dep= loy the SHRINCS
> >>> signature scheme on Bitcoin. Notably, we can= not safely deploy
> >>> SHRINCS without introducing at least one new= output type, which
> >>> we do not define in this BIP.
> >>>
> >>> The draft BIP-SHRINCS is not ready to be sub= mitted to the BIPs
> >>> repository yet. We still have much work to d= o. Notably absent
> >>> from this draft are:
> >>>
> >>> * Test vectors
> >>> * Unit tests
> >>>
> >>> * A security proof
> >>>
> >>> * An optimized implementation
> >>> * Mediawiki or Markdown format compliance
> >>>
> >>>
> >>> We are posting here to seek review of SHRINC= S' design,
> >>> parameters, cryptography, and reference code= , primarily for
> >>> security, correctness, compatibility, consis= tency, and clarity,
> >>> in that order. Insightful reviews will be hi= ghly appreciated and
> >>> met with positive vibes and beers at the nex= t conference :)
> >>>
> >>> We also hope that seeing a concrete specific= ation will spur
> >>> further discussion of related problems, such= as how PQ HD
> >>> wallets will work, and how to handle user ex= perience of a semi-
> >>> stateful signing scheme.
> >>>
> >>> We note that SHRINCS' parameters offer a= complex multi-
> >>> dimensional trade-off space between performa= nce and signature
> >>> size. The choice of parameter set therefore = seems ripe for
> >>> bikeshedding. We provide a forum for paramet= er set discussion
> >>> here <https://github.com/SHRINCS/shrincs-bi= p/issues/32>, but we
> >>> encourage prospective cyclists to first read= the relevant
> >>> sections of thedesign rationale <https://github.com/SHRINCS/
> >>> shrincs-bip/blob/main/SHRINCS.md#rationale&g= t;, and invite readers
> >>> to also play with our interactive stateless = <https://
> >>> blockstreamresearch.= github.io/SPHINCS-Parameters/site/
> >>> stateless.html> and stateful <https://
> >>> blockstreamresearch.= github.io/SPHINCS-Parameters/site/
> >>> stateful.html> parameter set exploration = tools.
> >>>
> >>> Those who prefer video format may be interes= ted in this
> >>> interview discussing the internals of SHRINC= S: https://youtu.be/
> >>> n-jGPICZMR0?si=3DNpfyTRB88-sUxtlh <https://youtu.be/n-jGPICZMR0?
> >>> si=3DNpfyTRB88-sUxtlh>
> >>>
> >>> Related Work
> >>>
> >>> We are building libshrincs <https://github.com/remix7531/
> >>> libshrincs>, an attempt at a formally ver= ified C implementation.
> >>> One machine-checked Rocq <https://rocq-prover.org/> theorem
> >>> covers WOTS+C, the one-time signature in FXM= SS: honest
> >>> signatures verify, the linked C implements i= ts four public
> >>> contracts under CompCert's semantics (VS= T <https://
> >>> vst.cs.prin= ceton.edu/>), and forging costs breaking truncated
> >>> SHA256 (SSProve <https://github.com/SSProve/ssprove>). Still a
> >>> prototype, more detail on Delving <https://delvingbitcoin.org/t/
> >>> libshrincs-a-c-implementation-with-a-machine= -checked-security-
> >>> proof/2795>.
> >>>
> >>> Acknowledgements
> >>>
> >>> The SHRINCS specification is the result of s= everal months'
> >>> collaboration between contributors across mu= ltiple
> >>> organizations. The SHRINCS Working Group is,= in alphabetical order:
> >>>
> >>> - Mike Casey (OpenChain)
> >>> - Conduition (Brink)
> >>> - Ethan Heilman (Cloudflare)
> >>> - Mikhail Kudinov (Blockstream)
> >>> - Oleksandr Kurbatov (Blockstream)
> >>> - Boris Nagaev (Independent)
> >>> - Jonas Nick (Blockstream)
> >>> - remix7531 (OpenSats)
> >>>
> >>> //
> >>> regards,
> >>> conduition
> >>>
> >>> --
> >>> You received this message because you are subscribed = to the Google
> >>> Groups "Bitcoin Development Mailing List" g= roup.
> >>> To unsubscribe from this group and stop receiving ema= ils from it, send
> >>> an email to bitcoindev+...@googlegroups.com
> >>> <mailto:bitcoindev+...@googlegroups.com>.
> >>> To view this discussion visit https://groups.google.com/d/msgid/
> >>> bitcoindev/2fb38fb8-2584-4550-b268-ee7138de419bn%40googlegroups.com
> >>> <https://g= roups.google.com/d/msgid/bitcoindev/2fb38fb8-2584-4550-b268-
> >>> ee7138de419bn%40g= ooglegroups.com?utm_medium=3Demail&utm_source=3Dfooter>.
> >> --
> >> You received this message because you are subscribed to t= he Google Groups "Bitcoin Development Mailing List" group.
> >> To unsubscribe from this group and stop receiving emails = from it, send an email to bitcoi= ndev+...@googlegroups.com.
> >> To view this discussion visit https://grou= ps.google.com/d/msgid/bitcoindev/c0ff85ab-2b8b-4aea-8a04-e0e8a6be7c94%40mur= ch.one.
> >>
>=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+...@= googlegroups.com.
> To view this discussion visit https://groups.google= .com/d/msgid/bitcoindev/70cc8e00-e4fd-46de-b9b4-27bc39bfcbe8%40murch.one.
>=20

--
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/bitcoind= ev/cf6a2879-299c-45dc-bd35-b0acff41c7f3n%40googlegroups.com.
------=_Part_641501_1729704175.1795532413131-- ------=_Part_641500_349596349.1795532413131--