<oembed><type>rich</type><version>1.0</version><author_name>npub1zw7cc8z78v6s3grujfvcv3ckpvg6kr0w7nz9yzvwyglyg0qu5sjsqhkhpx</author_name><author_url>https://nostr.ae/npub1zw7cc8z78v6s3grujfvcv3ckpvg6kr0w7nz9yzvwyglyg0qu5sjsqhkhpx</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2015-01-21&#xA;📝 Original message:Pieter Wuille &lt;pieter.wuille at gmail.com&gt; writes:&#xA;&gt; Hello everyone,&#xA;&gt;&#xA;&gt; We&#39;ve been aware of the risk of depending on OpenSSL for consensus&#xA;&gt; rules for a while, and were trying to get rid of this as part of BIP&#xA;&gt; 62 (malleability protection), which was however postponed due to&#xA;&gt; unforeseen complexities. The recent evens (see the thread titled&#xA;&gt; &#34;OpenSSL 1.0.0p / 1.0.1k incompatible, causes blockchain rejection.&#34;&#xA;&gt; on this mailing list) have made it clear that the problem is very&#xA;&gt; real, however, and I would prefer to have a fundamental solution for&#xA;&gt; it sooner rather than later.&#xA;&gt;&#xA;&gt; I therefore propose a softfork to make non-DER signatures illegal&#xA;&gt; (they&#39;ve been non-standard since v0.8.0). A draft BIP text can be&#xA;&gt; found on:&#xA;&gt;&#xA;&gt;     https://gist.github.com/sipa/5d12c343746dad376c80&#xA;&#xA;Cut and paste bug in the last check:&#xA;&#xA;// Null bytes at the start of R are not allowed, unless it would otherwise be&#xA;// interpreted as a negative number.&#xA;    if (lenS &gt; 1 &amp;&amp; (sig[lenR + 6] == 0x00) &amp;&amp; !(sig[lenR + 7] &amp; 0x80))&#xA;    return false;&#xA;&#xA;You mean &#34;null bytes at the start of S&#34;.&#xA;&#xA;Cheers,&#xA;Rusty.</html></oembed>