Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: Bitcoind does not like ECDSA (r, s) pair produced by OpenSSL
by
gmaxwell
on 24/10/2018, 00:53:10 UTC
⭐ Merited by ETFbitcoin (1)
The DER encoder in OpenSSL is correct, but the above examples apparently weren't using it.  The result of "I made my own DER encoder" is usually wrong... it's not hard to encode DER correctly but it takes a little effort that people don't bother to put in.

Even once you get the encoding right, you'll still have to obey the lowS rule: https://bitcoin.stackexchange.com/questions/59820/sign-a-tx-with-low-s-value-using-openssl