<div dir="ltr"><div>Hi Andre,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 20 Nov 2019 at 19:27, Andre McCurdy &lt;<a href="mailto:armccurdy@gmail.com">armccurdy@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Nov 20, 2019 at 11:09 AM Mark Hatle<br>
&lt;<a href="mailto:mark.hatle@kernel.crashing.org" target="_blank">mark.hatle@kernel.crashing.org</a>&gt; wrote:<br>
&gt; On 11/20/19 1:06 PM, Ryan Harkin wrote:<br>
&gt; &gt; On Wed, 20 Nov 2019 at 18:36, Mark Hatle &lt;<a href="mailto:mark.hatle@kernel.crashing.org" target="_blank">mark.hatle@kernel.crashing.org</a><br>
&gt; &gt; &lt;mailto:<a href="mailto:mark.hatle@kernel.crashing.org" target="_blank">mark.hatle@kernel.crashing.org</a>&gt;&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;     You know that 1.0.2 and 1.1 APIs are not compatible?  So you will need to update<br>
&gt; &gt;     everything that needs OpenSSL to understand the new API.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; So far, we&#39;re only using it in a shell script to sign an image and later verify<br>
&gt; &gt; the image, so I&#39;ve assumed, perhaps naively, that the API changes won&#39;t matter...<br>
&gt;<br>
&gt; Correct, but there may be other components of the system that could be using the<br>
&gt; API that you are unaware of.  On a system as old as Sumo, you will need to take<br>
&gt; precautions to ensure that ONLY the 1.1x version is being used.  (There may be<br>
&gt; an openssl10 for compatibility that will need to be blacklisted.)<br>
&gt;<br>
&gt; &gt;     For CVE fixes, typically you would patch 1.0.2p, or update to the latest<br>
&gt; &gt;     (1.0.2t) as you go.  (If you have an OSV, this should be part of the services<br>
&gt; &gt;     that they offer you.)<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;     In my opinion, 1.0.2 will be around for at least another 4-5 years due to the<br>
&gt; &gt;     number of people actively using it in the world.  Until 1.1/3.0 (won&#39;t be a 2.0<br>
&gt; &gt;     from what I read) exists and has a FIPS-140-2 support available -- people will<br>
&gt; &gt;     continue to use 1.0.2 and maintain it as necessary for security.<br>
&gt; &gt;<br>
&gt; &gt;     As an FYI:  <a href="http://git.yoctoproject.org/cgit/cgit.cgi/meta-openssl102/" rel="noreferrer" target="_blank">http://git.yoctoproject.org/cgit/cgit.cgi/meta-openssl102/</a><br>
&gt; &gt;<br>
&gt; &gt;     This version is for thud, warrior, zeus and master.  It is intended to be<br>
&gt; &gt;     maintained until either 1.0.2 is no longer maintainable -- or the FIPS-140-2<br>
&gt; &gt;     needs have been met by OpenSSL.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Great, that looks like a better option anyway, assuming it has the latest fixes<br>
&gt; &gt; I need, and doesn&#39;t give me the same build problem.  Thanks for pointing it out.<br>
&gt; &gt; I&#39;ll give it a go.<br>
&gt;<br>
&gt; It&#39;s better to work with the Sumo version for your needs.  I just posted that as<br>
&gt; an example of openssl 1.0.2 being needed still by others, even as oe-core/Yocto<br>
&gt; Project have changed their defaults.<br>
<br>
If you want an up to date openssl 1.0.2 recipe which is compatible<br>
with Sumo, you can find one here:<br>
<br>
  <a href="https://github.com/armcc/meta-plumewifi" rel="noreferrer" target="_blank">https://github.com/armcc/meta-plumewifi</a><br>
<br>
I&#39;m only actively testing it with OE 1.6 (Daisy) and OE 2.7 (Warrior)<br>
but it should work for all versions in between (and if it doesn&#39;t I&#39;ll<br>
accept patches or try to fix it).<br></blockquote><div><br></div><div>Thanks! It looks similar to the tree Mark Hatle pointed out to me. Two diffs jump out:</div><div><br></div><div>- Your repo adds the RPROVIDES for openssl-bin to &quot;Be compatible with the openssl 1.1.x recipe&quot;.</div><div>- Mark&#39;s repo has two extra patches:</div><div>           file://0001-Fix-BN_LLONG-breakage.patch \<br>           file://0001-Fix-DES_LONG-breakage.patch \</div><div><br></div><div>Regards,</div><div>Ryan.</div></div></div>