1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
|
Delivery-date: Wed, 04 Jun 2025 11:40:40 -0700
Received: from mail-yb1-f187.google.com ([209.85.219.187])
by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.94.2)
(envelope-from <bitcoindev+bncBCYMD7OS6ECBBHNGQLBAMGQEGC37HLI@googlegroups.com>)
id 1uMt2U-00008a-Lq
for bitcoindev@gnusha.org; Wed, 04 Jun 2025 11:40:39 -0700
Received: by mail-yb1-f187.google.com with SMTP id 3f1490d57ef6-e7d971b6398sf240966276.2
for <bitcoindev@gnusha.org>; Wed, 04 Jun 2025 11:40:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20230601; t=1749062433; x=1749667233; darn=gnusha.org;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-sender:mime-version
:subject:references:in-reply-to:message-id:to:from:date:sender:from
:to:cc:subject:date:message-id:reply-to;
bh=+Z5rawu53vjeV7Fx33sVG4S4wMKcjNsa31Bh4KTHCaQ=;
b=df/23Jf6PoXhGw766Gmab7E9gD5anyRG1F3whhSmML/hY8BOOQnKSNjFC/eR/fIYcx
vFqJmRyMWeFdH9jfbiAHjzJsScKrKuGuBE2TqA98QB2jutd2Sxqb5Rt//wdSGt3G+FOm
KMtdEAW2NUMpfwDJz1FV5nYS3TtKlp4MoKmMVUpccwtuv9TcVEGv3ke4Uut9tDIRJiDm
hkK2b2J82S8cFasVbi3MDYF7RuRkJ9J3ogxWcJLe8Xtrq9UHh4DUqKRYjG8TULk0qDJL
qwEWNs/zSz8gvUtGLgs+Q8YIkvHrp/o4DctqDrEiaDBA0wQkqmqMgJSFVOg3yNtUCaUm
Pi6Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1749062433; x=1749667233; darn=gnusha.org;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-sender:mime-version
:subject:references:in-reply-to:message-id:to:from:date:from:to:cc
:subject:date:message-id:reply-to;
bh=+Z5rawu53vjeV7Fx33sVG4S4wMKcjNsa31Bh4KTHCaQ=;
b=E4QhQDLsOwNnMewbYTYziQyB/qqWAbjtHHgAK3lPCGplFUUD/my4za0Yyk4lI9S8dD
QJFY5UEfy49BJHfzPhgXGcSXWLYqY3uHbDFQZZdqcYwdL8232osnayCkcaIliykKdCDu
Npo7+uU8VXwGi1fYuqb7LcyHqbMgF8TfWZV1TuEKAXbkpJeU33CcJGhdJitmD7YBHxsT
YU3aGK9D2+xTX5wieNM8ITmVJko/bU4LO1s+NxVNmqpyCaTLGdAuS2epBWNhBRVZLqqT
bgE8DYrrX+N5ipCH+jgLUBwu46ldp5heDbRj2pgGWsabmDNxDni/x4KvXr0tvRqC8ka+
3X+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1749062433; x=1749667233;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-sender: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;
bh=+Z5rawu53vjeV7Fx33sVG4S4wMKcjNsa31Bh4KTHCaQ=;
b=AzQTsAeVnIc7ukc6jEFHCheeoO2KuIeOGfjf/TR9ViJ0y7616w6Ezy9s7jSet7fymx
NM154lbQxHR9V1O/9PBwwJa0TbPQt+xyB6Bwo7MAhx8tPXK5Rl/kv2s3NO2/CcfpuawT
mKl3EsqO8ERKR2UKLiI6yEAi9X6LSMwdLlbAvyjHVrz/HYeaYI1AOGWxLoJHpIm0REV+
QvN3zpDO+W/RaQnoxADcnpFHGbbWzyvFkfw/S+DE3tWqSayhoNBUfKE369AGZRkXHG/C
4PZJrFeR/qWRPmFWEICNV7tZHQIm+MpoLPhoedQ/ID6weHDih3piT1wHjpbL/B/77iEH
E4/Q==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=1; AJvYcCW7vOyIg7zLC9e7X/KmtnO0lUE6NGgCL/KTWqV3/++vB4Fz5MFxBgLL533bg96rp3hC6PbDkwOzqStY@gnusha.org
X-Gm-Message-State: AOJu0Yw9Vd8DyBigREPknw0lANd62FbYi2c1vz6h9ty8dK34rbW09Ewx
QBJ1o6/zyIKoy6tC/Tp8i4E5cnnz8obuxzhGZWLXkgT86eGk2IXt2UOq
X-Google-Smtp-Source: AGHT+IH1jVYjureISzzW1bzpOa/K3+BP5X5eUvUcPPiDWsNKpZ/DnMAyZnsOVO8O2JFu9fYdYqwKkA==
X-Received: by 2002:a05:6902:1549:b0:e81:78f7:5521 with SMTP id 3f1490d57ef6-e8179c3b5bcmr5231815276.6.1749062432615;
Wed, 04 Jun 2025 11:40:32 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com; h=AZMbMZcaf7KWKP7nGOJaR48LpeYTwqKYUEsjBCkGZmJS2Y0lzA==
Received: by 2002:a25:3f83:0:b0:e7d:cab1:1366 with SMTP id 3f1490d57ef6-e8188a1ac8fls89624276.1.-pod-prod-08-us;
Wed, 04 Jun 2025 11:40:29 -0700 (PDT)
X-Received: by 2002:a05:690c:688b:b0:70e:1ef7:6f21 with SMTP id 00721157ae682-710d99fd5c5mr54522237b3.5.1749062429062;
Wed, 04 Jun 2025 11:40:29 -0700 (PDT)
Received: by 2002:a05:690c:243:b0:70e:2cf8:9db8 with SMTP id 00721157ae682-710d716ada7ms7b3;
Wed, 4 Jun 2025 11:38:20 -0700 (PDT)
X-Received: by 2002:a05:690c:4c05:b0:70c:c013:f26 with SMTP id 00721157ae682-710d9e16ca8mr49153177b3.33.1749062299633;
Wed, 04 Jun 2025 11:38:19 -0700 (PDT)
Date: Wed, 4 Jun 2025 11:38:19 -0700 (PDT)
From: Boris Nagaev <bnagaev@gmail.com>
To: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Message-Id: <44b5aa4c-a71b-49ed-beee-071140b16aacn@googlegroups.com>
In-Reply-To: <5d9f6ac9-a623-4636-8a91-ee7c057bc08an@googlegroups.com>
References: <2c3b7e1c-95dd-4773-a88f-f2cdb37acf4a@gmail.com>
<CAFC_Vt7z5Vj=r90J8RoH3sC5592BO4G9U3L9gdcX+D3DruC1PQ@mail.gmail.com>
<33f67e84-5d1c-4c14-80b9-90a3fec3cb36@gmail.com>
<ZmYpRwmVDoJBUhiCRb909Lgwws_dT9d_CNUjfddVt128pyjdH0UcYfXgA_uguwRu44ZC8_x_SwlrooqKhyvdwJjnO1h3BvzQxVRbdCpVfjg=@proton.me>
<5e393f57-ac87-40fd-93ef-e1006accdb55n@googlegroups.com>
<CAFC_Vt5X2qrH9EaZNoMMx8367V7iYfXiCcAfT3ED86DtM7UH6A@mail.gmail.com>
<5d9f6ac9-a623-4636-8a91-ee7c057bc08an@googlegroups.com>
Subject: Re: [bitcoindev] Pre-emptive commit/reveal for quantum-safe migration (poison-pill)
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_100894_1909946159.1749062299138"
X-Original-Sender: bnagaev@gmail.com
Precedence: list
Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com
List-ID: <bitcoindev.googlegroups.com>
X-Google-Group-Id: 786775582512
List-Post: <https://groups.google.com/group/bitcoindev/post>, <mailto:bitcoindev@googlegroups.com>
List-Help: <https://groups.google.com/support/>, <mailto:bitcoindev+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/bitcoindev
List-Subscribe: <https://groups.google.com/group/bitcoindev/subscribe>, <mailto:bitcoindev+subscribe@googlegroups.com>
List-Unsubscribe: <mailto:googlegroups-manage+786775582512+unsubscribe@googlegroups.com>,
<https://groups.google.com/group/bitcoindev/subscribe>
X-Spam-Score: -0.5 (/)
------=_Part_100894_1909946159.1749062299138
Content-Type: multipart/alternative;
boundary="----=_Part_100895_252217700.1749062299138"
------=_Part_100895_252217700.1749062299138
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi Leo,
I think it is possible to provide privacy for Satoshi and also reduce the=
=20
size of a weak announcement (strong announcements can already be small:=20
just a txid or a Merkle root of many txids).
Importantly, we cannot include the whole signed transaction in the weak=20
announcement. Doing so would leak the EC public key immediately, allowing=
=20
an attacker to create their own valid weak announcement. We must avoid=20
revealing the public key until the actual spending transaction is broadcast=
.
We need a scheme where the EC public key is not leaked in a weak=20
announcement, but the legitimate owner can verify it, while no one else=20
can. Also, once the EC public key is revealed, anyone should be able to=20
verify a past weak announcement (to validate the transaction when it is=20
broadcast). This reduces to the following requirement: we need a proof of=
=20
knowledge of the EC public key that can be verified if the public key is=20
known and provides no information otherwise.
I think this is called a zero-knowledge proof. One simple approach could be=
=20
to apply a tagged hash function to the concatenation of the EC public key=
=20
and the future wTXID, and include this in the weak announcement. The=20
structure would be:
- UTXO (previous TXID and output index)
- future spending wTXID
- proof :=3D tagged_hash(EC public key || wTXID)
The wTXID is included in the concatenation to bind the proof to a=20
particular future transaction. Otherwise, someone could copy a weak=20
announcement and substitute their own wTXID.
Satoshi could publish a strong announcement now and then monitor all weak=
=20
announcements involving his UTXOs. If someone publishes a weak announcement=
=20
for one of his coins, he could verify the "proof" field. If it is valid, it=
=20
would mean someone has cracked his key with a quantum computer, and he=20
would need to use his strong announcement immediately to reclaim the funds=
=20
before the attacker does.
Best,
Boris
On Wednesday, June 4, 2025 at 2:40:53=E2=80=AFPM UTC-3 Leo Wandersleb wrote=
:
Hi Boris,
the announcements, weak and strong would have to not be transactions yet to=
=20
be compatible with legacy nodes and thus keep it a soft-fork. They could be=
=20
OP_RETURN data. Only after the 144 blocks, the upgraded full nodes would=20
allow the inclusion of the actual transaction. This would mean the=20
transaction would be both in full in the OP_RETURN strong announcement and=
=20
without the witness part later, so it would be a bit expensive this way but=
=20
maybe we can do better?
A node that gets updated would have to re-index all the blockchain to find=
=20
announcements if we don't introduce a time frame for actually using the=20
announcements. We could also say that any announcement has to be used=20
within another 1000 blocks. Then the upgrading node would have to re-index=
=20
the last 1000 blocks.
The legitimate owner of a UTXO might wait for an attack for privacy=20
reasons. My proposal would allow Satoshi himself to make all his UTXOs=20
quantum safe without any of us learning about him being active. He could=20
add one 64B OP_RETURN in 2027 and when QC becomes an issue, we would learn=
=20
about him having been active in 2027 in 2040 when actually somebody tried=
=20
to attack and not in 2027 when people started to panic because of imminent=
=20
quantum breakthroughs.
Hmm ... a problem is the weak announcement doesn't require keys, so anybody=
=20
could provoke Satoshi to come forward. Maybe we have to add key ownership=
=20
as a requirement for the "weak" announcement, too. So it should also=20
contain a serialized transaction.
Best,
Leo
On Wednesday, 4 June 2025 at 04:15:59 UTC+2 Nagaev Boris wrote:
Hi Leo,=20
Thanks for the clarifications, much appreciated!=20
I have a couple of questions:=20
1. How is a weak announcement stored in the blockchain and in the UTXO set?=
=20
I assume it must be a transaction, correct? And it should somehow mark=20
the UTXO as planned to be spent for 144 blocks?=20
How would older (non-upgraded) nodes interpret a transaction=20
containing a weak announcement? Would they just skip over it without=20
any special processing?=20
If so, is there a problem for nodes that upgrade after the fork: would=20
they have to reprocess all blocks since the fork to find and index all=20
missed weak announcements?=20
2. In the case of reclaiming a UTXO after a weak announcement by an=20
attacker: why would the legitimate owner wait for a weak announcement=20
at all?=20
If the EC public key was already leaked, it seems they should publish=20
a strong announcement themselves rather than wait. If the EC public=20
key wasn't leaked, there's nothing to worry about even if someone=20
publishes a weak announcement: they are most likely bluffing, since=20
they wouldn't have the actual public key.=20
Best,=20
Boris=20
On Tue, Jun 3, 2025 at 3:29=E2=80=AFPM Leo Wandersleb <lwand...@gmail.com> =
wrote:=20
>=20
> Hi conduition,=20
>=20
> Thanks for your careful analysis - excellent catches.=20
>=20
> You're absolutely right about the txid vulnerability. The commitment must=
=20
be to the complete transaction including witness data (wTXID or equivalent)=
=20
to prevent an attacker from pre-committing to unsigned transactions. This=
=20
is essential - otherwise an attacker could indeed enumerate the UTXO set=20
and create commitments without knowing the private keys.=20
>=20
> Regarding updates: You're correct that frequent updates would be needed=
=20
as wallets receive new UTXOs. However, I don't see this as a major issue -=
=20
users could batch their commitments periodically (say, monthly) rather than=
=20
after every transaction. The scheme is particularly important for existing=
=20
UTXOs that already have exposed pubkeys (old P2PK, reused addresses, etc.).=
=20
For new UTXOs, wallets should ideally migrate to quantum-safe addresses=20
once available. OpenTimestamps aggregation would indeed help with scaling=
=20
and provide plausible deniability about the number of UTXOs being=20
protected.=20
>=20
> The time delay serves a different purpose than you might expect. It's not=
=20
about preventing commitment forgery after pubkey exposure, but rather about=
=20
allowing priority based on commitment age when multiple parties claim the=
=20
same UTXO:=20
>=20
> 1. Weak announcement starts the 144-block window=20
> 2. During this window, anyone with a strong commitment can reveal it=20
> 3. The oldest valid commitment wins=20
>=20
> This creates the "poison pill" effect: an attacker might crack a key and=
=20
try to spend a UTXO, but if the original owner has an older commitment,=20
they can reclaim it during the window. The uncertainty about which UTXOs=20
have poison pills makes attacking large "lost" UTXOs risky - hence less=20
disruptive to the network.=20
>=20
> The delay essentially allows a "commitment priority contest" where age=20
determines the winner, protecting users who prepared early while still=20
allowing these users to not move their funds.=20
>=20
> Best,=20
>=20
> Leo=20
>=20
> --=20
> You received this message because you are subscribed to the Google Groups=
=20
"Bitcoin Development Mailing List" group.=20
> To unsubscribe from this group and stop receiving emails from it, send an=
=20
email to bitcoindev+...@googlegroups.com.=20
> To view this discussion visit=20
https://groups.google.com/d/msgid/bitcoindev/5e393f57-ac87-40fd-93ef-e1006a=
ccdb55n%40googlegroups.com.=20
--=20
Best regards,=20
Boris Nagaev=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/=
44b5aa4c-a71b-49ed-beee-071140b16aacn%40googlegroups.com.
------=_Part_100895_252217700.1749062299138
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi Leo,<br /><br />I think it is possible to provide privacy for Satoshi an=
d also reduce the size of a weak announcement (strong announcements can alr=
eady be small: just a txid or a Merkle root of many txids).<br /><div><br /=
></div><div>Importantly, we cannot include the whole signed transaction in =
the weak announcement. Doing so would leak the EC public key immediately, a=
llowing an attacker to create their own valid weak announcement. We must av=
oid revealing the public key until the actual spending transaction is broad=
cast.</div><div><br /></div>We need a scheme where the EC public key is not=
leaked in a weak announcement, but the legitimate owner can verify it, whi=
le no one else can. Also, once the EC public key is revealed, anyone should=
be able to verify a past weak announcement (to validate the transaction wh=
en it is broadcast). This reduces to the following requirement: we need a p=
roof of knowledge of the EC public key that can be verified if the public k=
ey is known and provides no information otherwise.<br /><br />I think this =
is called a zero-knowledge proof. One simple approach could be to apply a t=
agged hash function to the concatenation of the EC public key and the futur=
e wTXID, and include this in the weak announcement. The structure would be:=
<br /><ul><li>=C2=A0 =C2=A0 UTXO (previous TXID and output index)</li><li>=
=C2=A0 =C2=A0 future spending wTXID</li><li>=C2=A0 =C2=A0 proof :=3D tagged=
_hash(EC public key || wTXID)</li></ul>The wTXID is included in the concate=
nation to bind the proof to a particular future transaction. Otherwise, som=
eone could copy a weak announcement and substitute their own wTXID.<br /><b=
r />Satoshi could publish a strong announcement now and then monitor all we=
ak announcements involving his UTXOs. If someone publishes a weak announcem=
ent for one of his coins, he could verify the "proof" field. If it is valid=
, it would mean someone has cracked his key with a quantum computer, and he=
would need to use his strong announcement immediately to reclaim the funds=
before the attacker does.<br /><br />Best,<br />Boris<br /><br /><div><div=
dir=3D"auto">On Wednesday, June 4, 2025 at 2:40:53=E2=80=AFPM UTC-3 Leo Wa=
ndersleb wrote:<br /></div><blockquote style=3D"margin: 0px 0px 0px 0.8ex; =
border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Boris,<di=
v><br /></div><div>the announcements, weak and strong would have to not be =
transactions yet to be compatible with legacy nodes and thus keep it a soft=
-fork. They could be OP_RETURN data. Only after the 144 blocks, the upgrade=
d full nodes would allow the inclusion of the actual transaction. This woul=
d mean the transaction would be both in full in the OP_RETURN strong announ=
cement and without the witness part later, so it would be a bit expensive t=
his way but maybe we can do better?</div><div><br /></div><div>A node that =
gets updated would have to re-index all the blockchain to find announcement=
s if we don't introduce a time frame for actually using the announcements. =
We could also say that any announcement has to be used within another 1000 =
blocks. Then the upgrading node would have to re-index the last 1000 blocks=
.</div><div><br /></div><div>The legitimate owner of a UTXO might wait for =
an attack for privacy reasons. My proposal would allow Satoshi himself to m=
ake all his UTXOs quantum safe without any of us learning about him being a=
ctive. He could add one 64B OP_RETURN in 2027 and when QC becomes an issue,=
we would learn about him having been active in 2027 in 2040 when actually =
somebody tried to attack and not in 2027 when people started to panic becau=
se of imminent quantum breakthroughs.</div><div>Hmm ... a problem is the we=
ak announcement doesn't require keys, so anybody could provoke Satoshi to c=
ome forward. Maybe we have to add key ownership as a requirement for the "w=
eak" announcement, too. So it should also contain a serialized transaction.=
<br /></div><div><br /></div><div>Best,</div><div><br /></div><div>Leo</div=
><div><br /></div><div><div dir=3D"auto">On Wednesday, 4 June 2025 at 04:15=
:59 UTC+2 Nagaev Boris wrote:<br /></div><blockquote style=3D"margin: 0px 0=
px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;=
">Hi Leo,
<br />
<br />Thanks for the clarifications, much appreciated!
<br />I have a couple of questions:
<br />
<br />1. How is a weak announcement stored in the blockchain and in the UTX=
O set?
<br />I assume it must be a transaction, correct? And it should somehow mar=
k
<br />the UTXO as planned to be spent for 144 blocks?
<br />How would older (non-upgraded) nodes interpret a transaction
<br />containing a weak announcement? Would they just skip over it without
<br />any special processing?
<br />If so, is there a problem for nodes that upgrade after the fork: woul=
d
<br />they have to reprocess all blocks since the fork to find and index al=
l
<br />missed weak announcements?
<br />
<br />2. In the case of reclaiming a UTXO after a weak announcement by an
<br />attacker: why would the legitimate owner wait for a weak announcement
<br />at all?
<br />If the EC public key was already leaked, it seems they should publish
<br />a strong announcement themselves rather than wait. If the EC public
<br />key wasn't leaked, there's nothing to worry about even if someone
<br />publishes a weak announcement: they are most likely bluffing, since
<br />they wouldn't have the actual public key.
<br />
<br />Best,
<br />Boris
<br />
<br />On Tue, Jun 3, 2025 at 3:29=E2=80=AFPM Leo Wandersleb <<a rel=3D"n=
ofollow">lwand...@gmail.com</a>> wrote:
<br />>
<br />> Hi conduition,
<br />>
<br />> Thanks for your careful analysis - excellent catches.
<br />>
<br />> You're absolutely right about the txid vulnerability. The commit=
ment must be to the complete transaction including witness data (wTXID or e=
quivalent) to prevent an attacker from pre-committing to unsigned transacti=
ons. This is essential - otherwise an attacker could indeed enumerate the U=
TXO set and create commitments without knowing the private keys.
<br />>
<br />> Regarding updates: You're correct that frequent updates would be=
needed as wallets receive new UTXOs. However, I don't see this as a major =
issue - users could batch their commitments periodically (say, monthly) rat=
her than after every transaction. The scheme is particularly important for =
existing UTXOs that already have exposed pubkeys (old P2PK, reused addresse=
s, etc.). For new UTXOs, wallets should ideally migrate to quantum-safe add=
resses once available. OpenTimestamps aggregation would indeed help with sc=
aling and provide plausible deniability about the number of UTXOs being pro=
tected.
<br />>
<br />> The time delay serves a different purpose than you might expect.=
It's not about preventing commitment forgery after pubkey exposure, but ra=
ther about allowing priority based on commitment age when multiple parties =
claim the same UTXO:
<br />>
<br />> 1. Weak announcement starts the 144-block window
<br />> 2. During this window, anyone with a strong commitment can revea=
l it
<br />> 3. The oldest valid commitment wins
<br />>
<br />> This creates the "poison pill" effect: an attacker might crack a=
key and try to spend a UTXO, but if the original owner has an older commit=
ment, they can reclaim it during the window. The uncertainty about which UT=
XOs have poison pills makes attacking large "lost" UTXOs risky - hence less=
disruptive to the network.
<br />>
<br />> The delay essentially allows a "commitment priority contest" whe=
re age determines the winner, protecting users who prepared early while sti=
ll allowing these users to not move their funds.
<br />>
<br />> Best,
<br />>
<br />> Leo
<br />>
<br />> --
<br />> You received this message because you are subscribed to the Goog=
le Groups "Bitcoin Development Mailing List" group.
<br />> To unsubscribe from this group and stop receiving emails from it=
, send an email to <a rel=3D"nofollow">bitcoindev+...@googlegroups.com</a>.
<br />> To view this discussion visit <a href=3D"https://groups.google.c=
om/d/msgid/bitcoindev/5e393f57-ac87-40fd-93ef-e1006accdb55n%40googlegroups.=
com" rel=3D"nofollow" target=3D"_blank">https://groups.google.com/d/msgid/b=
itcoindev/5e393f57-ac87-40fd-93ef-e1006accdb55n%40googlegroups.com</a>.
<br />
<br />
<br />
<br />--=20
<br />Best regards,
<br />Boris Nagaev
<br /></blockquote></div></blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Bitcoin Development Mailing List" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:bitcoindev+unsubscribe@googlegroups.com">bitcoind=
ev+unsubscribe@googlegroups.com</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
bitcoindev/44b5aa4c-a71b-49ed-beee-071140b16aacn%40googlegroups.com?utm_med=
ium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/bitcoind=
ev/44b5aa4c-a71b-49ed-beee-071140b16aacn%40googlegroups.com</a>.<br />
------=_Part_100895_252217700.1749062299138--
------=_Part_100894_1909946159.1749062299138--
|