Re: [TLS] A flags extension

"Martin Thomson" <mt@lowentropy.net> Tue, 26 March 2019 08:06 UTC

Return-Path: <mt@lowentropy.net>
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 5F8E012028B for <tls@ietfa.amsl.com>; Tue, 26 Mar 2019 01:06:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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=lowentropy.net header.b=npcd5kpy; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=QlEJm7lV
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 O1-BfLMn97T9 for <tls@ietfa.amsl.com>; Tue, 26 Mar 2019 01:06:05 -0700 (PDT)
Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 87A51120047 for <tls@ietf.org>; Tue, 26 Mar 2019 01:06:05 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 7CF8C6310 for <tls@ietf.org>; Tue, 26 Mar 2019 04:06:04 -0400 (EDT)
Received: from imap2 ([10.202.2.52]) by compute1.internal (MEProxy); Tue, 26 Mar 2019 04:06:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm1; bh=gGk7wVf21yYlrRBW3P7JLLdw5j2UePQ FS6UT4U63vhc=; b=npcd5kpy7qJ1drKOry2UglfJ0nG4IUw17sumozQvIlnfSu7 TjMY7bwyjKhAai94+bEVjyQ82nNWI8cYJD0PV/UTttCur5ICqkRajw6yqud87YsF 6nwr/85L4J70CxfmOD3ANccpcWgIvlNCMzMETZR4YJzmFAXKW5GTpfzMRw/ha6nO Q9TU82ATm7qLKXJpi/JpL7ElGqnhPEZtZQn8M7irqwDXPVAX6PhjH/Kp5nzwP7LL qjh4/qAL2iOmcjKOmU+t29dlxo9t2AOq2r7e6CRCVk4ag0Zg0amaeO5yt1N+s6Td N+4bkgvjx8Eo4SrenvwOfPKKLLx9HOkkdqhI1vw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=gGk7wV f21yYlrRBW3P7JLLdw5j2UePQFS6UT4U63vhc=; b=QlEJm7lVPVKM5IblO9ink2 umSS865RHTb5zTTu14uZvhvhuKbVqlxaHPuyxb1v3Kje3/1FW5W1ZBPWbdGTBLCk XIW07I/b2A3Cz5TGr4CFoMufIm3xDDvBpKmErPg7+W0XotIfWGkI6Ib+oaHnjLUs B5DT1lMUijSfxcJRG+rAK1ZLN0NZliNL2Dm267HhMoc54pKigxiMGf64bRNYrmif YYX1906lpEV4CrQNRL7Oh+eS7yUYCuqqN7Yb8gCUatlkv422bD6RJOjDHtRkNYP1 7GKXMtb1FLiN7LqPREKAkDWEwe4enV2hvNENDs6P+vJNUH0vOyvGqQR5sj5AZJlQ ==
X-ME-Sender: <xms:bN2ZXCieOR6uTGiUpRAx7VzYATJGQ5GcTgmtbJ1F8St2Zm7mCdlaBQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrjeelgdduudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfofgrrhhtihhnucfvhhhomhhsohhnfdcuoehmtheslhho figvnhhtrhhophihrdhnvghtqeenucffohhmrghinhepihgvthhfrdhorhhgpdhprhhooh hfphhoihhnthdrtghomhenucfrrghrrghmpehmrghilhhfrhhomhepmhhtsehlohifvghn thhrohhphidrnhgvthenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:bN2ZXPdFs14-Gs08LZjFJnMYMStcSskxCLxxksdCIHi3wqgvFbaSgQ> <xmx:bN2ZXB08i82g-lInndZDFAUIbY-m_xpub8PQwX-6RABO5JjGk_XI2Q> <xmx:bN2ZXMIATHlcKDSGsNTksKS9owWji4DKaRxosvFAAh62n5wYfRpOTw> <xmx:bN2ZXGzUAQ4zJW_sQRzyHwsVgAts40M0QJAF9CjN5Jl2na54e8LMrg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 00BD87C1B7; Tue, 26 Mar 2019 04:06:03 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.5-976-g376b1f3-fmstable-20190314v3
Mime-Version: 1.0
X-Me-Personality: 92534000
Message-Id: <2e5a5623-7de9-4f12-b699-b0b248432f96@www.fastmail.com>
In-Reply-To: <B0FF00D7-8727-4371-8DAA-AD2A920504F8@akamai.com>
References: <A7EC005E-3463-406B-930F-925B4D2338E4@gmail.com> <B0FF00D7-8727-4371-8DAA-AD2A920504F8@akamai.com>
Date: Tue, 26 Mar 2019 04:06:03 -0400
From: Martin Thomson <mt@lowentropy.net>
To: tls@ietf.org
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ccHIYZx_mtsPceEInkzUFlgcusc>
Subject: Re: [TLS] A flags extension
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, 26 Mar 2019 08:06:08 -0000

This needs more space for each flag.  8 bits is a pretty small space.  If you are concerned with the size of the result, we have some variable-length integer encodings you could try.

On Tue, Mar 26, 2019, at 00:22, Salz, Rich wrote:
>  
> That was FAST.
> 
> 
> Looks good.
> 
> 
> *From: *Yoav Nir <ynir.ietf@gmail.com>
> *Date: *Monday, March 25, 2019 at 10:10 PM
> *To: *"tls@ietf.org" <tls@ietf.org>
> *Subject: *[TLS] A flags extension
> 
> 
> Hi. Today at the TLS meeting, there was a discussion at the mic about 
> 1-bit extensions that only serve to indicate support for an optional 
> feature. EKR commented that such extensions take 4 bytes each and that 
> maybe we need to replace them with a flags extension. 
> 
> 
> So I threw together a quick -00 draft with an extension that does just that [1].
> 
> 
> Comments are welcome.
> 
> 
> Yoav
> 
> 
> [1] https://datatracker.ietf.org/doc/draft-nir-tls-tlsflags/ 
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__datatracker.ietf.org_doc_draft-2Dnir-2Dtls-2Dtlsflags_&d=DwMFAg&c=96ZbZZcaMF4w0F4jpN6LZg&r=4LM0GbR0h9Fvx86FtsKI-w&m=vI7f_lTRNmPJU_afvRwCfhhfrX-GjDMCcpRfUZF254A&s=rcJFjdA-91NCh1SnDreFMvQpvRnUwUJYHXgYOz05wzI&e=>
> 
> 
> 
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>