Re: [TLS] Can flags be responded to with an extension?

Eric Rescorla <ekr@rtfm.com> Mon, 09 May 2022 15:41 UTC

Return-Path: <ekr@rtfm.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 73F99C14F742 for <tls@ietfa.amsl.com>; Mon, 9 May 2022 08:41:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20210112.gappssmtp.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 Kw_ERdSWWViv for <tls@ietfa.amsl.com>; Mon, 9 May 2022 08:41:49 -0700 (PDT)
Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (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 516C2C159492 for <tls@ietf.org>; Mon, 9 May 2022 08:41:38 -0700 (PDT)
Received: by mail-ej1-x630.google.com with SMTP id y3so27568475ejo.12 for <tls@ietf.org>; Mon, 09 May 2022 08:41:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zwTn47cqWMX89EL7VAxTYp8ZBfAByFShYs4cXRdNIos=; b=71ysqb3kEUFlpYKyfuRqm+2Uf496zA45UA+ZEgpPw3Ygp3ByLB7a/EWaQTRhxc5kNh O82kApHuPCVMkyKAkqMJ6TjT40DHnAbnj2tr4dmcpYzjQXdSVNFEbIKZLF4It2DMs/Nn 5zbDX9EnyWmeM6gVpZPAiYorxhUJ55NUWRh1m6Bp0fTBMh10SAOhveFRpnm8+gQiQX27 8eK9oKqFv0W/fL02F17SkKOiEm5sB8Fu//nT8OSx3Fksd2ZCJCf2aRlhF2uXPaT0/kEg h/eg5LxXvWG0g1BA4Q0/4tvkUUF0987CEmMx+81wTbBUOtGmAJ8CAttscTu8NKUpnwfB CnoQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zwTn47cqWMX89EL7VAxTYp8ZBfAByFShYs4cXRdNIos=; b=XVzRrn44QIUk28KCg1/vrXVBX5Yhp81MKunFGvF/oQ/BwPQ6R2G6mVZU/J74tn8Euw rmX0hsV+ChxSZ20UyzFGPCpbuZ/QZyGqJTIrVBf1M7Y1k3vk+qeSsSRPzMWRm9eASMP9 v69GR1yzJXgpAocmO7+WZrobPg7f5Bi4ZuYWfnni4T2BvrXqapmCqPc9nv80WSX6HHzq VyFwYnCns9mQkpWLrTlIf8k/K9o/X0e2KAnHTprJb2RZwbfO1KgHhMEl4E909CWmr0Mx Yd+51J4B9F/HUiGN9LGlnK5DBoElyo6cdKxgH/zd3q2vlJ5tfiS/WMeTPZO5s8buQAv8 HMXA==
X-Gm-Message-State: AOAM533BeobjXukU4cghBb5oPD2FJ7Kp8vR9nY+P3permYU7gESgJv0M jf46rNOma4uQWnIDoSJ3hz4iq28MKFbaCCsF9ql+UAvZwIk=
X-Google-Smtp-Source: ABdhPJy05aPp8dZ/NEpi91ZuJT8DA21p5sYL+WqGqfeXDFMCYhxFn1szp0Ri0YSTUVQsgvomKZrRjhhSziOZIvt43uA=
X-Received: by 2002:a17:907:c22:b0:6f4:2cb6:7ba9 with SMTP id ga34-20020a1709070c2200b006f42cb67ba9mr15488255ejc.29.1652110896588; Mon, 09 May 2022 08:41:36 -0700 (PDT)
MIME-Version: 1.0
References: <CABcZeBPyqFSgdiUbgKk5QbHnDA_zT8RH_KROebTrUNOnfqZZGQ@mail.gmail.com> <20220413225130.GC3149@akamai.com> <00386759-28C6-4E54-BC9C-1C566D4A0B6D@gmail.com>
In-Reply-To: <00386759-28C6-4E54-BC9C-1C566D4A0B6D@gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Mon, 9 May 2022 08:41:00 -0700
Message-ID: <CABcZeBNg_2x-MFvAaxWLeDNN8FV-MZmQYVLZuSKRDDXFq_g-xw@mail.gmail.com>
To: Yoav Nir <ynir.ietf@gmail.com>
Cc: Benjamin Kaduk <bkaduk=40akamai.com@dmarc.ietf.org>, "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000001f0fd105de960bbb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/C-L7LwmsjEmsP1THv95S4fRibgs>
Subject: Re: [TLS] Can flags be responded to with an extension?
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.34
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, 09 May 2022 15:41:54 -0000

Well, sounds like it's an open issue

My view is that it should be explicitly allowed, but I don't feel that
strongly about it. I do, however, feel strongly that the draft should say
explicitly one way or the other.

On Mon, May 9, 2022 at 8:10 AM Yoav Nir <ynir.ietf@gmail.com> wrote:

>
>
> > On 14 Apr 2022, at 1:51, Benjamin Kaduk <bkaduk=
> 40akamai.com@dmarc.ietf.org> wrote:
> >
> > On Wed, Apr 13, 2022 at 10:56:49AM -0700, Eric Rescorla wrote:
> >> Consider the case where the client wants to offer some capability that
> >> the server then responds to with real data, rather than just an
> >> acknowledgement.
> >>
> >> For instance, supposing the SCT extension from RFC 6962 did not exist,
> >> the client would want to indicate support in CH and the server would
> >> send the SCT in CERT, but this extension would need to be non-empty
> >> and hence not a flag. draft-ietf-tls-tlsflags-09 seems a bit
> >> uncelar on this point (unless I'm missing it) but I think we
> >> should explicitly allow it.
> >
> > In my head this was already disallowed.  I couldn't swear to whether
> > we actually talked about it previously or not, though.
>
> I’m pretty sure we haven’t discussed this (or at least, I wasn’t in the
> room).  In my head it’s also disallowed.  In the text, it’s not explicitly
> disallowed, but the text does talk about response flags that are in flag
> extensions, not about responses that are in other extensions or other
> messages.  So implicitly disallowed?
>
> Yoav
>
>