Skip to content

Commit 7ae4532

Browse files
josibakecpu
authored andcommitted
docs: improve signature malleability wording
Update comment to indicate these test vectors should only be used for implementations that _do not_ allow signature malleability. If an implementation tolerates or even requires malleability, it should be tested with a different set of test vectors.
1 parent 1f32ea7 commit 7ae4532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testvectors_v1/ecdsa_secp256k1_sha256_bitcoin_test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
},
9696
"SignatureMalleabilityBitcoin" : {
9797
"bugType" : "SIGNATURE_MALLEABILITY",
98-
"description" : "Signature malleability can be a serious issue in Bitcoin. An implementation should only accept a signature s where s < n/2. If an implementation is not meant for use cases that require signature malleability then this implementation should be tested with another set of test vectors.",
98+
"description" : "Signature malleability can be a serious issue in Bitcoin. An implementation should only accept a signature s where s < n/2. If an implementation is meant for use cases that tolerate signature malleability then this implementation should not be tested with this set of test vectors.",
9999
"effect" : "In Bitcoin exchanges, it may be used to make a double deposits or double withdrawals",
100100
"links" : [
101101
"https://en.bitcoin.it/wiki/Transaction_malleability",

0 commit comments

Comments
 (0)