Re: [TLS] TLS 1.3 Problem?

Watson Ladd <watsonbladd@gmail.com> Tue, 29 September 2020 00:38 UTC

Return-Path: <watsonbladd@gmail.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 4A1683A0A29 for <tls@ietfa.amsl.com>; Mon, 28 Sep 2020 17:38:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, FREEMAIL_FROM=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 (2048-bit key) header.d=gmail.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 vkPqqqx5ob2y for <tls@ietfa.amsl.com>; Mon, 28 Sep 2020 17:38:19 -0700 (PDT)
Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (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 D433F3A0A22 for <tls@ietf.org>; Mon, 28 Sep 2020 17:38:18 -0700 (PDT)
Received: by mail-lf1-x132.google.com with SMTP id 77so3476752lfj.0 for <tls@ietf.org>; Mon, 28 Sep 2020 17:38:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ki3G4EyOZVfzJ1Ib5ly7ug2MMgeqTRIT7avUSKBku9o=; b=gs9Fw0+CbG6DeyHe5OJ0HeRC/cpLA4dka7dmLDhrH5RNIDWPlpUY8yywAKObq/2eJJ AixAnwWOPrj0+6Cmrw6/9ZHyCzbB60l6Sh9/Pw+hd+RvtvEnNJsJWtAPZOjnWmx82Srn QFZdxvGOumeMX1+FANYk08cc9WyJH4g/KKgz1RurFb5QNTnZXncH0HVwILFx8nT+S/4J JY0Gv0cnGL14htBGWLsINmGc8BgEzaRd6o6fnKpKfusH0vFSIxZoOUftMQJMEHprBOjk epdoRAxKkRi/T6C4nSGpa/VzX5LISkgd8pxhOa933gXlf2a3MYJDaosTT0Anwlhr6+rn ypKg==
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=Ki3G4EyOZVfzJ1Ib5ly7ug2MMgeqTRIT7avUSKBku9o=; b=Qk9OnWJkMUpj10Zu1leLee+PF0H1me0qnsXol0qi4eQveukf+lNQRCiabNa0Ef4Tm/ +cvYiJURq0gl49F/pPa++v4ZT5EtO9HzWwWL6vgp1lDE1IqSgaIeqFs4ByMqQFFvr8+c 0wBG6nQu91W9VUYDlkPqHuudrDLubsKGFizhmfq84SaGfP6Zf2t0fprLiuPZkYWkNzPP mF/lSPMXtviJQQ6B5mwUYBk+/8mekk0sUrdYbO5vYTQCx59HUcC0AQeVb7MB3Rh+KJWe X0cTzfS7nIEwsvDMDnQVnZ2wMtLFC+VN1lNXv/SZMW54bAfkp77y2P5MkxNoXdR/+079 ceUA==
X-Gm-Message-State: AOAM532HW6RLuv+GrEugW8Vu8xp2cpJKtOX+lo11tYfrOcncScBXPczZ F8YYf94Mrn6TB5voNT16GDsXuq2iWNAYbZrws5A=
X-Google-Smtp-Source: ABdhPJzvvPD31B9oXXkzcnj3G/zBnzsTtPBiUYEJv/FnECx+hwlZ6keSUf/vJD89oLPvgyySBIGICOFVPjpl8UibG4s=
X-Received: by 2002:a19:e041:: with SMTP id g1mr234676lfj.337.1601339896963; Mon, 28 Sep 2020 17:38:16 -0700 (PDT)
MIME-Version: 1.0
References: <0c31f2d6-5f8e-2fd6-9a1a-08b7902dd135@pobox.com> <AM0PR08MB37164F2D0E0CE5FB6D62D461FA350@AM0PR08MB3716.eurprd08.prod.outlook.com> <1c7e2f31-8a9e-4bd8-9e80-ab18ebeb609f@www.fastmail.com>
In-Reply-To: <1c7e2f31-8a9e-4bd8-9e80-ab18ebeb609f@www.fastmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Mon, 28 Sep 2020 20:38:05 -0400
Message-ID: <CACsn0cmbDz3ML8o5moAacqfXqYQo-Hqi53XQL6UoGYcZBwy-Mg@mail.gmail.com>
To: Michael D'Errico <mike-list@pobox.com>
Cc: TLS List <tls@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/mHlBpliO39f3XpLiEj18-ErH2-c>
Subject: Re: [TLS] TLS 1.3 Problem?
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: Tue, 29 Sep 2020 00:38:20 -0000

On Mon, Sep 28, 2020 at 6:33 PM Michael D'Errico <mike-list@pobox.com> wrote:
>
> On Mon, Sep 28, 2020, at 11:07, Hannes Tschofenig wrote:
> >
> > Luckily, we don't have any angry cryptographers in this group.
>
> Were they all pushed away too?
>
> Anyway, back on the topic of stateless HelloRetryRequest, I
> don't see how this can work given that the client can make
> several modifications to the ClientHello which will invalidate
> the hash sent in the "cookie" (even if the client echos it back
> as required without modification).

The hash isn't used for validation, but for continuing the running
hash of the transcript to ensure that the negotiation isn't interfered
with. See section 4.4.1.

>
> Is stateless HelloRetryRequest even being used?  If so, how?

QUIC depends on it iiuc.

Sincerely,
Watson

-- 
Astra mortemque praestare gradatim