Re: [openpgp] Must-Implement Algorithms (was:Summary of WG status)

"brian m. carlson" <> Fri, 14 July 2017 00:21 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id C74B11317B2 for <>; Thu, 13 Jul 2017 17:21:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (3072-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id zVVBy0pD4iqX for <>; Thu, 13 Jul 2017 17:21:02 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 17DD512ECB3 for <>; Thu, 13 Jul 2017 17:21:02 -0700 (PDT)
Received: from (unknown [IPv6:2001:470:b978:101:254c:7dd1:74c7:cde0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPSA id 3A60C280AD for <>; Fri, 14 Jul 2017 00:21:00 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;; s=default; t=1499991660; bh=BS7LvrOV/SSfHWxIOEErbuY7foTF43h2CO6pX1Ya1Us=; h=Date:From:To:Subject:References:In-Reply-To:From; b=eewR1XQqQVY0zSVGQHUrDQj0QVAdD69sBKRIq5Nvm8ZsOWQnkLitq3RXqxw5K4yzB IbCQLFHKTYIXBZ8ETq9c+KHbMxIihc/yokWvyoMA1elfkY0Kl9RtvDBD1ypONaSsuX Cjn+uFM+l49c/5mv8iXLmleONsokeROg476AaX+a9M0Ztco8FGX0SF8KBrHl3b+aWY wvpjfleP2Quii7h6WTNFXA/E8F7wJWflYhLFRTbJKkwzgqLhpzKtVvt/U3S/wc9mVr YVoK1YwFOwXyIsENQO7keLxuLdmwk2V3CkOqPFw++I4cJgq3o3a4LFQ6kLCFMNRY4K ebyNOdm93eAzVuc+jUebKr5zu4VW7vwAoduPsyvDcqTB7FEfCA8WAIAvhaUbgdKnzH kYgf/bhaaptweRFZfT3xK4eJ2wgdQQAG5mRtNYDsTS5RffM8USymXg2887MU8hu+VP 8snRV2AG9yEYIZaci9hmiha0h3RLY7Yigy0smFZdsrURIT1ISiJ
Date: Fri, 14 Jul 2017 00:20:56 +0000
From: "brian m. carlson" <>
Message-ID: <>
References: <> <>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rmsuvtzybi2vcynb"
Content-Disposition: inline
In-Reply-To: <>
X-Machine: Running on genre using GNU/Linux on x86_64 (Linux kernel 4.11.0-1-amd64)
User-Agent: NeoMutt/20170609 (1.8.3)
Archived-At: <>
Subject: Re: [openpgp] Must-Implement Algorithms (was:Summary of WG status)
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 14 Jul 2017 00:21:04 -0000

On Thu, Jul 13, 2017 at 09:47:00AM +0200, Werner Koch wrote:
> On Thu, 13 Jul 2017 00:38, said:
> > 3DES is still the must-implement encryption algorithm.  AES128 seems
> > like the logical choice here, since it's already MTI because of ECDH.
> I am fine with that choice.
> There is also the suggestion to make AES-nnn mandatory and 3DES optional
> when used with v5 keys.  I would be in favor of that; I don't care on
> whether this is AES-128 or AES-256.

I think that's a good idea.  AES-128 seems like the obvious choice to
make MTI because of ECDH, and I anticipate almost all implementations
will support AES-256 as well.

> > I suggest that we make the AEAD mode, whatever we pick, mandatory as
> > well.
> We can only do that when used with v5 keys.  We can't do that in
> general.

Mandatory to implement, yes.  Mandatory to use, no.  We also have to
consider that someone might encrypt data to both v4 and v5 keys, in
which case they might have to fall back down to MDC.  We probably need a
feature flag for AEAD packets like we have with MDC.
brian m. carlson / brian with sandals: Houston, Texas, US | My opinion only