Re: [TLS] Constraining ECH to HKDF-based HPKE ciphersuites
Christopher Patton <cpatton@cloudflare.com> Mon, 17 August 2020 21:55 UTC
Return-Path: <cpatton@cloudflare.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A7ED13A12AF for <tls@ietfa.amsl.com>; Mon, 17 Aug 2020 14:55:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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 cXyNcpgWP_jI for <tls@ietfa.amsl.com>; Mon, 17 Aug 2020 14:55:48 -0700 (PDT)
Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (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 C9BC43A1258 for <tls@ietf.org>; Mon, 17 Aug 2020 14:55:48 -0700 (PDT)
Received: by mail-qk1-x732.google.com with SMTP id b14so16470676qkn.4 for <tls@ietf.org>; Mon, 17 Aug 2020 14:55:48 -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=S4vOfGOWPrZR9cTLbLuya3WhBWhku7+7eSCTGVbT02M=; b=qBlw7wfGqphZs/a53/eyyajkbxMlmd89nFm1Pi8QmFr4cBYGSOwb7DZT6spd2SBbj+ I3cU3bez2XwZhlve8Rc2krjL9NJ5dpg9VG/Jn95z6w+3PxyMimJIfD66hgC8/CrocC0/ dK1PqU81SMCxznzGGOcqhwqvd/HHFJtCoT+LM=
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=S4vOfGOWPrZR9cTLbLuya3WhBWhku7+7eSCTGVbT02M=; b=UMpk9gLqVnMmCEq7dkG69nJtnlmd2kUqnuurq876C4WwWhQ6KXcX4Dqo7EszEuI5SK jNuVaN+oNkFv/mFiWL3LVbRDFGj1n93MgR5ptK+nXCQa5mw3NtTFgpg6e9kh4BmtcyYE nTcqLECNcMrDXn4Ej+htmxXBZgYhhQLq7QhOHCr9tDvh84EzNUEkevihW4yzk0jLHsaz s6UrrDDIrZTHkENu0hlt7OowK31tthX4H7nFKkAm0M89Cfm8e7Zx1mFT01HpgC/IbkE3 3SscdESRqt3Ju8WhZnkT8ZgHQ5SAbUnzmIkKRF5sImRddeOQ+vf2VluUpzTAeiFhod/c w9MA==
X-Gm-Message-State: AOAM532QichUBD+BvweJF4y8XUfRUkYZxog5HblFuDEOTpgPwznQF1UJ OZDoUzzoSQ556tt6Q+5g31zAalQQIKYAaZuwXJlPR2PUxCjcfg==
X-Google-Smtp-Source: ABdhPJwWtSztbu84WPQwg1Z/MYBVpIbBgx9ggdVbHweMmSN6pDhNQCLxoKiE5dmP6InJewQ8TzQ4vF9XC72ju1Cn4xI=
X-Received: by 2002:a37:9402:: with SMTP id w2mr15077557qkd.329.1597701347824; Mon, 17 Aug 2020 14:55:47 -0700 (PDT)
MIME-Version: 1.0
References: <ee8c4bb1-554a-4f45-a1d5-17e49b320562@www.fastmail.com> <170e077f-2ad1-4794-9227-b7e9fcf74b0c@www.fastmail.com>
In-Reply-To: <170e077f-2ad1-4794-9227-b7e9fcf74b0c@www.fastmail.com>
From: Christopher Patton <cpatton@cloudflare.com>
Date: Mon, 17 Aug 2020 14:55:37 -0700
Message-ID: <CAG2Zi22BdP_EYGrCiDMqKrkQN4ZwE-igBjQypMbUJrSiaXER=A@mail.gmail.com>
To: Martin Thomson <mt@lowentropy.net>
Cc: "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000004b769b05ad19d575"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/CerHg8maAccIsU8Vib6rDbzrWb8>
Subject: Re: [TLS] Constraining ECH to HKDF-based HPKE ciphersuites
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Aug 2020 21:55:55 -0000
Hi Martin, > Or maybe just running the HPKE KDF with a fixed input. Do you mean something like this? Let `config_digest = KDF.extract("some salt", "some label", config)`, where `config` is the ECH configuration? Unless I've missed something critical, you don't need any sort of preimage > resistance for this, it's only for identification purposes. > The manner in which `config_digest` is computed could be significant to "don't stick out", depending on how you define this property. For example, one requirement for the hash function might be that it is one-way. Chris P.
- [TLS] Constraining ECH to HKDF-based HPKE ciphers… Christopher Wood
- Re: [TLS] Constraining ECH to HKDF-based HPKE cip… Martin Thomson
- Re: [TLS] Constraining ECH to HKDF-based HPKE cip… Christopher Patton
- Re: [TLS] Constraining ECH to HKDF-based HPKE cip… Martin Thomson
- Re: [TLS] Constraining ECH to HKDF-based HPKE cip… Christopher Patton
- Re: [TLS] Constraining ECH to HKDF-based HPKE cip… Christopher Wood
- Re: [TLS] Constraining ECH to HKDF-based HPKE cip… Martin Thomson
- Re: [TLS] Constraining ECH to HKDF-based HPKE cip… Christopher Patton