<HTML><HEAD><!-- Template generated by Exclaimer Mail Disclaimers on 09:04:55 woensdag, 17 augustus 2016 -->
<STYLE type=text/css>P.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY>
<P class=ImprintUniqueID><div>Ping!<br /><br />Any comments?<br /><br />On 09-08-16 13:36, Mike Looijmans wrote:<br />&gt; This patch adds DROPBEAR_RSAKEY_ARGS and DROPBEAR_DSSKEY_ARGS optional<br />&gt; parameters to /etc/default/dropbear. The contents are simply passed to<br />&gt; the &#39;dropbearkey&#39; program when generating a host key.<br />&gt;<br />&gt; The default keysize for RSA is currently 2048 bits. It takes a CortexA9<br />&gt; running at 700MHz between 4 and 10 seconds to calculate a keypair. The<br />&gt; board boots Linux in about a second, but you have to wait for several<br />&gt; seconds because of the keypair generation. This patch allows one to put<br />&gt; the line DROPBEAR_RSAKEY_ARGS="-s 1024" into /etc/default/dropbear, and<br />&gt; have a host key generated in about 0.2 seconds on the same CPU. This is<br />&gt; particulary useful for read-only rootfs systems which generate a key on<br />&gt; each boot.<br />&gt;<br />&gt; Signed-off-by: Mike Looijmans &lt;mike.looijmans@topic.nl&gt;<br />&gt; ---<br />&gt; meta/recipes-core/dropbear/dropbear/init | 4 ++--<br />&gt; 1 file changed, 2 insertions(+), 2 deletions(-)<br />&gt;<br />&gt; diff --git a/meta/recipes-core/dropbear/dropbear/init<br />&gt; b/meta/recipes-core/dropbear/dropbear/init<br />&gt; index e8fed3f..434bd6b 100755<br />&gt; --- a/meta/recipes-core/dropbear/dropbear/init<br />&gt; +++ b/meta/recipes-core/dropbear/dropbear/init<br />&gt; @@ -62,13 +62,13 @@ for t in $DROPBEAR_KEYTYPES; do<br />&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if [ -f "$DROPBEAR_RSAKEY" -a ! -s "$DROPBEAR_RSAKEY" ]; then<br />&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rm $DROPBEAR_RSAKEY || true<br />&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi<br />&gt; - &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;test -f $DROPBEAR_RSAKEY || dropbearkey -t rsa -f $DROPBEAR_RSAKEY<br />&gt; + &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;test -f $DROPBEAR_RSAKEY || dropbearkey -t rsa -f $DROPBEAR_RSAKEY<br />&gt; $DROPBEAR_RSAKEY_ARGS<br />&gt; &nbsp;&nbsp;;;<br />&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dsa)<br />&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if [ -f "$DROPBEAR_DSSKEY" -a ! -s "$DROPBEAR_DSSKEY" ]; then<br />&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rm $DROPBEAR_DSSKEY || true<br />&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi<br />&gt; - &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;test -f $DROPBEAR_DSSKEY || dropbearkey -t dss -f $DROPBEAR_DSSKEY<br />&gt; + &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;test -f $DROPBEAR_DSSKEY || dropbearkey -t dss -f $DROPBEAR_DSSKEY<br />&gt; $DROPBEAR_DSSKEY_ARGS<br />&gt; &nbsp;&nbsp;;;<br />&gt; &nbsp;&nbsp;&nbsp;esac<br />&gt; done<br />&gt; --<br />&gt; 1.9.1<br />&gt;<br />&gt; Kind regards,<br />&gt;<br />&gt; Mike Looijmans<br />&gt;<br />&gt; System Expert<br />&gt;<br />&gt;<br />&gt;<br />&gt; *TOPIC Products*<br />&gt;<br />&gt; &nbsp;<br />&gt;<br />&gt; &nbsp;<br />&gt;<br />&gt; Materiaalweg 4<br />&gt;<br />&gt; &nbsp;<br />&gt;<br />&gt; &nbsp;<br />&gt;<br />&gt; 5681 RJ Best<br />&gt;<br />&gt; &nbsp;<br />&gt;<br />&gt; T:<br />&gt;<br />&gt; &nbsp;<br />&gt;<br />&gt; +31 (0) 499 33 69 69<br />&gt;<br />&gt; Postbus 440<br />&gt;<br />&gt; &nbsp;<br />&gt;<br />&gt; E:<br />&gt;<br />&gt; &nbsp;<br />&gt;<br />&gt; mike.looijmans@topicproducts.com<br />&gt;<br />&gt; 5680 AK Best<br />&gt;<br />&gt; &nbsp;<br />&gt;<br />&gt; W:<br />&gt;<br />&gt; &nbsp;<br />&gt;<br />&gt; www.topicproducts.com &lt;http://www.topicproducts.com&gt;<br />&gt;<br />&gt; The Netherlands &nbsp;&nbsp;&nbsp;<br />&gt;<br />&gt; &lt;https://www.facebook.com/TopicProducts&gt;&lt;https://twitter.com/TopicProducts&gt;&lt;https://www.linkedin.com/company/topic-embedded-products&gt;<br />&gt; Please consider the environment before printing this e-mail<br />&gt;<br />&gt;<br />&gt; Topic zoekt gedreven (embedded) software specialisten!<br />&gt; &lt;http://topic.nl/vacancy/topic-zoekt-technische-software-engineers/&gt;<br />&gt;<br /><br /></div></P>
<P class=ImprintUniqueID><FONT face="Calibri Light"></FONT>&nbsp;</P>
<P class=ImprintUniqueID><FONT face="Calibri Light">Kind regards,</FONT></P>
<P class=ImprintUniqueID><FONT face="Calibri Light"></FONT>&nbsp;</P>
<P class=ImprintUniqueID><font style='font-family:Calibri Light;font-size:12pt;font-weight:bold;'>Mike Looijmans</font></P>
<P class=ImprintUniqueID><font style='font-family:Calibri Light;font-size:12pt;'>System Expert</font></P>
<P class=ImprintUniqueID><FONT face="Calibri Light"></FONT>&nbsp;</P>
<P class=ImprintUniqueID><FONT face="Calibri Light"></FONT></P>
<P class=ImprintUniqueID><FONT face="Calibri Light"></FONT></P>
<P class=ImprintUniqueID><img width=375 height=74 style='border: 0px Solid ; 'src="cid:image188c63.PNG@b4f8a702.46ba7ebf"><BR /><BR /></P>
<P class=ImprintUniqueID>
<TABLE class=ImprintUniqueIDTable style="HEIGHT: 72px; BORDER-COLLAPSE: collapse; WIDTH: 475px" cellSpacing=0 cols=3 cellPadding=0 border=0>
  <TBODY>
  <TR>
    <TD style="WIDTH: 205px">
      <P class=ImprintUniqueID><FONT size=1 face="Calibri Light"><STRONG>TOPIC
      Products</STRONG></FONT></P></TD>
    <TD style="WIDTH: 6px">
      <P class=ImprintUniqueID><FONT size=1 face="Calibri Light"></FONT>&nbsp;</P></TD>
    <TD style="WIDTH: 256px">
      <P class=ImprintUniqueID><FONT size=1 face="Calibri Light"></FONT>&nbsp;</P></TD></TR>
  <TR>
    <TD>
      <P class=ImprintUniqueID><FONT size=1 face="Calibri Light">Materiaalweg
      4</FONT></P></TD>
    <TD style="WIDTH: 29px">
      <P class=ImprintUniqueID><FONT size=1 face="Calibri Light"></FONT>&nbsp;</P></TD>
    <TD>
      <P class=ImprintUniqueID><FONT size=1 face="Calibri Light"></FONT>&nbsp;</P></TD></TR>
  <TR>
    <TD>
      <P class=ImprintUniqueID><FONT size=1 face="Calibri Light">5681
      RJ&nbsp;Best</FONT></P></TD>
    <TD>
      <P class=ImprintUniqueID><FONT size=1 face="Calibri Light">T:</FONT></P></TD>
    <TD>
      <P class=ImprintUniqueID><FONT size=1 face="Calibri Light">+31 (0) 499 33
      69 69</FONT></P></TD></TR>
  <TR>
    <TD style="HEIGHT: 14px">
      <P class=ImprintUniqueID><FONT size=1 face="Calibri Light">Postbus
      440</FONT></P></TD>
    <TD>
      <P class=ImprintUniqueID><FONT size=1 face="Calibri Light">E:</FONT></P></TD>
    <TD>
      <P class=ImprintUniqueID><font style='font-family:Calibri Light;font-size:8pt;'>mike.looijmans@topicproducts.com</font></P></TD></TR>
  <TR>
    <TD>
      <P class=ImprintUniqueID><FONT size=1 face="Calibri Light">5680 AK
      Best</FONT></P></TD>
    <TD>
      <P class=ImprintUniqueID><FONT size=1 face="Calibri Light">W:</FONT></P></TD>
    <TD>
      <P class=ImprintUniqueID><FONT size=1 face="Calibri Light"><A href="http://www.topicproducts.com">www.topicproducts.com</A></FONT></P></TD></TR>
  <TR>
    <TD><FONT size=1 face="Calibri Light">The Netherlands</FONT></TD>
    <TD><FONT size=1 face="Calibri Light"></FONT></TD></TD>
    <TD><FONT size=1 face="Calibri Light"></FONT></TD>
    <TD><FONT size=1 face="Calibri Light"></FONT></TD></TR></TBODY></TABLE></P>
<P class=ImprintUniqueID><A href="https://www.facebook.com/TopicProducts"><FONT size=1 face="Calibri Light"><IMG id=IMG1 border=0 src="cid:image0faedc.JPG@9f6d8356.4bb8182d" width=20 height=19 /> </FONT></A><A href="https://twitter.com/TopicProducts"><FONT size=1 face="Calibri Light"><IMG id=IMG1 border=0 src="cid:image770862.JPG@fc94d670.439c9cfb" width=20 height=19 /></FONT></A><A href="https://www.linkedin.com/company/topic-embedded-products"><FONT size=1 face="Calibri Light"><IMG id=IMG1 border=0 src="cid:image9a10ac.JPG@ecd4fb18.4cb54942" width=20 height=18 /></FONT></A><BR /><FONT color=green size=1 face="Calibri Light">Please consider the environment before printing this
e-mail<BR /></FONT></P><BR /><A href="http://topic.nl/vacancy/topic-zoekt-technische-software-engineers/"><font style='font-family:Arial;font-size:8pt;'>Topic zoekt gedreven (embedded) software specialisten!</font></A><BR /><BR />
<P class=ImprintUniqueID></P>
<P><FONT face="Calibri Light"></FONT></P>
<P><FONT face="Calibri Light"></FONT></P></FONT></EM></BODY></HTML>