Re: [CFRG] draft-westerbaan-cfrg-hpke-xyber768d00

Bas Westerbaan <bas@cloudflare.com> Fri, 19 May 2023 14:23 UTC

Return-Path: <bas@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 2C7DDC1519B0 for <cfrg@ietfa.amsl.com>; Fri, 19 May 2023 07:23:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, 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_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XvzBGrCoY9pJ for <cfrg@ietfa.amsl.com>; Fri, 19 May 2023 07:23:49 -0700 (PDT)
Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 12C32C14F747 for <cfrg@irtf.org>; Fri, 19 May 2023 07:23:49 -0700 (PDT)
Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-563874afe98so7099567b3.1 for <cfrg@irtf.org>; Fri, 19 May 2023 07:23:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; t=1684506227; x=1687098227; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tae3BCAZJbHnb78CQngv9gt5CqLJhwJQDcqTDaLINxs=; b=itkJULogZCMEBGtdj2bsgvIWbilb1cK++2QfMwfRWk3fj5/Mc/qi9lqgrLMDJlqM+U SgRBpVxsPJVSflRnNhDmEnXILMPYUEAJ2O3wHhBpvtmJ3UHUtVsoQpO1aHcpcsXxBbu/ CRcqh5wagDtlFsuogvOC0lhvB3tujUpGWw+x8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684506227; x=1687098227; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tae3BCAZJbHnb78CQngv9gt5CqLJhwJQDcqTDaLINxs=; b=G2AvrCgN4sl4MZjj061W3z1YG0oV6DyMDnvSGtmdAjb35J9isCww3qY2wH5BZEU7qV ekNcteCAniSpsA4+eG0izSISJwnlw5suYTV1noIDacnb+ZB4vLm7k13mAWlUqFlUvvRD XUqRLk99nIiFGFhrAT/dLl+LB0fXx1Utbnc6nf/+Zv+coLUmInJrYvDPyA7PvI8LqzFX jYK2wQLzpJiSddP7StGADio6SVyeNMYlfDXmppKf718nwAH+FSu9am/3MY0A9ijp3ZWn ziYrSZvEjdKeqw2Lo8Yu61Ari88tJZgSErMPI5rkowU5EeIOZvR/TDpVt1r7vmVoNZmt jmrg==
X-Gm-Message-State: AC+VfDzNOt4Dmvf52WPE+iozMyrKHT09zqVjquSiOxWMb/HScgeb263m Fqu0KqxUVHg6C2ofkd1/O+3jROTSssfvonMWwbXYIGnnDwA20bYpiQq5AQ==
X-Google-Smtp-Source: ACHHUZ4hqui0VLCUVovWRbtX22tiBLkmuUStH5A8nxD9Wppr991Q7rQz285O9MU0wUag0CYY7Di1s/z+5b9ns13fxBY=
X-Received: by 2002:a0d:d810:0:b0:561:94a7:fef3 with SMTP id a16-20020a0dd810000000b0056194a7fef3mr2141183ywe.23.1684506227521; Fri, 19 May 2023 07:23:47 -0700 (PDT)
MIME-Version: 1.0
References: <CAMjbhoWPYzsLDU2sgnnf4F5M+_mZc6OUi4BcfZ6fJ4HhRZpq6g@mail.gmail.com>
In-Reply-To: <CAMjbhoWPYzsLDU2sgnnf4F5M+_mZc6OUi4BcfZ6fJ4HhRZpq6g@mail.gmail.com>
From: Bas Westerbaan <bas@cloudflare.com>
Date: Fri, 19 May 2023 16:23:36 +0200
Message-ID: <CAMjbhoWT_jtn3qnEZpnPpiKfrRZoyeQHjegzb2SJNYTTb8sLEQ@mail.gmail.com>
To: IRTF CFRG <cfrg@irtf.org>
Cc: Chris Wood <chriswood@cloudflare.com>
Content-Type: multipart/alternative; boundary="00000000000050aff505fc0cab70"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/2rOaXiJTce1iRPAuxs8Q-TQ4wRo>
Subject: Re: [CFRG] draft-westerbaan-cfrg-hpke-xyber768d00
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.39
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, 19 May 2023 14:23:53 -0000

Hi all,

Thanks for your comments and reviews.

Some updates:

- IANA assigned a codepoint for -02. [1]
- Go support landed in CIRCL. [2]
- Rust support in fork of rust-hpke [3]
- ohttp support in Rust [4] (thanks Martin!) and Go [5].

Best,

 Bas

---
[1] https://www.iana.org/assignments/hpke/

Value: 0x0030
KEM: X25519Kyber768Draft00
Nsecret: 64
Nenc: 1120
Npk: 1216
Nsk: 2432
Auth: no
Reference: draft-westerbaan-cfrg-hpke-xyber768d00-02

[2] https://github.com/cloudflare/circl
[3] https://github.com/rozbb/rust-hpke/pull/43
[4] https://github.com/martinthomson/ohttp/ version 0.4.0, requires "pq"
feature
[5] https://github.com/chris-wood/ohttp-go

On Fri, Apr 7, 2023 at 9:57 PM Bas Westerbaan <bas@cloudflare.com> wrote:

> Hi,
>
> For early deployment of post-quantum ECH and OHTTP, we need a codepoint
> for a post-quantum HPKE suite. I think a natural choice would be the
> combination of DHKEM(X25519,KDF_SHA256) and Kyber768Draft00 described in
> the following I-D.
>
> https://datatracker.ietf.org/doc/draft-westerbaan-cfrg-hpke-xyber768d00/
>
> Happy to hear your thoughts.
>
> Best,
>
>  Bas
>