summaryrefslogtreecommitdiff
path: root/2d/896cf59e42c1aad10828448452810d66bb6e91
blob: 789d7f3df771430cacb8ae32e27f776236fe4170 (plain)
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
Delivery-date: Fri, 31 May 2024 19:29:08 -0700
Received: from mail-yw1-f192.google.com ([209.85.128.192])
	by mail.fairlystable.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.94.2)
	(envelope-from <bitcoindev+bncBCU2P6FJ3EBBB2UO5KZAMGQE5R7ZMOA@googlegroups.com>)
	id 1sDEUV-0004TI-Qs
	for bitcoindev@gnusha.org; Fri, 31 May 2024 19:29:08 -0700
Received: by mail-yw1-f192.google.com with SMTP id 00721157ae682-629f8a92145sf29408607b3.0
        for <bitcoindev@gnusha.org>; Fri, 31 May 2024 19:29:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlegroups.com; s=20230601; t=1717208940; x=1717813740; 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:message-id:to:from:date:sender:from:to:cc:subject:date
         :message-id:reply-to;
        bh=P3LEuQxwpAN4uy9jHfYGh54Os+Q0xQ/KdEqOEjOnkrE=;
        b=lTVCvhHF/HaN2+vL8B28xnIZdKsTpFZKUuiFDhMEZabeTI3Ag+l3L3P3aDul4Ydade
         ASqXzDqCP2krrZ6LIHQ8BG2OQzSQPyM48v5FitdVnpUAq59amtK/96VfdfA/se3MqhYC
         J4hfFcceQOUeQhbcZYo8rnMXPOK+uqWOC5wtGh9KbCgf1qIUBwxPvw2uzwVnEr0NW/KU
         /RpOiBIzZf4s0SK9WK5Zg0tEO4Ym4LsL1Wbh/gh69wHHg5EQSsi1T5qVzX4lBusStteB
         +/jvs76rAtA+gkcr8ZIpQAliuSh0cMQtZ8QQ0xedgPZUORjy5ibiU/Wqc25t+Mz6C4o8
         9Obg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1717208940; x=1717813740; 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:message-id:to:from:date:from:to:cc:subject:date:message-id
         :reply-to;
        bh=P3LEuQxwpAN4uy9jHfYGh54Os+Q0xQ/KdEqOEjOnkrE=;
        b=XlkUge9Sk6awNLHyIWlVhjwlFNIRYwmYBB0DD8JmbbA/d9/92v0O0Ss30fdCU6e9cg
         IPictRYUHSm/r5IOzhvCK9VQDkKP5kSguItUm/NhAwlFYe11wqBmUQZtPflB9pwXGGj3
         d5EVdwAm8Q4jIl9ZbYzwTkAimsh8VsFl7uyqHKiy9q7StQfCFp2D/OcFFEDy8mVfxBhb
         JnkZam4liJVm0/npbfYwC1x9d0RfFASVc49fdadqRm6yYoJ838oEXuR2gwSHnQW2X9s2
         loQndjTVadzapvOd3Rg5BsfyYQ3/lFYpvPUemoZ1D89tsUfUijng49R3dkeehr/V1DcP
         lazg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1717208940; x=1717813740;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-sender:mime-version
         :subject:message-id:to:from:date:x-beenthere:x-gm-message-state
         :sender:from:to:cc:subject:date:message-id:reply-to;
        bh=P3LEuQxwpAN4uy9jHfYGh54Os+Q0xQ/KdEqOEjOnkrE=;
        b=bErZiOHKqJbzPQogNuyaVn8fWpNIGfhemIqHDNfjceS3YtaTHFptsYKXgsC4IdiSke
         VgOiBwd3dIe6uVZ7ZH2En/TtJPfF5jGCUZKp5UE+OXV4CqXrZrOVFtNSwWLCVcz3Lisl
         o99zB8n2OLOxFub68WPUMdgWTKV2m2WkpC6id8NubkzOTIjFJRlgeVmEDxnMGTvZ4TRb
         kHFb/d+bHz+CpiR5FAFVKHGVQbXW1iueHnH0FqjNTTmrh8Nve/nbycDyl4LuC0d9SzqQ
         rOy++AoDjVmJOGcf6oGKFtu1tEkdD0y9we0ZCY7a019q11cDEcXp6Yt74IFim/cARAEj
         6Quw==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=1; AJvYcCVhO9DpXiP2epr4A4y8CCM08IuAmobvcRtjxGNVtj1+pQvZIYWFYYAeoXHRXHp8krvZUJCjfCqHHbdbW0F3ldfhRyaoY2k=
X-Gm-Message-State: AOJu0Yx+nBJgHP3y7MJYCMCtOb3+OeYopEq7xc5QRaK97e+69C8n7634
	P47X7wNVbkrT7GK43vLzNGEekf/ouFtxyvqS7mamNuiYBC42F1q7
X-Google-Smtp-Source: AGHT+IFpctBzvJ1Cc7sVGzYvlTDA2XA90aVBExKtmz9td+F2Ony9kPdR0iJDNEUDmD9sQyCsfr7MRg==
X-Received: by 2002:a25:868f:0:b0:dee:7c5c:e353 with SMTP id 3f1490d57ef6-dfa73d906ddmr3718299276.40.1717208940330;
        Fri, 31 May 2024 19:29:00 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com
Received: by 2002:a25:7452:0:b0:dfa:8028:8bc9 with SMTP id 3f1490d57ef6-dfa80288e02ls397022276.1.-pod-prod-06-us;
 Fri, 31 May 2024 19:28:58 -0700 (PDT)
X-Received: by 2002:a05:690c:d83:b0:61b:e678:2591 with SMTP id 00721157ae682-62c7970174fmr8863307b3.4.1717208938537;
        Fri, 31 May 2024 19:28:58 -0700 (PDT)
Received: by 2002:a81:ae05:0:b0:622:b23d:3cdf with SMTP id 00721157ae682-62c7812934ems7b3;
        Fri, 31 May 2024 19:27:47 -0700 (PDT)
X-Received: by 2002:a05:6902:1547:b0:df7:9a4b:fe1b with SMTP id 3f1490d57ef6-dfa73be3efbmr787183276.2.1717208866467;
        Fri, 31 May 2024 19:27:46 -0700 (PDT)
Date: Fri, 31 May 2024 19:27:46 -0700 (PDT)
From: /dev /fd0 <alicexbtong@gmail.com>
To: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Message-Id: <439a982d-d9c1-4749-bcb6-59cc30add099n@googlegroups.com>
Subject: [bitcoindev] AOPP 2.0 using OP_CAT and OP_CSFS
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_64546_973015483.1717208866101"
X-Original-Sender: alicexbtong@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_64546_973015483.1717208866101
Content-Type: multipart/alternative; 
	boundary="----=_Part_64547_1875510249.1717208866101"

------=_Part_64547_1875510249.1717208866101
Content-Type: text/plain; charset="UTF-8"

Hi Bitcoin Developers,

I have been following the conversation in BIP 322 thread: 
https://groups.google.com/g/bitcoindev/c/RCi1Exs0ZvQ/m/vp6Xo36aBwAJ and did 
some research about all the undesirable things we can do with proposed 
opcodes.

I think its possible to create a worse protocol in which withdrawal is done 
to a personally identifying string. It can only be claimed by the user if 
they generate a public key and get it certified by an identity verifier.

```
(pushes from scriptsig:  certsig, bpubkey, txsig, 0)
IF                      (certsig, bpubkey, txsig)
  <recovery_pubkey>     -skip-
  CHECKSIGVERIFY        -skip-
  <recovery_time>       -skip-
  CHECKLOCKTIMEVERIFY   -skip-
ELSE
  OVER                  (certsig, bpubkey, txsig, bpubkey)
  CHECKSIGVERIFY        (certsig, bpubkey,)
  SHA256                (certsig, SHA256(bpubkey),)
  <id>                  (certsig, SHA256(bpubkey), id)
  CAT                   (certsig, SHA256(bpubkey)|id)
  <tpubkey>             (certsig, SHA256(bpubkey)|id, tpubkey)
  CHECKDATASIG          (1)
ENDIF
```

CHECKDATASIG would be replaced by CHECKSIGFROMSTACK if testing on signet. 

Here's the link to read more about it: 
https://gist.github.com/markblundeberg/bd28871548108fc66d958018b1bde085

/dev/fd0
floppy disk guy

-- 
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 on the web visit https://groups.google.com/d/msgid/bitcoindev/439a982d-d9c1-4749-bcb6-59cc30add099n%40googlegroups.com.

------=_Part_64547_1875510249.1717208866101
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Bitcoin Developers,<div><br /></div><div>I have been following the conve=
rsation in BIP 322 thread:=C2=A0<a href=3D"https://groups.google.com/g/bitc=
oindev/c/RCi1Exs0ZvQ/m/vp6Xo36aBwAJ">https://groups.google.com/g/bitcoindev=
/c/RCi1Exs0ZvQ/m/vp6Xo36aBwAJ</a> and did some research about all the undes=
irable things we can do with proposed opcodes.</div><div><br /></div><div>I=
 think its possible to create a worse protocol in which withdrawal is done =
to a personally identifying string. It can only be claimed by the user if t=
hey generate a public key and get it certified by an identity verifier.</di=
v><div><br /></div><div>```<br /></div><div>(pushes from scriptsig: =C2=A0c=
ertsig, bpubkey, txsig, 0)<br />IF =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(certsig, bpubkey, txsig)<br />=C2=A0=
 &lt;recovery_pubkey&gt; =C2=A0 =C2=A0 -skip-<br />=C2=A0 CHECKSIGVERIFY =
=C2=A0 =C2=A0 =C2=A0 =C2=A0-skip-<br />=C2=A0 &lt;recovery_time&gt; =C2=A0 =
=C2=A0 =C2=A0 -skip-<br />=C2=A0 CHECKLOCKTIMEVERIFY =C2=A0 -skip-<br />ELS=
E<br />=C2=A0 OVER =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0(certsig, bpubkey, txsig, bpubkey)<br />=C2=A0 CHECKSIGVERIFY =C2=A0 =
=C2=A0 =C2=A0 =C2=A0(certsig, bpubkey,)<br />=C2=A0 SHA256 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(certsig, SHA256(bpubkey),)<br />=
=C2=A0 &lt;id&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0(certsig, SHA256(bpubkey), id)<br />=C2=A0 CAT =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (certsig, SHA256(bpubkey)|id)<br =
/>=C2=A0 &lt;tpubkey&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (certsig=
, SHA256(bpubkey)|id, tpubkey)<br />=C2=A0 CHECKDATASIG =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0(1)<br />ENDIF<br />```</div><div><br /></div><div>CHECKDA=
TASIG would be replaced by CHECKSIGFROMSTACK if testing on signet. <br /><b=
r />Here's the link to read more about it:=C2=A0<a href=3D"https://gist.git=
hub.com/markblundeberg/bd28871548108fc66d958018b1bde085">https://gist.githu=
b.com/markblundeberg/bd28871548108fc66d958018b1bde085</a></div><div><br /><=
/div><div>/dev/fd0</div><div>floppy disk guy</div><div><br /></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Bitcoin Development Mailing List&quot; 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 on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/bitcoindev/439a982d-d9c1-4749-bcb6-59cc30add099n%40googlegroups.=
com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msg=
id/bitcoindev/439a982d-d9c1-4749-bcb6-59cc30add099n%40googlegroups.com</a>.=
<br />

------=_Part_64547_1875510249.1717208866101--

------=_Part_64546_973015483.1717208866101--