Re: [openpgp] [PATCH 1/3] Add AEAD Encrypted Data Packet with EAX

"brian m. carlson" <> Tue, 25 July 2017 01:02 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 583FB128A32 for <>; Mon, 24 Jul 2017 18:02:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Status: No, score=-2.001 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, URIBL_BLOCKED=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 r9F99ieci-xm for <>; Mon, 24 Jul 2017 18:02:48 -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 A4DDB12702E for <>; Mon, 24 Jul 2017 18:02:48 -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 811CC280AD for <>; Tue, 25 Jul 2017 01:02:47 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;; s=default; t=1500944567; bh=GTNTYBsUeNXy/yM2Kn53J0FWm8MRykjuo1s+THG9IHI=; h=Date:From:To:Subject:References:In-Reply-To:From; b=AqR21YlHvHW+IJc9cmZlGFuYyxAWW/jAZxmDyOV1xy/aqIFNN9BBNmP+4O0uV1+Zk WBVXSI0ocGvw4cnsLJvhq9++GhG+ztIrwBCVgS7XWRISJbXH+HWfn5CvLujvMnvFnY UT48ScaEUt61GtrRO3EijCIO/jtBmxzM6hjXHwD1oF4XqZXISNogyKcGKcv4X8HH+U SmUY8CxRAy5U4CS2MTtPLXhg9rOcitpL9pVmbhbCy2zOc7HH0mlZvjk1rgjWaRNONY IBg9Of5b6EKLxITbaGovklVr6/NVD01ksrG0Ri2RRe1QBxmkcUQ8jfSJfKj3sXmpZr 7u74UdXkRnefMgVAlh1FL+Z2S0D8Y88TLLnWpuLrasPuODyQrQmEj9j+hYS1t3zxeg ssLyoY8Y/6om9ZRnvEyAEpOMIa5d0rtbeJ8rJ90iA0KRFou7X4SR67O3P1XHpZCt5T YCbng1851tYRh4OC9QSE/feHlVZHv3TLAr+iIS9zBtXYv3dMWF1
Date: Tue, 25 Jul 2017 01:02:43 +0000
From: "brian m. carlson" <>
Message-ID: <>
References: <> <>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lucwmxb5s77zvgwg"
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] [PATCH 1/3] Add AEAD Encrypted Data Packet with EAX
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: Tue, 25 Jul 2017 01:02:50 -0000

On Fri, Jul 21, 2017 at 10:27:16PM +0000, brian m. carlson wrote:
> +### {5.14.1} EAX Mode
> +
> +The only currently defined AEAD algorithm is EAX Mode
> +[](#EAX).  This algorithm can only use block ciphers with 16-octet
> +blocks.  The starting initialization vector and authentication tag are
> +both 16 octets long.
> +

I received an inquiry off-list about the limitation on 16-byte block
ciphers here.  While EAX mode does indeed support 8-byte block ciphers,
the authentication tag is limited to 64 bits.  Combined with the fact
that many implementations will use a large number of chunks for large
messages, I felt the risk of forgery was too high.

However, should the working group disagree, we can remove this language,
or it can be modified to reflect that we require it but the underlying
standard does not.
brian m. carlson / brian with sandals: Houston, Texas, US | My opinion only