From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C9ACF138B2A for ; Wed, 20 Feb 2013 03:12:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93B6B21C026; Wed, 20 Feb 2013 03:12:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5C41B21C005 for ; Wed, 20 Feb 2013 03:12:38 +0000 (UTC) Received: from grubbs.orbis-terrarum.net (localhost [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A19233DC67 for ; Wed, 20 Feb 2013 03:12:37 +0000 (UTC) Received: (qmail 19011 invoked by uid 10000); 20 Feb 2013 03:12:36 -0000 Date: Wed, 20 Feb 2013 03:12:36 +0000 From: "Robin H. Johnson" To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFC: Gentoo GPG key policies Message-ID: <20130220031236.GL2537@orbis-terrarum.net> References: <51241A31.7070005@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51241A31.7070005@gentoo.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: f6d84c54-c7ab-4d5f-a865-b3dd2dc8c50f X-Archives-Hash: 874d5d246dd02b9876e7125d4a7306c5 On Wed, Feb 20, 2013 at 01:34:57AM +0100, Stefan Behte wrote: > > 2. root key & signing subkey of EITHER: 2.1. DSA, 1024 or 2048 bits > > 2.2. RSA, >=2048 bits ... > 1024 DSA keys seem pretty short to me. Surely it might be inconvenient > for some (2-3? please write a mail here!) people with smart cards. But > then again, especially people going through the hell of using a > physical token would understand the need for decent crypto. ;) A physical token defends against a different method of attack than a longer key. Simply having a longer key isn't going to help you if store the key on the laptop and it gets compromised: presuming the attacker extracts your secret key and passphrase). In such a case, the smartcard at worst limits him to doing some number of signatures only, or even better if the reader has a hardwired pinpad, he gets nowhere at all. Also, if there is a Well-Funded-Organization attacking Gentoo, there are MUCH more effective ways for them to compromise us. Any perceived gains in that field from requiring DSA2048 and blocking DSA1024 should be examined very closely. > I think key rotation is overdoing it and pretty annoying. Better use a > non-annoying, long key from the start? NOWHERE did I require key rotation. Why do you think that I did? My own key is more than a decade old. I need to see about replacing it soon, but I've been trying to hold out for the OpenPGP standard to have ECC included, before I repeat getting my extremely large web-of-trust. > > 4. If you intend to sign on a slow alternative-arch, you may find > > adding a DSA1024 subkey significantly speeds up the signing. > How slow is that actually? Does it make signing very inconvenient? > Maybe someone with a slow machine can write about performance and the > "annoyence-factor"... ;) Some benchmark results from hake.hppa.dev.g.o, 552Mhz PA-RISC box. Average of running clearsign ~100 times, for various signature types. The gpg.conf was set as in my initial post. DSA1024 0.059830s DSA2048 0.158800s DSA3072 0.274850s RSA1024 0.060020s RSA2048 0.173070s RSA4096 0.896480s For reasons of time, while I wanted to create the keys on the host as well for timing, I gave up after the first key, DSA1024, took more than 3 minutes (I did ensure that /dev/random was not the blocking factor). If somebody from MIPS or m68k wants to chime in, I think they probably have the slowest hardware around presently. -- Robin Hugh Johnson Gentoo Linux: Developer, Trustee & Infrastructure Lead E-Mail : robbat2@gentoo.org GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85