<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: Thursday September 13 2018 11:00:26AM<br>&gt;Subject: Re: [OE-core] [PATCH v2] dropbear: disable medium-strength ssh ciphers<br>&gt;<br> &gt;This still can't be actually used, because dropbear won't be looking<br>
 &gt;in the recipe folder and nothing puts that file into the source tree.<br>
 &gt;Put a #error in it if you don't believe me. :)<br></ross.burton@intel.com><br><div><div>Thanks for pointing that out.&nbsp; I had conflated the OE &amp; Yocto recipes, then forgot to include the recipe change in my patch.&nbsp; My home project is actually https://github.com/openbmc/openbmc, so I set out to upstream this change to Yocto/Poky, OE, and Dropbear.&nbsp; Thanks for your patience, as this is my first attempt to upstream.<br></div><div><br></div><div>My second issue is creating a correct patch.&nbsp; I used&nbsp; git format-patch HEAD^&nbsp; and then cut/paste the result into my web-based email reader.&nbsp; The patch appears correct, but the automation says my patch is mal-formed.&nbsp; I am still trying to enable sending plain-text email from my shell environment.<br></div></div><div><br></div><div>Finally, I want to change my approach.&nbsp; I had been updating the dropbear localoptions.h file to customize Dropbear's behavior.&nbsp; But I really want to change Dropbear's default behavior for everyone, which means I should update default_options.h and leave localoptions.h alone.&nbsp; I plan to create a pull request to update the Dropbear project default_options.h file, and a patch for openembedded-core to change the dropbear_2018.76.bb recipe to pick up the Dropbear patch.<br></div><div><br></div><div>- Joseph<br></div><div><br></div><div><ross.burton@intel.com>&gt;Ross</ross.burton@intel.com></div><div>&gt;<br><ross.burton@intel.com></ross.burton@intel.com></div><ross.burton@intel.com>
 &gt;<br>
 &gt;On 12 September 2018 at 22:56, &lt;joseph-reynolds@charter.net&gt; wrote:<br>
 &gt;&gt; This changes the Dropbear SSH server configuration so it will not<br>
 &gt;&gt; accept medium-strength encryption ciphers including: CBC mode, MD5,<br>
 &gt;&gt; 96-bit MAC, and triple DES. This is consistent with the default<br>
 &gt;&gt; supported OpenSSH ciphers.<br>
 &gt;&gt;<br>
 &gt;&gt; Upstream-Status: Pending<br>
 &gt;&gt;<br>
 &gt;&gt; Signed-off-by: Joseph Reynolds &lt;joseph-reynolds@charter.net&gt;<br>
 &gt;&gt; ---<br>
 &gt;&gt; meta/recipes-core/dropbear/dropbear/localoptions.h | 8 ++++++++<br>
 &gt;&gt; 1 file changed, 8 insertions(+)<br>
 &gt;&gt; create mode 100644 meta/recipes-core/dropbear/dropbear/localoptions.h<br>
 &gt;&gt;<br>
 &gt;&gt; diff --git a/meta/recipes-core/dropbear/dropbear/localoptions.h<br>
 &gt;&gt; b/meta/recipes-core/dropbear/dropbear/localoptions.h<br>
 &gt;&gt; new file mode 100644<br>
 &gt;&gt; index 0000000..ec48c26<br>
 &gt;&gt; --- /dev/null<br>&gt;&gt; +++ b/meta/recipes-core/dropbear/dropbear/localoptions.h<br>
 &gt;&gt; @@ -0,0 +1,8 @@<br>
 &gt;&gt; +/* Customize dropbear per default_options.h in the dropbear project */<br>
 &gt;&gt; +<br>
 &gt;&gt; +/* Disable insecure ciphers */<br>
 &gt;&gt; +#define DROPBEAR_TWOFISH256 0<br>
 &gt;&gt; +#define DROPBEAR_TWOFISH128 0<br>
 &gt;&gt; +#define DROPBEAR_ENABLE_CBC_MODE 0<br>
 &gt;&gt; +#define DROPBEAR_SHA1_HMAC 0<br>
 &gt;&gt; +#define DROPBEAR_SHA1_96_HMAC 0<br>
 &gt;&gt; --<br>
 &gt;&gt; 1.8.3.1<br>
 &gt;&gt;<br>
 &gt;&gt;<br>
 &gt;&gt; --<br><a target="_blank" href="http://lists.openembedded.org/mailman/listinfo/openembedded-core<br"><br>
 </a></ross.burton@intel.com></body></html>