Re: [TLS] PR#28: Converting cTLS to QUIC-style varints

Marten Seemann <martenseemann@gmail.com> Tue, 06 October 2020 01:31 UTC

Return-Path: <martenseemann@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 AAD543A0CC6 for <tls@ietfa.amsl.com>; Mon, 5 Oct 2020 18:31:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, 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 (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 Sdst1fFK4Zw4 for <tls@ietfa.amsl.com>; Mon, 5 Oct 2020 18:31:29 -0700 (PDT)
Received: from mail-oo1-xc2a.google.com (mail-oo1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) (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 4FD863A0CAE for <tls@ietf.org>; Mon, 5 Oct 2020 18:31:29 -0700 (PDT)
Received: by mail-oo1-xc2a.google.com with SMTP id d16so1591522oos.4 for <tls@ietf.org>; Mon, 05 Oct 2020 18:31:29 -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=/Uy7KObYO7ZKiUBkJ7CDEhOGo6kKwNgkh+HiufL6MqU=; b=DvEvkpHQ6o5LDOAsbMHkmCUY8WCkgeaoSEAcLRBo74lJcjc0PCVKEtOSrVYC2y5EAi iELZOJpuHaU71p6IhFBjNmNeY6MdT/QbPZGH/vNzDZwIwQf0cqf8zyvuWcpPYxHARQVd LwuW8Ueha4REbeHJ5o57ziURqhvZBwKNxptxKhEUR+7aAxsjjdkhMEV4ykf+8j7BzInG SOZrXN/G9VM2k3boE1c+0nsE7LgNmFamKLT8xPAUy7KK2CVLRZBPeA04cM9gof/QjJIZ 17OJ79M4iU0qhNtQgi4DuoIs7n+VT8VSWaqpAP7uKYgfU2YFXiJv4q3iBv6o8MojyO/A koug==
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=/Uy7KObYO7ZKiUBkJ7CDEhOGo6kKwNgkh+HiufL6MqU=; b=HQy70aUGLMkEwpAWorSw99WU9Wu9rApTAK4AdLCX3jb63iL55d8sl6bgRPGcEKppaW q+YIz7NYWg1FCyppNFAonSgjDKkJSoNEDuGFfnppJxGJ6ZEpzgodhIst9k/WKzpIws9y jGTGFO/6clMXNT6TsUVLpjE31ewrCQL4/w7Q1KB/0X7A22B+p7eLzjuZM24RLbLXA/LD DjsCnuZpO3buCxRdWG7WOIaoZ5F0UiugnkfoC58yI/pXpH/s61v0G7lYE70Uthyoh0bX FnRxlZ5wt/Up5Hd+0k4LnrA9duZ8FqH/JxiSpA/nFiwENsjSzqPj+XzTuHC00y0oZhH8 k2dA==
X-Gm-Message-State: AOAM531o9T510YuaxzKzpqS5q2XBPYtDzdLsKuEfKDh64z2iX1i7zMPw WIp4/57b/PmDYPQJvHuCsI8nsxDyqwFuo5xZ+PqO3ti7VSc=
X-Google-Smtp-Source: ABdhPJxvpgZNnd3wJqtaU3Txmxqo0oWDGr/fqlzQqtjaQ4WcEtxEerqToAnPcg2xW80GTm8mtpTgMRQJ0Kn1fgcCP00=
X-Received: by 2002:a4a:4406:: with SMTP id o6mr1556821ooa.48.1601947888353; Mon, 05 Oct 2020 18:31:28 -0700 (PDT)
MIME-Version: 1.0
References: <CABcZeBPNFhGoLhgqeR9ObwyU68BYq=hXG1PhXcqNsNDNFGGyaw@mail.gmail.com>
In-Reply-To: <CABcZeBPNFhGoLhgqeR9ObwyU68BYq=hXG1PhXcqNsNDNFGGyaw@mail.gmail.com>
From: Marten Seemann <martenseemann@gmail.com>
Date: Tue, 6 Oct 2020 08:31:17 +0700
Message-ID: <CAOYVs2rEDtgJFVpiQkcaaYG2LAyW1hB5Cou4kUoG2_dkxMFTww@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d585c005b0f68efe"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/KJMHEwCyCc77ZYui5SaFFbfADso>
Subject: Re: [TLS] PR#28: Converting cTLS to QUIC-style varints
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, 06 Oct 2020 01:31:31 -0000

One thing that’s a bit annoying about QUIC’s variant format is that there
are multiple ways to encode a number. This has led to some complications in
the specification (e.g. QUIC requires you to use the minimal encoding for
frame types, but allows all encodings everywhere else).
It would be nice to have an unambiguous way to encode a number.

On Tue, Oct 6, 2020 at 07:35 Eric Rescorla <ekr@rtfm.com> wrote:

> Hi folks,
>
> cTLS uses a bespoke varint format. Now that QUIC is nearly done, I propose
> adopting their varint format.
>
> https://github.com/tlswg/draft-ietf-tls-ctls/pull/28
>
> Any objections?
> -Ekr
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>