From owner-freebsd-ports-bugs@freebsd.org Tue Jul 4 07:30:10 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A1E0D878C0 for ; Tue, 4 Jul 2017 07:30:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7ABC670B9A for ; Tue, 4 Jul 2017 07:30:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v647U9ms004216 for ; Tue, 4 Jul 2017 07:30:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 220463] security/dropbear The generated public key is unusable by dbclient (and ssh) Date: Tue, 04 Jul 2017 07:30:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dewayne@heuristicsystems.com.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jul 2017 07:30:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220463 Bug ID: 220463 Summary: security/dropbear The generated public key is unusable by dbclient (and ssh) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dewayne@heuristicsystems.com.au CC: pkubaj@anongoth.pl Flags: maintainer-feedback?(pkubaj@anongoth.pl) CC: pkubaj@anongoth.pl Platform: FreeBSD 11.1Beta3 amd64 Thank-you for maintaining this port and expanding the options. Which entic= ed me to try it. Using key sizes from 1024 to 3072 # dropbearkey -t rsa -s 1024 -f /root/.ssh/dropbear | grep ^ssh-rsa > /root/.ssh/id_dropbear resulted in # dbclient -i dropbear 10.0.55.116 dbclient: Exited: String too long # dbclient -i id_dropbear 10.0.55.116 dbclient: Exited: String too long Nope I meant to test the public key, in case there was any confusion, simil= arl for dropbearconvert (below) :/ I used=20 # dropbear -F -E -m -p 10.0.55.116:22 -r /usr/local/etc/dropbear/dropbear_rsa_host_key to verify that dbclient wasn't communication to the server. So the "string = too long" is a client issue. I then tried converting # dropbearconvert dropbear openssh /root/.ssh/id_dropbear /root/.ssh/test Exited: String too long # dropbearconvert openssh dropbear /root/.ssh/id_dropbear /root/.ssh/test Error: File does not begin with OpenSSH key header Error reading key from '/root/.ssh/id_dropbear' Seems that dropbear is only able to use ssh with passwords, which is a long= way from our intended intestial destination: # dropbear -F -E -m -p 10.0.55.116:666 -m -s -g -j -k -r /usr/local/etc/dropbear/dropbear_rsa_host_key Hope that you can shed some light on this one. --=20 You are receiving this mail because: You are the assignee for the bug.=