Re: [CFRG] Questions for the group from the HPKE presentation
Christopher Patton <cpatton@cloudflare.com> Fri, 06 August 2021 23:55 UTC
Return-Path: <cpatton@cloudflare.com>
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 15ADE3A1F32 for <cfrg@ietfa.amsl.com>; Fri, 6 Aug 2021 16:55:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.597
X-Spam-Level:
X-Spam-Status: No, score=-2.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.499, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cloudflare.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 C1q2H5WIBmRO for <cfrg@ietfa.amsl.com>; Fri, 6 Aug 2021 16:55:21 -0700 (PDT)
Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4A87C3A1F2F for <cfrg@irtf.org>; Fri, 6 Aug 2021 16:55:21 -0700 (PDT)
Received: by mail-qt1-x82c.google.com with SMTP id z24so7744472qtn.8 for <cfrg@irtf.org>; Fri, 06 Aug 2021 16:55:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=M8QdceFYKnf2bkKiz101NJ3EJ0UmEy/JwYFjRasAcw8=; b=F/61vFy3ZgM7CilUYc4HREHjnDpMseo++b0f2xW+uTl7ncO97cBKKEWCUj0Zh//bls NFiTF7NavLiIY/tkdlEl0gYh5D0f2epTw+Q3gqylbfmIcuMTkHlYGGZGK48+h5/n85sC cD5xls3udQuhInSmhioauCEeA+cDZpE/tdmr0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=M8QdceFYKnf2bkKiz101NJ3EJ0UmEy/JwYFjRasAcw8=; b=IkeyJ6RROM2RxOJBHXyVXOaBHpyBKc/3hCVOIaxIfFSJtYpChsGWuP+5kuSE9DF1x9 5/K8xYnOKhDgdNVFrVVj0jsOApk8N5YVYE3F8SLwbvTk0Ls8y4Wcntbc4rPnq5e19n7Q 3Ls/mUAaMhJee+IIaS/2o11Omo3WGAYaRnF0B1ty5BjGkw9Hw6hRSmfj5Jhd1V20ZXE3 NhMcgwMEZIS6xlW1wGI6I32Rd627MmLtFEqNbdiQLWfgPlXRw2nrDPrY2ChMbeu/hGCY giH9HyOCsXKkwxjCa3T4dIk5xdURNqxlt375SRtGJM8SJ3TgkjqU5L0zutiwLV/a3r5z HKFg==
X-Gm-Message-State: AOAM5328K/DVeyjcvIT9yg9mT5yOwUekZVWV/eVNcZTpOnnEmhNvRxA0 TLhpRSoQodyqVxmDX4YyOal0RSI4zdsRAFsRqyns6g==
X-Google-Smtp-Source: ABdhPJwKZStK1pRJdlOg3isN+/LB/tD2GmlEv8fRrjIiz0qLlQezGpB8I1UKW1gZEv/PSgM09s0HUe1KFMOATYfhJdM=
X-Received: by 2002:ac8:7c44:: with SMTP id o4mr11294422qtv.191.1628294119315; Fri, 06 Aug 2021 16:55:19 -0700 (PDT)
MIME-Version: 1.0
References: <CAFDDyk8yZegN6aWSZg=K7Wy+V2upq=GBuvGyQYowrRuehPDqYQ@mail.gmail.com>
In-Reply-To: <CAFDDyk8yZegN6aWSZg=K7Wy+V2upq=GBuvGyQYowrRuehPDqYQ@mail.gmail.com>
From: Christopher Patton <cpatton@cloudflare.com>
Date: Fri, 06 Aug 2021 16:55:08 -0700
Message-ID: <CAG2Zi21gkr-QPeOF_hCxSy6bp+V5ZmG9ARrTTp=t3+OeagpN+A@mail.gmail.com>
To: Nick Sullivan <nick=40cloudflare.com@dmarc.ietf.org>
Cc: CFRG <cfrg@irtf.org>, Dan Harkins <dharkins@lounge.org>
Content-Type: multipart/alternative; boundary="0000000000009287c805c8ecc4cc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/u1bjgXUrM4hQ4Otp4whIQKXN--w>
Subject: Re: [CFRG] Questions for the group from the HPKE presentation
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Aug 2021 23:55:26 -0000
1) I support solving Dan's use case, and I think adding an additional API call is the right way to do it. However, I see Richard's point that there might not be a need to extend the document beyond noting the use case and how to solve it. 2) I support adding codepoints for compressed curve points. However, I don't support adding deterministic AE, given the security implications of having no nonce. That said, if we take 2) it might be worth considering adding nonce-misuse resistant AE schemes, such as AES-GCM-SIV, as these would provide some assurance in case the new API call is misused. Best, Chris P. On Fri, Aug 6, 2021 at 3:31 PM Nick Sullivan <nick= 40cloudflare.com@dmarc.ietf.org> wrote: > Dear CFRG participants, > > At IETF 111, Dan Harkins made a presentation > <https://datatracker.ietf.org/meeting/111/materials/slides-111-cfrg-new-kems-and-aeads-for-hpke-00> > with two proposals: > - a proposal to define new codepoints for HPKE representing new KEMs for > compressed NIST points > - a proposal to define new codepoints to support deterministic > authenticated encryption schemes that don't use a nonce. This is in service > of the use case of out-of-order delivery of ciphertexts. *In the > discussion, it was noted that HPKE uses a nonce to ensure that it never > leaks whether the same plaintext was encrypted twice and that this proposal > does not provide this security property.* > > Also during the discussion, an alternative proposal was made to solve the > out-of-order use case: modify the API for HPKE to enable the user to reset > the nonce counter. This API would enable out-of-order delivery of > ciphertexts with existing HPKE AEADs. > > The chairs would like to ask the group a few questions: > 1) Does the research group support adding an API to HPKE for resetting the > nonce counter? > 2) Is there interest in pursuing a work item to explore defining either of > the following: > - new codepoints for compressed curve points in HPKE? > - new codepoints for deterministic authenticated encryption in HPKE (given the > answer to (1) was no)? > > > > Regards, > Nick (for the chairs) > _______________________________________________ > CFRG mailing list > CFRG@irtf.org > https://www.irtf.org/mailman/listinfo/cfrg >
- [CFRG] Questions for the group from the HPKE pres… Nick Sullivan
- Re: [CFRG] Questions for the group from the HPKE … Richard Barnes
- Re: [CFRG] Questions for the group from the HPKE … Christopher Patton
- Re: [CFRG] Questions for the group from the HPKE … Dan Harkins
- Re: [CFRG] Questions for the group from the HPKE … Richard Barnes
- Re: [CFRG] Questions for the group from the HPKE … Dan Harkins
- Re: [CFRG] Questions for the group from the HPKE … Christopher Wood
- Re: [CFRG] Questions for the group from the HPKE … Blumenthal, Uri - 0553 - MITLL
- Re: [CFRG] Questions for the group from the HPKE … Natanael
- Re: [CFRG] Questions for the group from the HPKE … Blumenthal, Uri - 0553 - MITLL
- Re: [CFRG] Questions for the group from the HPKE … Dan Harkins
- Re: [CFRG] Questions for the group from the HPKE … Martin Thomson
- Re: [CFRG] Questions for the group from the HPKE … Dan Harkins
- Re: [CFRG] Questions for the group from the HPKE … Martin Thomson
- [CFRG] Utility of nonce misuse resistance [was: Q… Loup Vaillant-David
- Re: [CFRG] Questions for the group from the HPKE … Dan Harkins