From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 30 Nov 2026 11:15:55 -0800 Received: from mail-oo1-f63.google.com ([209.85.161.63]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1xY6qx-000U1G-8i for bitcoindev@gnusha.org; Mon, 30 Nov 2026 11:15:55 -0800 Received: by mail-oo1-f63.google.com with SMTP id 006d021491bc7-704a881f959sf8889948eaf.2 for ; Mon, 30 Nov 2026 11:15:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1796066149; cv=pass; d=google.com; s=arc-20260327; b=PMd9NrOhhYi5Ey0NHHDAiw0yaRJXe0Y2kI+3BsHfq+U3jchxVNIhyk3nFIKog+LxIV Zgx//tGBeDvNyk/N3fSsN/PswhAjTFbRN4ZD6JhUMu7NHs9+uaU1hmbtdsIaYIee+Hz4 x5ZNEn0l3qZ1a/FVJaX8IXwykbGFf4MYtWSn7CMi/yznMZKExL7NcyQRioCQUldo7pKH tumTv7KZJoLY7E4uVO2ARej3zDNzsE/N9sIb8haqVG2SCxvfESrhFGJGocrd75At0sZ2 0AmkFqJN0H+o3R369aiLaC/2v9x9XekvtVV3d98WCfXpDj10VfbDmDL5A9HSFSgsop0u kAgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:references:message-id :cc:date:in-reply-to:from:subject:mime-version:feedback-id :message-instance:dkim2-signature:dkim-signature; bh=eJ43hPBJ43lOtWTXaNQ+h0FSn4La/n4Ln+nKtu2wpec=; fh=xLNpsiVTrh4fFSQXJ9Ddcxwp6Y+TtLtJIiGe46Hz6YA=; b=HxMiDo26C0LhryyWmnXtZvgetYZTdsfCpjE6A3q1ofHxpWjT6fydz7Oqd/8TRZEGEX sjdxq001uy0xrhUXag5H/KKZ3YfK88ZMyWiBgmw6DGElss3PFIAbuWQAhHZ82ooNaO2N QEZfNOM1SFcLfWZUm9Jo7boBGMVdUDXWo57fUIYuUtSx5Rniq8s2esC/E51Cr3FYc0O7 rVe0+LKcPh1frdqLf8IjwNTojc54UtApk7QKOTd7zmei7g/nyzDi+jv1TLgS2IoRYTKD RZXFnOChVdVkYKb42NOvLJRRSeYo5fYEV62gRDbp0KWNeALhQQhHfFRnZ7Pm5OaXPfmd oRiA==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@sprovoost.nl header.s=fm1 header.b=geCoQKMU; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=lLJBFWHu; spf=pass (google.com: domain of sjors@sprovoost.nl designates 202.12.124.149 as permitted sender) smtp.mailfrom=sjors@sprovoost.nl; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sprovoost.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20260707; t=1796066149; x=1796670949; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:references :message-id:cc:date:in-reply-to:from:subject:mime-version :content-type:feedback-id:message-instance:dkim2-signature:from:to :cc:subject:date:message-id:reply-to:content-type; bh=eJ43hPBJ43lOtWTXaNQ+h0FSn4La/n4Ln+nKtu2wpec=; b=PI2O+818gpsjI2T6Pk1/mrrYDMcuDIon6DL5Wu/aZsePSBqjdIxeToBT1ZSG4iWcY9 ix46ATaz0B2qC000dnd5ekBLeYF8Rj7aqV5O8fE1ythJPWXHQJ7uE9DG9415HI86iDU7 ay2S3TCqfXeFrJCC+9TSaFuJkNpaottVVF+b6cKeqEPxvH51dKwIu9+R1zZO1fGR7GEV /ehNKksi+MSq+qj5Ofv962j7PhHFNnOieCZ1pL7ZRMDyV80bljAI56m6MBfT0kNmQDjE wKzIQm1h63HCu1gwBXJbX0M3HhDMr+QNW2IaHNaZP79VClM4CRdRvlnB1kiVi+zTSD1S mf1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796066149; x=1796670949; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:references :message-id:cc:date:in-reply-to:from:subject:mime-version :content-type:feedback-id:message-instance:dkim2-signature :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=eJ43hPBJ43lOtWTXaNQ+h0FSn4La/n4Ln+nKtu2wpec=; b=G3yyqRxwAdxG/EKIJi47Sc+U8KP+HDkro6+af/VvqGBQHiHQJs0eNCcY1rfCmGAdNx cWLG295gWLMrhuq4eMNoQG3baNrb2q/HsOYu25LRYcN3jxz9EAP3BHZETKohGj5ziwpw ulqcG5ZvJQ5cKVv0lg+nyCTBeuxyneDVp5vI+NEBhJYM/lW0etOLbM0nd06ZFFmNIOrv PhEqJRTUElSpv+9BmdXez4I6Zus8uTX9xl8LII1gTftMNFn1qYcjBOizYOEfjlaXudQL QM13PgiKFQYgvDFCJRADQt5QyMbPgp7JmtxGQv7uU3dB8ab/JV4OCjZKks6HGWOcoxuI pr5w== X-Forwarded-Encrypted: i=2; AL+hErEGsegqnoC3o/aaZWhZT9gRiJmaTHYo1QWdY35Imz/CDOihvrUPh+Vj4GbbpJJ5g6aHET8PxUZ3BsH6@gnusha.org X-Gm-Message-State: APuU4Z8IoGIUvY6VBTOzDocSybHtcel5Ueb2iq6g5b2lz31XiDr7nHZe kuTKCjbQrzy+AUV+DosokwJ0aR/CIJLfQghI6Qv7VsVh5xAMjiBtIf6o X-Received: by 2002:a05:6820:709c:10b0:716:c53c:3f4b with SMTP id 006d021491bc7-71b395c314dmr19680077eaf.88.1796066148985; Mon, 30 Nov 2026 11:15:48 -0800 (PST) X-BeenThere: bitcoindev@googlegroups.com; h="ATskLdeP5XMEvmg0kxpIIQzTfRrWXbl6m1mrr/7b3tw/wGESnw==" Received: by 2002:a05:6871:e8c4:10b0:49d:faf9:48cf with SMTP id 586e51a60fabf-4bc7981a119ls7172060fac.2.-pod-prod-03-us; Mon, 30 Nov 2026 11:15:43 -0800 (PST) X-Received: by 2002:a05:6808:19a7:b0:4f1:a873:6efc with SMTP id 5614622812f47-57a0d923ddbmr39707122b6e.64.1796066143470; Mon, 30 Nov 2026 11:15:43 -0800 (PST) Received: by 2002:a05:6808:a5d7:20b0:572:f7eb:ee1 with SMTP id 5614622812f47-57a32c5d3cfmsb6e; Mon, 30 Nov 2026 08:07:52 -0800 (PST) X-Received: by 2002:a05:6820:c2cd:10b0:71a:efbe:ef1e with SMTP id 006d021491bc7-71b3920d97dmr18977374eaf.8.1796054872014; Mon, 30 Nov 2026 08:07:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1796054872; cv=none; d=google.com; s=arc-20260327; b=JgySk30HeOTcuQ4Y4m7/LBiXw4pXLtNNSYEzPRMbDwCXlnBj6/JB7c6JxKBrtQZBgW e82PNdsgVWsZdp3GfDK1Q4oOYCJfG5eEhACXImjiH3CwnGsgTIr7DbnqTmRR735YSMEP /qlIJvakL4RUWXpy9RzRGOxu1ybrpsW1wzCaE7TjIFhMnJsW+ee1UMCo4fpIyeyPzgDF 4DCu02FfaOUNTClAUDNKU5rRV8uk9ZuT6EcxIbvniAkuWxU8446RgHOLG6DsZuaYcZng 4IesFz2f7pd0+qFHhRpmlC4ccLBkqG9jxHsS7w+6m69Ww1iSPPvEqkDDo3rrTTqd5PhR 6bgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:feedback-id:message-instance :dkim2-signature:dkim-signature:dkim-signature; bh=RVhBo7cNMMfVYg4awuUQhZ6Mrm2Lz6TsBDSHNdY1Uw4=; fh=PxJ9YDroP80UuQhx7e65g1qAEb5AXyhz5ZnecThZIgg=; b=kss4gIJzlM5ilvdFxgprSjSjtva5X5u+GxgXmMpyuTjAGjSMYjRglKtrmMNlO23Ykq E3bv5CdiR98A2rb9HCsPttigdkJPYZs+9lumMMnSektsWDdEB7aB4D8YMgJrfawXoSYX 9CQ2AULYib9OvxQJtm3NdUKJqXWmBMmIhot2unFIErJZUUnh/Lq4AMbI0WKKmNz058/p sXizQrmbIRuI30C/JBeQb4E2hrYnomy5FMv94ytZyxt+0wNPUDSeaedyBK9d3zI+lskA 7lwZpKvaVbgDS4uAxXogd5VwlRaiUXDtBSHSH2lSvRAWrV7OUDXgeE2cj6gdWjBQR5CH PgwA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@sprovoost.nl header.s=fm1 header.b=geCoQKMU; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=lLJBFWHu; spf=pass (google.com: domain of sjors@sprovoost.nl designates 202.12.124.149 as permitted sender) smtp.mailfrom=sjors@sprovoost.nl; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sprovoost.nl Received: from fout-b6-smtp.messagingengine.com (fout-b6-smtp.messagingengine.com. [202.12.124.149]) by gmr-mx.google.com with ESMTPS id 46e09a7af769-863168ba828si643917a34.4.2026.11.30.08.07.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 08:07:51 -0800 (PST) Received-SPF: pass (google.com: domain of sjors@sprovoost.nl designates 202.12.124.149 as permitted sender) client-ip=202.12.124.149; Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.stl.internal (Postfix) with ESMTP id 44E4E1D005A8 for ; Mon, 30 Nov 2026 11:07:50 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Mon, 30 Nov 2026 11:07:50 -0500 X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=sign d=sprovoost.nl a=rsa-sha256; DKIM2-Signature: i=1; m=1; t=1796054869; d=sprovoost.nl; mf=PHNqb3JzQHNwcm92b29zdC5ubD4=; rt=PGJpdGNvaW5kZXZAZ29vZ2xlZ3JvdXBzLmNvbT4=; s=fm1:rsa-sha256:lQz5AonadKSr5q9659T07WbHltPNemn5CkKdE7dxse2FZi5 8o+UZo/munb7osxPYIkxLseyCl2aoMW+LaZ3LMBDWpEe39RJ6I2SiDq0gLh6p3KS uKX4xD6f9X3triVXNlMiNj7/IhC8e4iAqPT646tJQrRse0zsjndxLWiv5J4g1IMd WoyH28CYg6sEhCSnDqeV6V2h6XSUnu6L/cUY8n0b14OtboDCVjM57rawdKBeXBmN k9Eb2Cizf348gh/mdJ30nHeRYjl6tk8n5yUc4B47CkkH8ZoYtX13AgmhtLqJoOlr JeAxtlQDzxpZyRb6aZhy7lDqTYV4GCPbBJLnZfA==; X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=mi-m=1; hc=12; hn=cc,content-transfer-encoding,content-type,date,feedback-id, from,in-reply-to,message-id,mime-version,references,subject,to; Message-Instance: m=1; h=sha256:a0WTiRmFuDZwRZvNX5/iqbxSA5Ue+I+6TVDzEQzmnQc=:RVhBo7cNMMfVYg4awuUQhZ6Mrm2Lz6TsBDSHNdY1Uw4=; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTF6Ip8WSetHbr3Sp7TkA3G22eqCvBMp0iEKNA5oPOTJNk5bxggK4QRy5D3vZ+FMDJ CNuZyLFLDIAYQLun735nW1nGMxfNuNFvGSeOUTz2e8lvTBygkYTfkIoFcziQykYLhHHsou WKDiZUth48hUUJV7zpuHNaok1CtnEPqi1TU/KXNpZUpMM9XPe5fAwujIhwDy0MxU0mgZ1W 2ezZT0IxTpFi4mIEVxiCxPbGTPFqb7uLKDDXGF8tVKSywmUOjfeMYQ/rq25mhfNbaeTYFv O9rao8V3g86D52/pbAWwd0QTGjw98+L6XgcQK+w7njRLSsXgYrZn7iIX1mfIYpyQOSLTaV D27HKz1MKnx0+3pR2UIfTNAZqbPxBjzz2gvSkbLKbjD4n/yg06mu+EO5yYeB4twQdv4EUb BFni5zJBcQaqeJdbD0dFhQmbSWJY8kcb+AQaBd21vDAA74IJPhK8pE4YI9qEupfzqOQyeD yps/wtn4pVYRD3FseZ27IO/cRBABcO1kFY3YNiuKdG0G7GMDmYxbt50dZRdcJudy0QGcVF MGet2DUWNzNwBNQeuabm+MNWMmH0aZdhlR68GbaErov0ltgdu8Jqg8zN9fZh9s6aNIk6sW BT0NozKFNGHEvis9JwJd3msK+SnMBFDlk+YI2X3uZmVDFC+ffJQY48xOjX9Q X-ME-Proxy: Feedback-ID: ie5e042df:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 30 Nov 2026 11:07:49 -0500 (EST) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3901.200.71.1.16\)) Subject: Re: [bitcoindev] Draft BIPs: anti-exfil signing for BIP340 and ECDSA, with PSBT fields From: "'Sjors Provoost' via Bitcoin Development Mailing List" In-Reply-To: Date: Mon, 30 Nov 2026 17:07:36 +0100 Cc: bitcoindev@googlegroups.com Message-Id: <9D731279-6920-44D4-A823-40FDA7C6A338@sprovoost.nl> References: To: Connor Avila X-Mailer: Apple Mail (2.3901.200.71.1.16) X-Original-Sender: sjors@sprovoost.nl X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@sprovoost.nl header.s=fm1 header.b=geCoQKMU; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=lLJBFWHu; spf=pass (google.com: domain of sjors@sprovoost.nl designates 202.12.124.149 as permitted sender) smtp.mailfrom=sjors@sprovoost.nl; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sprovoost.nl X-Original-From: Sjors Provoost Reply-To: Sjors Provoost 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: -1.0 (-) Hi Connor, Coincidentally I was working on the same thing, as you mentioned. It was a purely vibe coded spec and implementation, but it nevertheless may be useful to fully understand what needs to change from the BIP text, through Bitcoin Core, HWI (or alternative) and the device firmwares. My agent has now reconciled all that with your design: https://git.sprovoost.nl/bips/prs/0bcca94b (description links to the other pull requests) Note that I didn't implement ECDSA support at all. I'm fine with it be allowed by the spec, as long as it's optional and I don't have to even think about it :-) The other changes should be minor. They may be useful, but should be taken with a grain (token?) of salt. - Sjors P.S. I mirrored a bunch of repositories on that domain. No nostr tooling is required for read access, e.g. for Bitcoin Core: git clone https://git.sprovoost.nl/npub1v25jqj332n630klwtqeqxgyrjl4alw4phmluhu2x6lcxzwy9m03suqexw3/bitcoin.git > Op 5 nov 2026, om 22:08 heeft Connor Avila het volgende geschreven: > > Hi all, > > A signing device picks the nonce in every signature, so a compromised > one can leak its seed through signatures that look normal. Anti-exfil > fixes this by having the host contribute to each nonce and check the > result. Devices already ship versions of it, but there's no agreed > specification and no standard PSBT field for it. > > I've written two draft BIPs. One covers the protocol for BIP340 and > ECDSA, including what a host does when a device fails. The other adds > three PSBT input fields. The protocol follows Scheme 6 from Pieter > Wuille's 2020 overview, with a sign-to-contract tweak. > > Sjors Provoost published an experimental draft in October for > single-signer Taproot key-path signing, with implementations for HWI > and several devices (https://github.com/Sjors/bips/pull/2). We've > talked (or emailed rather), and he plans to align those > implementations with this spec. > > With the BIPs are test vectors, a reference in Python, a C module for > libsecp256k1, and a patch series adding it to Jade's `sign_psbt`, none > of it run on a device yet. One script reruns most of the checks. > > No cryptographer has reviewed this and it hasn't been audited. The > security argument starts with what it doesn't prove, and the evidence > page lists what failed and what wasn't tested. I'm not a > cryptographer, so corrections to the argument are much appreciated! > > Repository: https://github.com/AvilaLabs/anti-exfil > Handbook: https://anti-exfil.avilalabs.org > > Connor Avila, > Avila Labs -- 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/9D731279-6920-44D4-A823-40FDA7C6A338%40sprovoost.nl.