Skip to contentSkip to conversation

dropbear

DISCUSSION Jaap de Jong 2 participants 6 messages Apr 10, 2013

lore
Share & tools
lore
#0 lore raw

Hi All,
dropbear 2013.56 is currently the most recent version.
Although not documented, they left out the functionality patched in with allow-nopw.patch in the 2013.56 release. I would like to update to this new version, but is this functionality important?
Jaap

#1 lore raw
Quoted 3 lines · On Wednesday 10 April 2013 14:55:02 Jaap de Jong wrote:

dropbear 2013.56 is currently the most recent version. Although not documented, they left out the functionality patched in with allow-nopw.patch in the 2013.56 release.

How did you find this out?

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw
Quoted 5 lines · Paul Eggleton
Quoted 3 lines · On Wednesday 10 April 2013 14:55:02 Jaap de Jong wrote:

dropbear 2013.56 is currently the most recent version. Although not documented, they left out the functionality patched in with allow-nopw.patch in the 2013.56 release.

How did you find this out?

the patch fails and inspection of the code learns that it can't be applied. I found some other way to accomplish the same though..

svr-runopts.c 2013-04-10 15:11:51.000000000 +0200 renamed from svr-runopts.c 2013-03-21 16:29:35.000000000 +0100 +1 -1
diff -urN a/svr-runopts.c b/svr-runopts.c
@@ -115,7 +115,7 @@
     svr_opts.norootlogin = 0;
     svr_opts.noauthpass = 0;
     svr_opts.norootpass = 0;
-    svr_opts.allowblankpass = 0;
+    svr_opts.allowblankpass = 1;
     svr_opts.inetdmode = 0;
     svr_opts.portcount = 0;
     svr_opts.hostkey = NULL;
Quoted 3 lines

Cheers,
Paul

#3 lore raw
Quoted 9 lines · On Wednesday 10 April 2013 16:37:33 Jaap de Jong wrote:
Quoted 6 lines · Paul Eggleton
Quoted 3 lines · On Wednesday 10 April 2013 14:55:02 Jaap de Jong wrote:

dropbear 2013.56 is currently the most recent version. Although not documented, they left out the functionality patched in with allow-nopw.patch in the 2013.56 release.

How did you find this out?

the patch fails and inspection of the code learns that it can't be applied.

Ah right - to explain what has happened, I developed a new patch to change dropbear so that the functionality is now controlled through a command-line switch, and that is now configured in the image using a script in /etc/default/; if you look at the dropbear recipe in master you can see how it works. This avoids the need to rebuild dropbear depending upon the value of IMAGE_FEATURES which was not really ideal.

If you want to use the latest version of dropbear with an older branch I'd suggest just taking the dropbear recipe in master, removing the nopw-option patch (which has been applied).

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#4 lore raw
Quoted 20 lines · On Wednesday 10 April 2013 15:47:09 Paul Eggleton wrote:
Quoted 11 lines · On Wednesday 10 April 2013 16:37:33 Jaap de Jong wrote:
Quoted 7 lines · Paul Eggleton
Quoted 4 lines · On Wednesday 10 April 2013 14:55:02 Jaap de Jong wrote:

dropbear 2013.56 is currently the most recent version. Although not documented, they left out the functionality patched in with
allow-nopw.patch in the 2013.56 release.

How did you find this out?

the patch fails and inspection of the code learns that it can't be applied.

Ah right - to explain what has happened, I developed a new patch to change dropbear so that the functionality is now controlled through a command-line switch, and that is now configured in the image using a script in /etc/default/; if you look at the dropbear recipe in master you can see how it works. This avoids the need to rebuild dropbear depending upon the value of IMAGE_FEATURES which was not really ideal.

Quoted 3 lines

If you want to use the latest version of dropbear with an older branch I'd suggest just taking the dropbear recipe in master, removing the nopw-option patch (which has been applied).

If you do do this you'll also need to apply this patch:

http://cgit.openembedded.org/openembedded-core/commit/?id=0937054e6e3e02565f57e60a8bdc14b0ad62e249

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#5 lore raw
Quoted 18 lines · Paul Eggleton
Quoted 17 lines · On Wednesday 10 April 2013 15:47:09 Paul Eggleton wrote:
Quoted 9 lines · On Wednesday 10 April 2013 16:37:33 Jaap de Jong wrote:
Quoted 6 lines · Paul Eggleton
Quoted 4 lines · On Wednesday 10 April 2013 14:55:02 Jaap de Jong wrote:

dropbear 2013.56 is currently the most recent version. Although not documented, they left out the functionality patched in with
allow-nopw.patch in the 2013.56 release.

How did you find this out?

the patch fails and inspection of the code learns that it can't be applied.

Ah right - to explain what has happened, I developed a new patch to change dropbear so that the functionality is now controlled through a command-line switch, and that is now configured in the image using a script in /etc/default/; if you look at the dropbear recipe in master you can see how it works. This avoids the need to rebuild dropbear depending upon the value of IMAGE_FEATURES which was not really ideal.

Quoted 3 lines
Quoted 3 lines

If you want to use the latest version of dropbear with an older branch I'd suggest just taking the dropbear recipe in master, removing the nopw-option patch (which has been applied).

Seems that the nopw-option.patch is added to dropbear rev 2013.56, so that one should be remove also from the list of patches to apply.

Quoted 3 lines

If you do do this you'll also need to apply this patch:

http://cgit.openembedded.org/openembedded-core/commit/?id=0937054e6e3e02565f57e60a8bdc14b0ad62e249

Ok.
Thanks for your help!

Quoted 3 lines

Cheers,
Paul