Re: [Openpgp-dt] settling on OCB nonce size of 120 bits?

Paul Wouters <paul@nohats.ca> Tue, 05 April 2022 19:08 UTC

Return-Path: <paul@nohats.ca>
X-Original-To: openpgp-dt@ietfa.amsl.com
Delivered-To: openpgp-dt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 85CE83A1010 for <openpgp-dt@ietfa.amsl.com>; Tue, 5 Apr 2022 12:08:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nohats.ca
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 G5HwkUaQOwCW for <openpgp-dt@ietfa.amsl.com>; Tue, 5 Apr 2022 12:08:31 -0700 (PDT)
Received: from mx.nohats.ca (mx.nohats.ca [193.110.157.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 72D783A0BD1 for <openpgp-dt@ietf.org>; Tue, 5 Apr 2022 12:08:30 -0700 (PDT)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 4KXxxm36XYzCFG; Tue, 5 Apr 2022 21:08:28 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1649185708; bh=51e8jQyOHyql3QJrykGzbZ7ayrYyv3SH8mAk1Z0Fbik=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=mI2Z7J+PMkWNK5naA7Rd3u5OxYKYLOzHpGGji+ylU65BxtI+ymOqFMOMi+HJ8dJLS 48na+lxeYktp546dKsoL58XDayGKaZpPgAqSFOYnNmPbuI2ytiX77HJ3aDFEKttSHA jLBUSUA52pXmojnh2BCEx9AgoGA/NtTN7YUKDcJA=
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id M3sbo5-8R8xj; Tue, 5 Apr 2022 21:08:27 +0200 (CEST)
Received: from bofh.nohats.ca (bofh.nohats.ca [193.110.157.194]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS; Tue, 5 Apr 2022 21:08:27 +0200 (CEST)
Received: by bofh.nohats.ca (Postfix, from userid 1000) id 4FB922D96ED; Tue, 5 Apr 2022 15:08:26 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 4CBC12D96EC; Tue, 5 Apr 2022 15:08:26 -0400 (EDT)
Date: Tue, 05 Apr 2022 15:08:26 -0400
From: Paul Wouters <paul@nohats.ca>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
cc: openpgp-dt@ietf.org
In-Reply-To: <87fsmwmylw.fsf@fifthhorseman.net>
Message-ID: <11caf936-97b3-40e3-3cd3-7bcb5f865a18@nohats.ca>
References: <87fsmwmylw.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp-dt/wLeBrSQunbK50R9t-fFqmVPW4i0>
Subject: Re: [Openpgp-dt] settling on OCB nonce size of 120 bits?
X-BeenThere: openpgp-dt@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OpenPGP working group design team <openpgp-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp-dt>, <mailto:openpgp-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp-dt/>
List-Post: <mailto:openpgp-dt@ietf.org>
List-Help: <mailto:openpgp-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp-dt>, <mailto:openpgp-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Apr 2022 19:08:37 -0000

On Fri, 1 Apr 2022, Daniel Kahn Gillmor wrote:

> I worked with Ted Krovetz to construct test vectors for OCB with 120-bit
> nonces using similar code to the code that generated the 96-bit nonce
> test vectors in the OCB RFC:
>
>    https://gitlab.com/dkg/ocb-test-vectors

Can I encourage you to put this into a draft and throw it into LAMPS?
We are also doing something similar for test keys by Peter Guttman:

https://datatracker.ietf.org/doc/draft-gutmann-testkeys/

> So i'm inclined to say that we just go with 120-bit nonces, and close
> issue 83 as resolved.

I agree.

> Does anyone want to try to gather more data, or can we just close the
> issue?

I'm fine with closing the issue.

Paul