Re: [openpgp] AEAD Chunk Size

"Derek Atkins" <derek@ihtfp.com> Thu, 18 April 2019 17:41 UTC

Return-Path: <derek@ihtfp.com>
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 27D2E120346 for <openpgp@ietfa.amsl.com>; Thu, 18 Apr 2019 10:41:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.69
X-Spam-Level:
X-Spam-Status: No, score=-1.69 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, T_SPF_PERMERROR=0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=ihtfp.com
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 RE0CtqQExY18 for <openpgp@ietfa.amsl.com>; Thu, 18 Apr 2019 10:41:27 -0700 (PDT)
Received: from mail2.ihtfp.org (MAIL2.IHTFP.ORG [204.107.200.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 24E2F120383 for <openpgp@ietf.org>; Thu, 18 Apr 2019 10:41:27 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id A8645E2040; Thu, 18 Apr 2019 13:41:25 -0400 (EDT)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 13074-09; Thu, 18 Apr 2019 13:41:23 -0400 (EDT)
Received: by mail2.ihtfp.org (Postfix, from userid 48) id F3C8BE2042; Thu, 18 Apr 2019 13:41:22 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1555609283; bh=vbK8/ZhXAtt9J2uvLUNWSx08bLivG6ctJ7oAfSUGVts=; h=In-Reply-To:References:Date:Subject:From:To:Cc; b=cyu5N2XH5dSKcwKojuFLbb80Lptm0YtKQ+mbXJo2y/4zHS8pZ4rjk27YSGSc5Gh4a doMVJaXCzD81qHbz4g4kvCdMLs6devR9X+SSqp4aNxXJisNXXLd90hfd628EOBCrXg 4+Fc/ShdmhnbbtNKlAj3TNFyEnPUELOgWgO3R/q4=
Received: from 99.46.190.172 (SquirrelMail authenticated user warlord) by mail2.ihtfp.org with HTTP; Thu, 18 Apr 2019 13:41:22 -0400
Message-ID: <f9eeed58b73dfabb351cb608769c5e55.squirrel@mail2.ihtfp.org>
In-Reply-To: <uIkPmRBGfmyVi5QPuVeXkm02_Y_zfPUWPWCsZtDHyjFaFbNOY8mJyUK42pm80AJ-_-jf-ut1xPK_SMkjGDgrL4cT4BcAbeaBQvSYhqFoD7U=@protonmail.com>
References: <87mumh33nc.wl-neal@walfield.org> <878swzp4fb.fsf@europa.jade-hamburg.de> <E65F6E9D-8B0B-466D-936B-E8852F26E1FF@icloud.com> <87d0m9hl62.wl-neal@walfield.org> <FEE9711C-3C64-493C-8125-89696B882E0A@icloud.com> <2di2bK8m-7HtDeoUEH9oPqs-bL-IKSE0CjkgFShPMLOlUyeDBVkVGApdjnIpS6YRAeKU3ibGCZCtwLden-N6zK5W4fqIghRGDa5dU720nEs=@protonmail.com> <73739F8A-5E9F-4277-B053-FDD2E8D81B17@icloud.com> <cc75QwJwTIffqLK7fzZ3A2Pw1Vb3_lkhSHfYRPyASZcxceG2c0Cpbld529WsXosP7X9x4agikpGD4dVTXK8iaRkblS9Jokv1tD2TceQBbyE=@protonmail.com> <18FF6D9C-B285-406E-A344-E6362646DE68@icloud.com> <YMBMgZGGCSQb4Bnp9xRFkBfOn-I97FrycqHK4NvuHUkgtmL6_UaumtHJwJc-4nbmACSHrA4CWqEeLMDUuoVFMq0Vc6M0fwO8G40Mq1heEgI=@protonmail.com> <uIkPmRBGfmyVi5QPuVeXkm02_Y_zfPUWPWCsZtDHyjFaFbNOY8mJyUK42pm80AJ-_-jf-ut1xPK_SMkjGDgrL4cT4BcAbeaBQvSYhqFoD7U=@protonmail.com>
Date: Thu, 18 Apr 2019 13:41:22 -0400
From: "Derek Atkins" <derek@ihtfp.com>
To: "Bart Butler" <bartbutler@protonmail.com>
Cc: "openpgp@ietf.org" <openpgp@ietf.org>
User-Agent: SquirrelMail/1.4.22-14.fc20
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/2lzVJDn6v3j_gsxUZV4YTIkZHz8>
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, 18 Apr 2019 17:41:29 -0000

No objections from me!
Thanks Bart!
-derek

On Thu, April 18, 2019 1:28 pm, Bart Butler wrote:
> Hi all,
>
> Jon and I got on the phone today and discussed the AEAD chunk situation a
> little more. The compromise we reached is:
>
> (1) MUST support chunks up to and including 8KiB.
> (2) SHOULD NOT emit chunks larger than 8KiB.
> (3) SHOULD reject chunks larger than 8KiB.
>
> Jon likes this because it doesn't fully shut the door on experimentation.
> I like this because it strengthens the norm and puts the burden of
> justification for violating the norm on the person asking for huge chunks
> rather than the implementer. I expect (though please correct me if not)
> that Derek, Neil, and others working on embedded or otherwise constrained
> system will like this because the normative limit is low enough for most
> embedded/constrained systems to do streaming when incremental no-release
> semantics are desired. And I hope Werner likes this because GnuPG is
> already doing 8KiB chunks, so the work involved in changing GnuPG's
> implementation should be minimal :)
>
> Does anyone have any objections to or comments regarding this language?
>
> Thanks,
>
> Bart_______________________________________________
> openpgp mailing list
> openpgp@ietf.org
> https://www.ietf.org/mailman/listinfo/openpgp
>


-- 
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant