Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2012 14:15:43 -0400
From:      "J. Hellenthal" <jhellenthal@dataix.net>
To:        Robert Simmons <rsimmons0@gmail.com>
Cc:        freebsd-security@freebsd.org
Subject:   Re: Add rc.conf variables to control host key length
Message-ID:  <20120624181543.GA3652@DataIX.net>
In-Reply-To: <CA%2BQLa9C04d3fkk6r2apLti4vn%2BJ8_fai--qK2yQobmXD%2BbdTww@mail.gmail.com>
References:  <CA%2BQLa9CX26xEwRsz3g6FvBBbbFE0Gfw%2BUR6_RHYOXgZFcgCw5w@mail.gmail.com> <4828EFCC-E60A-4961-9228-4A1ADAD28F73@lists.zabbadoz.net> <20120624165920.GA85913@DataIX.net> <CA%2BQLa9C04d3fkk6r2apLti4vn%2BJ8_fai--qK2yQobmXD%2BbdTww@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--J/dobhs11T7y2rNN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable



On Sun, Jun 24, 2012 at 01:26:21PM -0400, Robert Simmons wrote:
> On Sun, Jun 24, 2012 at 12:59 PM, J. Hellenthal <jhellenthal@dataix.net> =
wrote:
> > These are more then sufficient for any normal ssh use.
>=20
> I'm sorry if I sound rude, but I wanted to have a bit more of a
> substantive discussion than quoting the man pages.  Especially since
> what you are quoting dates back to a change to
> src/crypto/openssh/ssh-keygen.1 dated the following:
> Sun Sep 11 16:50:35 2005 UTC (6 years, 9 months ago) by des
>=20
> Being that the old "considered sufficient" of 1024 was added at the
> following revision date:
> Thu Feb 24 14:29:46 2000 UTC (12 years, 4 months ago) by markm
>=20

There is nothing stopping you from changing a key after the system has
booted e.g. by using the rc script itself if you feel it is not
sufficient.

Given OpenBSD is usually always on the far safe side of things taking
the security approach before simplicity I would extremely agree that it
is more than sufficient.

But then again what is good for the masses it not always good enough for
the security paranoid and giving credit to such is what keeps everyone
safe.

( /usr/local/etc/rc.d/openssh keygen ) # regenerate your keys

Which should generate a new set of keys, keeping you safe for another X
amount of years.

 - or -

ssh-keygen -f rsa -b [NNNN] -f /usr/local/etc/ssh/ssh_host_rsa_key


But the intitial key being the default? its sufficient to get you in and
started on a remote system.

> I would say that we are exactly due for a real discussion as to what
> should be considered sufficient with regards to modern processors and
> GPUs.

Unfortunately I see that as a different thread "Hardware potential to
duplicate existing host keys... RSA DSA ECDSA"

--=20

 - (2^(N-1))

--J/dobhs11T7y2rNN
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJP51lOAAoJEBSh2Dr1DU7W/lAH/RDpLU4Tpmn76PN/4S5tlMkA
RPKe62Yd4Pa5nAMdJ9OWGs4XV/aWgIdqNQN2hfY84QfBGAW3cJWBjw7H6hFjKv5d
UPfl37dj5PbAU4nmM5Yc3QVoXy8BdTKpAbQo6vXSZBW7IkLE9aCLCeSnEoXXG72a
n+3tElFpgzX4HsR0gf3BwxR/3FjGh2jxvXUagIjJ/pLpkC0JwBdwctBFZju9LRJ4
rCeK3PAKmTZEogzZQ5XE6nNSXV0nCRFk/BhTcUHtuwlto8GWU+r3qPsqnpL0IDzb
70YMUiboK2lR9GFULtQbjRuibpLUco4jIsFI76gfA8k1XQQ3le4LNhPIFkTYrYo=
=Upa3
-----END PGP SIGNATURE-----

--J/dobhs11T7y2rNN--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120624181543.GA3652>