Re: [openpgp] AEAD Chunk Size

Hanno Böck <hanno@hboeck.de> Thu, 28 February 2019 08:19 UTC

Return-Path: <hanno@hboeck.de>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 30D1E130DF6 for <openpgp@ietfa.amsl.com>; Thu, 28 Feb 2019 00:19:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 44XIcMOUO1RG for <openpgp@ietfa.amsl.com>; Thu, 28 Feb 2019 00:19:03 -0800 (PST)
Received: from zucker2.schokokeks.org (zucker2.schokokeks.org [178.63.68.90]) (using TLSv1.2 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E4AC912D4E7 for <openpgp@ietf.org>; Thu, 28 Feb 2019 00:19:02 -0800 (PST)
Received: from computer (ipb218ef6d.dynamic.kabel-deutschland.de [::ffff:178.24.239.109]) (AUTH: LOGIN hanno-default@schokokeks.org, TLS: TLSv1.3, 256bits, TLS_AES_256_GCM_SHA384) by zucker.schokokeks.org with ESMTPSA id 000000000000007C.000000005C779974.00003985; Thu, 28 Feb 2019 09:19:00 +0100
Date: Thu, 28 Feb 2019 09:18:59 +0100
From: Hanno Böck <hanno@hboeck.de>
To: openpgp@ietf.org
Message-ID: <20190228091859.49b903b2@computer>
In-Reply-To: <431339C1-8DDA-47D0-B233-9B7F49F0692A@icloud.com>
References: <87mumh33nc.wl-neal@walfield.org> <F9VLV9HZWH.3RYL3UM3BN873@my.amazin.horse> <3WZ7-hy9V7TOy53p1gP5EXELzHJIqjouV9x0YTN3PWsBZedKkqvVCRm-2XzGZy-FYAYdTqP1-7YV4wbTWMWAYhSujQA6NmrnIuXfZLRHkdQ=@protonmail.com> <CAB941EE-6961-4CAB-9632-DFF738980467@icloud.com> <HBifY5kv2OqoajWurbHh_-NyZaBUZGabUpbxfhLlw8lTEuJVAiaHr-hhL_v5jKI-uqfeTIKD2S8VbEKvImC2sxhSlxD3GsT8LBzXKaOeHLI=@protonmail.com> <431339C1-8DDA-47D0-B233-9B7F49F0692A@icloud.com>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/HI59CqOhRZKZ_URGZ37jtHqDWr4>
Subject: Re: [openpgp] AEAD Chunk Size
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Feb 2019 08:19:06 -0000

On Wed, 27 Feb 2019 16:03:10 -0800
Jon Callas <joncallas=40icloud.com@dmarc.ietf.org> wrote:

> Thus, saying (e.g.) that the range MUST be between 1K and 16K is a
> bad idea; we even know now that 256K has in some cases an efficiency
> advantage. You can say, MUST support 1K to 16K, SHOULD support up to
> 256K and MAY support larger sizes. There can also be a couple of
> paragraphs to explain that there are good reasons neither to be very
> small nor very large.

This sounds like a recipe to create multiple incompatible
implementations. That is certainly not what anyone should want.

> My concern is someone saying something like, “Gosh, I’d like to have
> OpenPGP AEAD encryption for S3 Objects, but I can’t ‘cause those go
> up to 5TB.”

Sorry, I don't understand the comparison here.
We're talking about encryption chunk sizes, not sizes of total
encrypted content.
Nothing here's going to limit the size of the objects you can encrypt.


-- 
Hanno Böck
https://hboeck.de/

mail/jabber: hanno@hboeck.de
GPG: FE73757FA60E4E21B937579FA5880072BBB51E42