<html><body>&gt;From: "Burton, Ross" <ross.burton@intel.com><br>&gt;To: joseph-reynolds@charter.net<br>&gt;Cc: "openembedded-core@lists.openembedded.org"<br>&gt;Sent: Wednesday September 12 2018 7:20:27AM<br>&gt;Subject: Re: [OE-core] [PATCH] disable medium-strength dropbear ssh ciphers<br>&gt;<br> &gt;Presumably this doesn't actually work as you're just adding a file to<br>
 &gt;git without actually referring to it anywhere.<br></ross.burton@intel.com><div><ross.burton@intel.com>
 &gt;</ross.burton@intel.com></div><div><ross.burton@intel.com><br></ross.burton@intel.com></div><div><ross.burton@intel.com></ross.burton@intel.com><ross.burton@intel.com><div>Thanks for your email.&nbsp; I am still 
trying to get the Dropbear patch upstreamed.&nbsp; (This is my first patch, 
so I am a bit of an open source noob.)<br></div><div><br></div><div>To 
address your concern: Dropbear version 2018.76 and later build process 
specifically looks for the localoptions.h file as the way to customize 
dropbear.&nbsp; (Note the&nbsp; 2017.75 and earlier versions use a different 
mechanism to customize.)&nbsp; See the Makefile.in file for details.<br></div><div><br></div><div>However,
 now I am wondering if patching Dropbear's default_options.h file would 
be a better way to make this change.&nbsp; Adding a localoption.h file is the
 way to customize dropbear.&nbsp; But I want to change the *default* behavior
 of dropbear so that it uses the same encryption ciphers as OpenSSH.&nbsp; I 
think patching default_options.h would be better way to accomplish that 
goal.&nbsp; And that patch could be applied to the Dropbear project itself.</div><div><br></div></ross.burton@intel.com></div><ross.burton@intel.com>
 &gt;Ross<br>
 &gt;<br>
 &gt;On 7 September 2018 at 20:16, &lt;joseph-reynolds@charter.net&gt; wrote:<br>
 &gt; This changes the Dropbear SSH server configuration so it will not<br>
 &gt; accept medium-strength encryption ciphers including: CBC mode, MD5,<br>
 &gt; 96-bit MAC, and triple DES.<br>
 &gt;<br>
 &gt; Upstream-Status: Pending<br>
 &gt;<br>
 &gt; Signed-off-by: Joseph Reynolds &lt;joseph-reynolds@charter.net&gt;<br>
 &gt; ---<br>
 &gt; meta/recipes-core/dropbear/dropbear/localoptions.h | 8 ++++++++<br>
 &gt; 1 file changed, 8 insertions(+)<br>
 &gt; create mode 100644 meta/recipes-core/dropbear/dropbear/localoptions.h<br>
 &gt;<br>
 &gt; diff --git a/meta/recipes-core/dropbear/dropbear/localoptions.h<br>
 &gt; b/meta/recipes-core/dropbear/dropbear/localoptions.h<br>
 &gt; new file mode 100644<br>
 &gt; index 0000000..ec48c26<br>
 &gt; --- /dev/null<br>
 &gt; +++ b/meta/recipes-core/dropbear/dropbear/localoptions.h<br>
 &gt; @@ -0,0 +1,8 @@<br>
 &gt; +/* Customize dropbear per default_options.h in the dropbear project */<br>
 &gt; +<br>
 &gt; +/* Disable insecure ciphers */<br>
 &gt; +#define DROPBEAR_TWOFISH256 0<br>
 &gt; +#define DROPBEAR_TWOFISH128 0<br>
 &gt; +#define DROPBEAR_ENABLE_CBC_MODE 0<br>
 &gt; +#define DROPBEAR_SHA1_HMAC 0<br>
 &gt; +#define DROPBEAR_SHA1_96_HMAC 0<br>
 &gt; --<br>
 &gt; 2.7.2<br>
 &gt;<br>
 &gt;<br>
 &gt;<br>
 &gt; --<br>
 &gt; _______________________________________________<br>
 &gt; Openembedded-core mailing list<br>
 &gt; Openembedded-core@lists.openembedded.org<br>
 &gt; <a target="_blank" href="http://lists.openembedded.org/mailman/listinfo/openembedded-core<br">http://lists.openembedded.org/mailman/listinfo/openembedded-core<br>
 /&gt; &gt;<br>
 </a></ross.burton@intel.com></body></html>