Skip to content

Commit 96161ae

Browse files
authored
Merge pull request bitcoin#1591 from siv2r/bip327-fix-verify-fail-vector
Fix the first two test vectors of verify fail test
2 parents 911e710 + 508e3a6 commit 96161ae

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

bip-0327.mediawiki

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,8 @@ An exception to this rule is <code>MAJOR</code> version zero (0.y.z) which is fo
785785
The <code>MINOR</code> version is incremented whenever the inputs or the output of an algorithm changes in a backward-compatible way or new backward-compatible functionality is added.
786786
The <code>PATCH</code> version is incremented for other changes that are noteworthy (bug fixes, test vectors, important clarifications, etc.).
787787
788+
* '''1.0.1''' (2024-05-14):
789+
** Fix minor issue in ''PartialSigVerify'' vectors.
788790
* '''1.0.0''' (2023-03-26):
789791
** Number 327 was assigned to this BIP.
790792
* '''1.0.0-rc.4''' (2023-03-02):

bip-0327/vectors/sign_verify_vectors.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,15 @@
157157
],
158158
"verify_fail_test_cases": [
159159
{
160-
"sig": "97AC833ADCB1AFA42EBF9E0725616F3C9A0D5B614F6FE283CEAAA37A8FFAF406",
160+
"sig": "FED54434AD4CFE953FC527DC6A5E5BE8F6234907B7C187559557CE87A0541C46",
161161
"key_indices": [0, 1, 2],
162162
"nonce_indices": [0, 1, 2],
163163
"msg_index": 0,
164164
"signer_index": 0,
165165
"comment": "Wrong signature (which is equal to the negation of valid signature)"
166166
},
167167
{
168-
"sig": "68537CC5234E505BD14061F8DA9E90C220A181855FD8BDB7F127BB12403B4D3B",
168+
"sig": "012ABBCB52B3016AC03AD82395A1A415C48B93DEF78718E62A7A90052FE224FB",
169169
"key_indices": [0, 1, 2],
170170
"nonce_indices": [0, 1, 2],
171171
"msg_index": 0,
@@ -183,7 +183,7 @@
183183
],
184184
"verify_error_test_cases": [
185185
{
186-
"sig": "68537CC5234E505BD14061F8DA9E90C220A181855FD8BDB7F127BB12403B4D3B",
186+
"sig": "012ABBCB52B3016AC03AD82395A1A415C48B93DEF78718E62A7A90052FE224FB",
187187
"key_indices": [0, 1, 2],
188188
"nonce_indices": [4, 1, 2],
189189
"msg_index": 0,
@@ -196,7 +196,7 @@
196196
"comment": "Invalid pubnonce"
197197
},
198198
{
199-
"sig": "68537CC5234E505BD14061F8DA9E90C220A181855FD8BDB7F127BB12403B4D3B",
199+
"sig": "012ABBCB52B3016AC03AD82395A1A415C48B93DEF78718E62A7A90052FE224FB",
200200
"key_indices": [3, 1, 2],
201201
"nonce_indices": [0, 1, 2],
202202
"msg_index": 0,

0 commit comments

Comments
 (0)