[CFRG] Re: IRTF Chair review of draft-irtf-cfrg-opaque-16

Colin Perkins <csp@csperkins.org> Thu, 26 September 2024 12:24 UTC

Return-Path: <csp@csperkins.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CCCE6C169413 for <cfrg@ietfa.amsl.com>; Thu, 26 Sep 2024 05:24:10 -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, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=csperkins.org
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VwwTQWxmByrC for <cfrg@ietfa.amsl.com>; Thu, 26 Sep 2024 05:24:06 -0700 (PDT)
Received: from mx1.mythic-beasts.com (mx1.mythic-beasts.com [IPv6:2a00:1098:0:86:1000:0:2:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 54A26C14F70A for <cfrg@irtf.org>; Thu, 26 Sep 2024 05:24:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=csperkins.org; s=mythic-beasts-k1; h=Date:Subject:To:From; bh=lWmBvqGNp0LE18dS7H1HV0gdJHbdoAf8GI08mgWg5XQ=; b=zOfyfTABJPNljEoAtc26EVbunq CotrUtOgFNaBoLIs++dRwAne0XabcfciIvjY9WNioS9usXzwUI77+A/2GolfpPtJzaOC67XGXa7LT f1V489wSGmKC8fhvU4w7lLtpZbVogcAUoXEnv4e2n6NIo4nv8CMQzmoum0mlZ12wNAOgll6obfVl/ dZe4bXFvjj8OeKWwR4t6MB7Ney5KLeUhyivi394mIHpG9zaaulLm5g4gc39Aq/eTIpskxGvpdDVIt 37A+Yzj2B/gzbveTe9IWprFTDtlViStMvbCEd9oqJFYRykOdTZLz5S+Ce1kXhGLjcRcfbh7ke5hFw mDs07rTw==;
Received: by mailhub-cam-d.mythic-beasts.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <csp@csperkins.org>) id 1stnXN-00BvfN-DN; Thu, 26 Sep 2024 13:24:01 +0100
From: Colin Perkins <csp@csperkins.org>
To: Daniel Bourdrez <d@bytema.re>
Date: Thu, 26 Sep 2024 13:23:43 +0100
X-Mailer: MailMate (1.14r6065)
Message-ID: <2BB29364-83D5-4839-8F31-5BEA8BB7B643@csperkins.org>
In-Reply-To: <CAOPSE-57XE83O4M7Mujc24ZPe1yWtHNZYJbQyTDMOQzbN5UUPg@mail.gmail.com>
References: <ED4B24C7-4D93-4F17-B5CC-2AE1F818A2E5@csperkins.org> <CACitvs_pyBPqZ7R0MXdpKJue6S-5XSxXmhFihpe7ewpb+BX3sQ@mail.gmail.com> <ZvLZgq04KvGTYyOL@localhost> <CAOPSE-57XE83O4M7Mujc24ZPe1yWtHNZYJbQyTDMOQzbN5UUPg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_MailMate_9C2D4A58-7F07-46DE-876C-C8BF56FF7C29_="
Embedded-HTML: [{"plain":[259,1134],"uuid":"3CD2668A-175E-4597-BE6D-F7D81C2A6C54"}]
X-BlackCat-Spam-Score: 14
Message-ID-Hash: O7WDSMIXT3RXO26WTOLIHZ6WJPP3ORHW
X-Message-ID-Hash: O7WDSMIXT3RXO26WTOLIHZ6WJPP3ORHW
X-MailFrom: csp@csperkins.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cfrg.irtf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Kevin Lewi <lewi.kevin.k@gmail.com>, draft-irtf-cfrg-opaque@ietf.org, cfrg-chairs@ietf.org, cfrg <cfrg@irtf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [CFRG] Re: IRTF Chair review of draft-irtf-cfrg-opaque-16
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/QF2lPwB3cQaXStVxUiOZ9nCbw4E>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Owner: <mailto:cfrg-owner@irtf.org>
List-Post: <mailto:cfrg@irtf.org>
List-Subscribe: <mailto:cfrg-join@irtf.org>
List-Unsubscribe: <mailto:cfrg-leave@irtf.org>

The suggested changes look good to me - thank you!

And thanks to all for confirming the test vectors!

If you submit a revised draft with the changes, I’ll move this on to 
the IRSG review.

Cheers,
Colin



On 25 Sep 2024, at 0:55, Daniel Bourdrez wrote:

> Hi all,
>
> Thank you Colin for the review, and thanks Kevin for preparing the 
> fixes.
>
> As for the vectors, I confirm my implementation at
> github.com/bytemare/opaque also verifies them.
>
> Thanks for checking!
>
> On Tue 24 Sep 2024 at 17:25, stef <f3o09vld@ctrlc.hu> wrote:
>
>> On Mon, Sep 23, 2024 at 09:54:36PM -0700, Kevin Lewi wrote:
>>>> Finally, I note that the appendices contain a number of test 
>>>> vectors.
>> Has
>>> the latest version of the draft been verified against a reference
>>> implementation to ensure these are correct?
>>>
>>> Yes, the test vectors in the latest version of the draft have been
>> verified
>>> in the following implementations:
>> https://github.com/cloudflare/opaque-ts,
>>> and https://github.com/facebook/opaque-ke . There are other
>> implementations
>>> which might also be up-to-date with the latest version, but I have 
>>> not
>>> confirmed: https://github.com/stef/libopaque,
>>
>> as the author of libopaque i confirm the testvectors of the variant
>> implemented in libopaque match those in
>>
>> https://github.com/cfrg/draft-irtf-cfrg-opaque/blob/master/poc/vectors/vectors.json
>>