summaryrefslogtreecommitdiff
path: root/93/54fd7b8f5f73321f5aa7f2ab79d416dfbcae20
blob: 21af64043f91e8c78c0849a6d6a69b90bbdca9df (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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
Return-Path: <stick@satoshilabs.com>
Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])
 by lists.linuxfoundation.org (Postfix) with ESMTP id C8425C002D
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri,  5 Aug 2022 09:12:33 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp2.osuosl.org (Postfix) with ESMTP id 924CF41C63
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri,  5 Aug 2022 09:12:33 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 924CF41C63
Authentication-Results: smtp2.osuosl.org;
 dkim=pass (2048-bit key) header.d=satoshilabs.com header.i=@satoshilabs.com
 header.a=rsa-sha256 header.s=google header.b=YAQUySg+
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
 autolearn=ham autolearn_force=no
Received: from smtp2.osuosl.org ([127.0.0.1])
 by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id X5QgFRd8FIEf
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri,  5 Aug 2022 09:12:32 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 68B5E41C2B
Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com
 [IPv6:2607:f8b0:4864:20::b2c])
 by smtp2.osuosl.org (Postfix) with ESMTPS id 68B5E41C2B
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri,  5 Aug 2022 09:12:32 +0000 (UTC)
Received: by mail-yb1-xb2c.google.com with SMTP id 21so2915517ybf.4
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri, 05 Aug 2022 02:12:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=satoshilabs.com; s=google;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc;
 bh=jotYTvdo2MFKpZEEeH6MgV/rjJgx3PSKzAJNMdJLS1o=;
 b=YAQUySg+p1UbDfmtkfuPWdtP64cFfPoH+w9C6GS3GcvkWM5ntuEJLS15Q1u/oBB5KF
 x8+pDrGUn2Qtb9fHw9TgEcw9aYSTn4AskXRwWThjud/3p1X+YNIPFR22unazne26uhlS
 Un0qKz/rpR2JEpWTlEq+mb43t4TB8OqSCrgsmC91NmBgYUIQYC3VEMc45ETlEOno//nh
 CJGIxwdOezD53x3ObEDXIcWXdPYmBJZ7BTal8AxZhKK06Y8ne0dtUCZnZdCIJ5DB+4Ej
 bnLCwzlz6aEQvt1z8s6k6CQY3OHK7NtM+vAp8Y2SX/j135yRnwNjyhat+3tuyeT6CizE
 bUMA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc;
 bh=jotYTvdo2MFKpZEEeH6MgV/rjJgx3PSKzAJNMdJLS1o=;
 b=J3AN48jcVw8JvWXoOquVXBzoZtdrN3avNq9IWcQkydG9vKdFjJyk1BzMHjYbVKsTM9
 MRubn/Fofdlx9HS26XB3HbEvlOCkZWED3/EDDZviBBqQ8HvUAQ6j2YqxcGvPkrGSUfz0
 hURCq0jBs5yGKzIZVVUNnTSIsnltYVuG3QPTRyic6RvrqOx4Zk/qs19eTFjgcVKGNWDT
 9AM525bOg29vQbV5SJc6YNgsW31to3IEkd4omwmN6WznfO5NNJyhEirQknBxHjw5pXhe
 8p64k0tfyLJfjm1IMPdDOyr5q9Cyhce/7hcRF8IVhmOff+7NAPDK9PtpGwjG6VYd835w
 3/OA==
X-Gm-Message-State: ACgBeo1MLMrT/8mUzw9pidiIcy4hz3yf5XBAnSOTIP6/S0s09PVotv6b
 NDrrwnoBR5gzNWnqDY6GPl/kJDvdwhB0bc1QphdUG3TZduQ=
X-Google-Smtp-Source: AA6agR4Iwr0oaXQE80jr9urwnmWVNuABBoHyyH9wxtCh/wd0OlPMT5RvdPiat5lkSYEFEr9wY1xKpS2NXheXWosgp78=
X-Received: by 2002:a25:c00d:0:b0:677:4093:892b with SMTP id
 c13-20020a25c00d000000b006774093892bmr4569465ybf.328.1659690751229; Fri, 05
 Aug 2022 02:12:31 -0700 (PDT)
MIME-Version: 1.0
References: <4Lz70s3l79z4x2h7@mail-41103.protonmail.ch>
 <20220804121851.7e4zoqxaaolseazn@artanis>
In-Reply-To: <20220804121851.7e4zoqxaaolseazn@artanis>
From: Pavol Rusnak <stick@satoshilabs.com>
Date: Fri, 5 Aug 2022 11:12:20 +0200
Message-ID: <CAF90AvmxH-fr1qnL7McdvBs56N5G-q8OYLj+dmBGSVm38F=Urg@mail.gmail.com>
To: Ali Sherief <ali@notatether.com>, 
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary="000000000000aa1a3305e57addd0"
Cc: luke_bipeditor@dashjr.org
Subject: Re: [bitcoin-dev] BIP-notatether-signedmessage
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Aug 2022 09:12:33 -0000

--000000000000aa1a3305e57addd0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Ali!

Nice work. Since it seems this is a strict superset of BIP137, why not just
focus on things that you are adding (Taproot) while saying your BIP is an
expansion of BIP137?

Your approach make it unnecessarily hard to figure out whether you are
changing anything in handling of ECDSA signature types or not. If it was
clearly stated you are just expanding BIP137 and removes everything that=E2=
=80=99s
already described in BIP137, it would be much more obvious to everyone.


On Thu 4. 8. 2022 at 17:49, Ali Sherief via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

> Hi,
>
> I have created a new BIP, called notatether-signedmessage. It can be
> viewed at
> https://github.com/ZenulAbidin/bips/blob/master/bip-notatether-signedmess=
age.mediawiki
> .
>
> For those who want a quick summary, it defines a step-by-step process for
> signing and verifying messages from legacy, native/nested segwit, and
> taproot addresses. It does not define a new signature format itself, exce=
pt
> in the case of Taproot. For those addresses, I have defined a signature
> format that has 1 byte header/recID, 64 bytes signature, and 32 bytes x
> coordinate of a public key. This is required to run the BIP340 Schnorr
> verify algorithm using only the signature - and the header byte is added
> for backwards compatibility. Otherwise, it completely integrates BIP137
> signatures.
>
> I am planning to move that format to its own BIP as soon as possible, in
> lieu that it is unacceptable to define formats in an Informational BIP.
>
> Please leave your comments in this mailing list. CC'ing BIP editors.
>
> - Ali
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
--=20
Best Regards / S pozdravom,

Pavol "stick" Rusnak
Co-Founder, SatoshiLabs

--000000000000aa1a3305e57addd0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Hi Ali!</div><div dir=3D"auto"><br></div><div dir=3D"auto=
">Nice work. Since it seems this is a strict superset of BIP137, why not ju=
st focus on things that you are adding (Taproot) while saying your BIP is a=
n expansion of BIP137?</div><div dir=3D"auto"><br></div><div dir=3D"auto">Y=
our approach make it unnecessarily hard to figure out whether you are chang=
ing anything in handling of ECDSA signature types or not. If it was clearly=
 stated you are just expanding BIP137 and removes everything that=E2=80=99s=
 already described in BIP137, it would be much more obvious to everyone.=C2=
=A0</div><div dir=3D"auto"><br></div><div><br><div class=3D"gmail_quote"><d=
iv dir=3D"ltr" class=3D"gmail_attr">On Thu 4. 8. 2022 at 17:49, Ali Sherief=
 via bitcoin-dev &lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.or=
g">bitcoin-dev@lists.linuxfoundation.org</a>&gt; wrote:<br></div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width=
:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204=
,204)">Hi,<br>
<br>
I have created a new BIP, called notatether-signedmessage. It can be viewed=
 at <a href=3D"https://github.com/ZenulAbidin/bips/blob/master/bip-notateth=
er-signedmessage.mediawiki" rel=3D"noreferrer" target=3D"_blank">https://gi=
thub.com/ZenulAbidin/bips/blob/master/bip-notatether-signedmessage.mediawik=
i</a>.<br>
<br>
For those who want a quick summary, it defines a step-by-step process for s=
igning and verifying messages from legacy, native/nested segwit, and taproo=
t addresses. It does not define a new signature format itself, except in th=
e case of Taproot. For those addresses, I have defined a signature format t=
hat has 1 byte header/recID, 64 bytes signature, and 32 bytes x coordinate =
of a public key. This is required to run the BIP340 Schnorr verify algorith=
m using only the signature - and the header byte is added for backwards com=
patibility. Otherwise, it completely integrates BIP137 signatures.<br>
<br>
I am planning to move that format to its own BIP as soon as possible, in li=
eu that it is unacceptable to define formats in an Informational BIP.<br>
<br>
Please leave your comments in this mailing list. CC&#39;ing BIP editors.<br=
>
<br>
- Ali<br>
<br>
_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">=
bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
</blockquote></div></div>-- <br><div dir=3D"ltr" class=3D"gmail_signature" =
data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><=
div></div><div>Best Regards / S pozdravom,</div><div><br></div><div>Pavol &=
quot;stick&quot; Rusnak</div><div>Co-Founder, SatoshiLabs</div></div></div>=
</div></div>

--000000000000aa1a3305e57addd0--