Skip to content

Commit 84a64ec

Browse files
bip340: Change license of code and test vectors
See https://github.com/bitcoin/bips/commits/master/bip-0340 for a list of contributors. I have obtained permission to do this change from all contributors in private. Nevertheless, it would be good to get an ACK from every contributor in order to have publicly available evidence. - [ ] @sipa - [ ] @jonasnick - [ ] @theStack - [ ] @ysangkok I haven't contacted @Sajjon and @satsie, whose contributions constitute of fixing not more than two typos and are thus below the threshold of originality required for copyright to be applicable.
1 parent fade15c commit 84a64ec

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

bip-0340.mediawiki

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
Status: Final
1010
Type: Standards Track
1111
License: BSD-2-Clause
12+
License-Code: BSD-2-Clause
13+
MIT
14+
CC0-1.0
1215
Created: 2020-01-19
1316
Post-History: 2018-07-06: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2018-July/016203.html [bitcoin-dev] Schnorr signatures BIP
1417
</pre>
@@ -284,7 +287,10 @@ Blind Schnorr signatures could for example be used in [https://github.com/Elemen
284287

285288
== Test Vectors and Reference Code ==
286289

287-
For development and testing purposes, we provide a [[bip-0340/test-vectors.csv|collection of test vectors in CSV format]] and a naive, highly inefficient, and non-constant time [[bip-0340/reference.py|pure Python 3.7 reference implementation of the signing and verification algorithm]].
290+
For development and testing purposes, we provide a [[bip-0340/test-vectors.csv|collection of test vectors in CSV format]],
291+
a naive, highly inefficient, and non-constant time [[bip-0340/reference.py|pure Python 3.7 reference implementation of the signing and verification algorithm]]
292+
as well as the [[bip340/test-vectors.py|script used to generate the test vectors]]
293+
under the BSD-2-Clause License, or the MIT License, or CC0 1.0, at your choice.
288294
The reference implementation is for demonstration purposes only and not to be used in production environments.
289295

290296
== Changelog ==
@@ -294,6 +300,7 @@ To help implementers understand updates to this BIP, we keep a list of substanti
294300
* 2022-08: Fix function signature of lift_x in reference code
295301
* 2023-04: Allow messages of arbitrary size
296302
* 2024-05: Update "Applications" section with more recent references
303+
* 2025-04: Change license of test vectors and code
297304
298305
== Footnotes ==
299306

bip-0340/LICENSE

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
BSD-2-Clause OR MIT OR CC0-1.0
2+
3+
The contents of this directory are provided under one of the following sets of
4+
terms, at your choice:
5+
6+
- The BSD-2-Clause License
7+
https://opensource.org/license/BSD-2-Clause
8+
- The MIT License
9+
https://opensource.org/license/MIT
10+
- CC0 1.0
11+
https://creativecommons.org/publicdomain/zero/1.0/

0 commit comments

Comments
 (0)