[BTC-dev] Enforcement of 'S' value in DER signatures

Shane Kinney modsix at gmail.com
Mon Jan 25 04:48:13 UTC 2016


URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20160124/attachment.txt?sha1=ab5495c07af390a3355068cd9d1bba7fdc8691b6>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

This non-trival patch will allow the user three options in regards to the
'S' value in DER signatures: No enforcement [default], Low 'S' enforcement,
and High 'S' enforcement.

To utilize these options when executing `bitcoind`:

[No Enforcement]: No flag required.  Will use an unaltered 'S' value. [default]
[Low  S]: Use the '-lows' flag to enforce Low 'S' value in DER signatures.
[High S]: Use the '-highs' flag to enforce High 'S' value in DER signatures.

The user may *NOT* use '-lows' and '-highs' together at the same time.

These options must be utilized at start-up time for `bitcoind`.

Enjoy!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iQIcBAEBCgAGBQJWpaI0AAoJEHIXBai3Hq2vWXwQAJEKJPTmJJXLYTts/pz8EdKU
nZ3w6ZtmI7OWX+NR4ZQyBSMWv9dlGf8n6tC+TK7ZoVDFyr4T8YxsY++l1KRe876O
rKyX5I7qoBSPcFWW2Jd8/c9MVwTobsvBrqZnbRRbjraK4DHx1A5JVx0viL2LxBjR
vaCpusEZWoFGQpfnaSaTNM9Yh0a1sr15VqeoZ9KjjtEMWr41ROmJbZQRx4So3drn
rqeyVL6ccl/uyEdtSBBS4JWMPIfxMeXOs7qBes5YG5W0qdIXIlFmeeom+03z3f0J
oypPqthMkzL1ttfmI6uYdNtSRJ7i6S0Wy8knrPm3dHuysplcQpwCAEPbw5HA+JYF
WV7RemimNf4op6go/jx2MbQj3eYp5dK6ZjxBUJMkLkGFeP+KRjcXypPCaOfDAat1
g8KkHiUrxa3BXphM1EgLuHn5latpBYfiNooeE3rG44VPR2YFs+40n8f6rGsB0m7b
0QJLkwQRcN9SpUlqsuR3I+Pi4cEvaxzQVTFmmda8VDbsdES8CmszlTJcDtVzle12
+NYSOCECjwYIi2rSugcaVJN5BvVumh09egfbnSEdWoYVY3hclFgmUqGIKcb22Egk
cNJAnhWqmemRZ107xg5Cy9Q/QyOTk4zfktDJdQOErb/eSycwKdSlt6ErHxahvj2Y
4lyfd/CEyzCBB2wWcN/o
=nVNo
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod6_der_high_low_s.vpatch
Type: application/octet-stream
Size: 4831 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20160124/mod6_der_high_low_s.vpatch?sha1=144437441381ff2df5ea54b7230a963b96aba0ed>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod6_der_high_low_s.vpatch.mod6.sig
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20160124/mod6_der_high_low_s.vpatch.mod6.sig?sha1=7a7dec0ecd3a6bb7d9baad956f687a5cb0b838dc>


More information about the BTC-dev mailing list