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
|
Delivery-date: Tue, 01 Apr 2025 01:51:45 -0700
Received: from mail-qt1-f189.google.com ([209.85.160.189])
by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.94.2)
(envelope-from <bitcoindev+bncBDD5RM5R7QJRBFWSV27QMGQE2Z5D6KA@googlegroups.com>)
id 1tzXLU-0000XM-6V
for bitcoindev@gnusha.org; Tue, 01 Apr 2025 01:51:44 -0700
Received: by mail-qt1-f189.google.com with SMTP id d75a77b69052e-4767348e239sf96343221cf.0
for <bitcoindev@gnusha.org>; Tue, 01 Apr 2025 01:51:44 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1743497498; cv=pass;
d=google.com; s=arc-20240605;
b=EfDpFHg7m0Fc9u8bsCEx817hn09UAQcdkeHKepPPtZViK6sYTz6Z67lZ8mnS/uVes+
BTy9DYrbb0wmqmGRVDzMS4Q1Qv7yMYtkdXgvN+6dh9n5ObKd5SgMEKOvxHi0wAZUnGVj
5mzMzfMOs3c3h9W6l7pGGB6dBBMIkFBbIq9ZCViSRxXotR8swbeavSESmEF92WTne5FS
8fHktbBesOUlsg4xlwMWZViYM8OKbYhjIrEuAX9ejMoqZNl2jHE3ninRe1nVSk2U7eny
T2ujO/rI8il6rCI3zv5CNM77GDtvfOvxwovXmFschhSNn22tc3Q6fC7lxDKSHCi54GaZ
EV6g==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:subject:from:to:content-language
:user-agent:mime-version:date:message-id:sender:dkim-signature;
bh=SfbXlrAjmNpUGjHKVNAP6zvvjagZz5lfKInxM415A2w=;
fh=ku1iNelib+UEuChjXhpkYYDnVaBXPASjKKSQaepdxxE=;
b=I1+HnP5YoPp8vNKkUGEOmGNRg5+f3in2tMAfcCDTXOuvpBs7NuNxhlhlQvjKB8uXnS
XF2uDEAxhW6DZgOR7Dz5d0tFIf54HTAfE1wm76zXDaCIDydZiupqP7tH30pVS202Nchm
cn4dQtEpkCFDVWEoVXsHbOu5m+GosWIhb1I7RQDaNCl8fxr3FCpb1FKtzFvnTEVS3ZtR
xswuVCDOdUqjJmFqWt5obw2Z1/TIUSIFaMrak/6xeFrHvz+QenDzafhtv1ePgWQZ6j2L
S4KNdusVwQiiiVu0W79LDs+TMO3JmpivydGYiNnQQRkEMDHxDWy2+sqWe96pyu4KpQKG
SOXw==;
darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
dkim=pass header.i=@gmail.com header.s=20230601 header.b=ViQexSSc;
spf=pass (google.com: domain of jonasd.nick@gmail.com designates 2a00:1450:4864:20::431 as permitted sender) smtp.mailfrom=jonasd.nick@gmail.com;
dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com;
dara=pass header.i=@googlegroups.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1743497498; x=1744102298; darn=gnusha.org;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-authentication-results
:x-original-sender:subject:from:to:content-language:user-agent
:mime-version:date:message-id:sender:from:to:cc:subject:date
:message-id:reply-to;
bh=SfbXlrAjmNpUGjHKVNAP6zvvjagZz5lfKInxM415A2w=;
b=MoRYN9jOvHmmO5HqMO6OU7t4M+cps6kFb/BYrW1L196engDy/v3QkMQq8i8xkV/YrA
X7aO1I5W2Pvs4GP8U8t+lEfDvQKrZ8qUDbs/QjtEIgo9sYEQOCbe0bx7+NFhUTgjkd59
tJdF/xonZEGWJ/ZmnF3jq4xrSuyob75+VefrS53Js/l2a+1ItdFfdkGsd5f1C0TraI+Y
QgLpFO7djY8UelildGNw+MBtlQI+KVMZYkz4UeEayd1bVkjOy8PncDDZ/eBKCg/rWKXf
NTCx5SnIch1VD/gvDXNKggw+iYInuU2GLOH2QhhlDHpTluf6nxqX4gEzLG3V4NukqYVi
p2qA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1743497498; x=1744102298;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-authentication-results
:x-original-sender:subject:from:to:content-language:user-agent
:mime-version:date:message-id:sender:x-beenthere:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=SfbXlrAjmNpUGjHKVNAP6zvvjagZz5lfKInxM415A2w=;
b=Xngjo+3VYB5iwBvA9HVxGYZChSZ5NKADxDrL+qwpY+4ZWOiTc3BIFq0FHSC13kEQTK
ggzM/LBQ8dqDmIZWBz8jAGgykhdVKNpoTXLxAH6A1u/iYzqfKVGVsidY+awKjtLO+9rX
94QylBsbUuRmfz6KowwcxORraEm3ajgApGlveAxyjZQ+SJBfQHQSbXiRYvYRt+WPSBbF
OeAxq4yndGmkWZg0ldKu5j2W+aVCzPsfPTTEFjLOp/8lIU/B+B/+ps2ht+wqWDEj9pwm
1DMAWmxESj6FI8A1r9zvaV11oaFxpJXAWGcaK0alIAyHBVAAmVoGZI7pN4Y63G1fGUg5
twrQ==
X-Forwarded-Encrypted: i=2; AJvYcCWmrleovqdSFjv8Y45+fmlmM6EuGujD9St1Nqqh4YmzwbAbD6Z21hDUHS3xRCA+NpHgERvQxMBJmHmz@gnusha.org
X-Gm-Message-State: AOJu0YwH9D44Fmuq+O60kjYcyjfblBeOUm/T31v82m+SOi4GLcYDg7am
xY2/vEqAKW2EqWEj+qPhTPp/Icx80IuS/TYu3OhAZaSeJHwoKipV
X-Google-Smtp-Source: AGHT+IGx+YyYsMAKJptBKSHbGsmBCOV7kJG94JekGas6/WLMGLIzej2nY7p7WUkBxtmVwNmM0S6Szg==
X-Received: by 2002:a05:622a:1914:b0:474:e255:db2c with SMTP id d75a77b69052e-477ed75cb61mr162266531cf.26.1743497497840;
Tue, 01 Apr 2025 01:51:37 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com; h=ARLLPALfTJL2QhqHKeeiirX+PAwgoSAwrzI9p3qXh4VRfjJ2xA==
Received: by 2002:ac8:6601:0:b0:476:b44f:8157 with SMTP id d75a77b69052e-4776e32492dls9457511cf.0.-pod-prod-02-us;
Tue, 01 Apr 2025 01:51:34 -0700 (PDT)
X-Received: by 2002:a05:620a:458c:b0:7c5:a232:8e27 with SMTP id af79cd13be357-7c69071eb03mr1625879885a.11.1743497494467;
Tue, 01 Apr 2025 01:51:34 -0700 (PDT)
Received: by 2002:a05:600c:1d23:b0:43d:85ca:231a with SMTP id 5b1f17b1804b1-43d85ca26f9ms5e9;
Tue, 1 Apr 2025 01:41:40 -0700 (PDT)
X-Received: by 2002:a05:600c:4f0e:b0:43d:abd:ad1c with SMTP id 5b1f17b1804b1-43db61b3623mr92859185e9.6.1743496898741;
Tue, 01 Apr 2025 01:41:38 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1743496898; cv=none;
d=google.com; s=arc-20240605;
b=CcjTK8x7hCmqTCKH0VI2T7X8gHsJqGa7SI7dduT7o0MhpydcdaTNfy2WoiNooBXQ2d
5EXVypU0k+ASX5lEpS9+fd61QQ3EuUBrEbb90AKzT1CfHwpNfnB4XFujdxr6xnbe5uVT
ALgMcBeM4ZaA8UNfZe85Vh7P5qLoi6KcTd+Gq+OPY0PnFAcVIRqszMRSykZBSmoLxJjM
tSqC2NySl05ylZyQILOMJnWXTDXY2BTCFG1W2IwyGgylsJlE/U7lh/Z2zPPHjg7M6ar3
1Tl7u3B4CLIof6Fc/FnwkqvXyxbb93VPo+6ebYHl9Bn3laLUa0cjulQ1udwGWsVa0QBm
AyTw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
h=content-transfer-encoding:subject:from:to:content-language
:user-agent:mime-version:date:message-id:sender:dkim-signature;
bh=QTbuU51//mwLNpyF7J/AF8Q3L7r5MzncsRCTPztgSXE=;
fh=VcGcg+Zjs9gw1uDcHbxsAILhBAcecnbJzZRdxgKVDIc=;
b=iOu9HoPqgg26itUDZDmirWIyTv9QYZzlpamU8H/XWVJorQTXuHWSgXsYpvjhjnDwza
4KH08JkpCh7YDX5bmoLsTzFu98lJL6te5PVLonA/2EPJhKiB7tvsU7DAKlhNwgD3DnGS
CXKgpyyt9AkX1afXRAdjnrfNkHPT+oto4DlEDC/N6x+lVJ3MFBWihlKwqsSOuFsbkA2J
dRc+5Ig2DpoW/lJ0TOqVaSTDBdCM2wwMRueMeqZBXxbsqGw6gSvEIkrOBS71zbtgaEBk
k7WaJjLYP706itfdquxMgn5/VXxRtBmQvYOGDcyx9nOf+Bl8XEpA47mC7XsNUGiR6lrx
BF8Q==;
dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
dkim=pass header.i=@gmail.com header.s=20230601 header.b=ViQexSSc;
spf=pass (google.com: domain of jonasd.nick@gmail.com designates 2a00:1450:4864:20::431 as permitted sender) smtp.mailfrom=jonasd.nick@gmail.com;
dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com;
dara=pass header.i=@googlegroups.com
Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com. [2a00:1450:4864:20::431])
by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-43ea8d16d67si890095e9.0.2025.04.01.01.41.38
for <bitcoindev@googlegroups.com>
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Tue, 01 Apr 2025 01:41:38 -0700 (PDT)
Received-SPF: pass (google.com: domain of jonasd.nick@gmail.com designates 2a00:1450:4864:20::431 as permitted sender) client-ip=2a00:1450:4864:20::431;
Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-38f2f391864so3179548f8f.3
for <bitcoindev@googlegroups.com>; Tue, 01 Apr 2025 01:41:38 -0700 (PDT)
X-Gm-Gg: ASbGncu5eT6ehkTiD6PwNZHHpgKXOtLo2+5aKgBhfaD0gsOe3+Of5FjtWbxytn5WapW
czg94UpyjwPQWbzkb4Njl+20QaJ9kl4SpdPuI23sq2yoHBKpxzdWXIVy2SXCqaUWSqjpPNB6AoG
B9EhjsiGl8zQYN2jMyXS1MLdiH1M9Sn4xbNYlw3c/227i9op/utAhLMV/7Pwbv7LccmqRv+8rKO
kS0b6CWbwTQKfyeqq3r30uUaPvZbIb1IftTevwKv/fgEVXdvLhp10TIZQAeO4k1fAhA6NdDCiVv
pei1dHZGYDL0HN5Hkpwk3wkHLyKW2wR8oHFEWBbsLnVLyHOUnrl1kh3q38v/17cfGh8hVG4nWv+
qmvFw6eV0rRv3Xw==
X-Received: by 2002:a05:6000:40e0:b0:391:304f:34e7 with SMTP id ffacd0b85a97d-39c12115db9mr9342190f8f.44.1743496898177;
Tue, 01 Apr 2025 01:41:38 -0700 (PDT)
Received: from [10.11.10.42] (p54b845a9.dip0.t-ipconnect.de. [84.184.69.169])
by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-39c0b663860sm13673639f8f.39.2025.04.01.01.41.37
for <bitcoindev@googlegroups.com>
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Tue, 01 Apr 2025 01:41:37 -0700 (PDT)
Sender: Jonas Nick <jonasdnick@gmail.com>
Message-ID: <d0044f9c-d974-43ca-9891-64bb60a90f1f@gmail.com>
Date: Tue, 1 Apr 2025 08:41:37 +0000
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: bitcoindev@googlegroups.com
From: Jonas Nick <jonasd.nick@gmail.com>
Subject: [bitcoindev] secp256k1lab: a Python library for prototyping
Content-Type: text/plain; charset="UTF-8"; format=flowed
X-Original-Sender: jonasdnick@gmail.com
X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass
header.i=@gmail.com header.s=20230601 header.b=ViQexSSc; spf=pass
(google.com: domain of jonasd.nick@gmail.com designates 2a00:1450:4864:20::431
as permitted sender) smtp.mailfrom=jonasd.nick@gmail.com; dmarc=pass
(p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.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 (/)
Hello list,
We're pleased to announce the initial release of secp256k1lab, an INSECURE
implementation of the secp256k1 elliptic curve and related cryptographic schemes
written in Python, intended for prototyping, experimentation and education.
https://github.com/secp256k1lab/secp256k1lab
Features:
- Low-level secp256k1 field and group arithmetic.
- Schnorr signing/verification and key generation according to BIP-340.
- ECDH key exchange.
We developed secp256k1lab as part of our work on the ChillDKG work-in-progress
BIP [0]. It is based on the secp256k1 implementation in the Bitcoin Core test
framework.
Our goal was to avoid including yet another custom Python implementation of the
secp256k1 curve in the ChillDKG reference code. Several existing BIPs (340, 324,
327, and 352) already contain custom and sometimes subtly diverging
implementations of secp256k1. This library aims to provide a single, consistent
interface for secp256k1-related cryptographic specifications.
At the moment, secp256k1lab is included in the ChillDKG repository as a subtree.
It remains an open question what would be the best approach for including ChillDKG
(with the secp256k1lab dependency) into the bips repository [1].
We welcome your feedback and contributions to this project.
Best regards,
The current secp256k1lab maintainers: Sebastian Falbesoner, Jonas Nick, Tim
Ruffing
[0] https://github.com/BlockstreamResearch/bip-frost-dkg
[1] https://groups.google.com/g/bitcoindev/c/HE3HSnGTpoQ/m/Y2VhaMCrCAAJ
(We renamed secp256k1proto to secp256k1lab)
--
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/d0044f9c-d974-43ca-9891-64bb60a90f1f%40gmail.com.
|