Re: [TLS] CertficateRequest extension encoding

Martin Thomson <martin.thomson@gmail.com> Sat, 24 September 2016 01:38 UTC

Return-Path: <martin.thomson@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 33CE112BE78 for <tls@ietfa.amsl.com>; Fri, 23 Sep 2016 18:38:56 -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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-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 HJhOzbB0OPLJ for <tls@ietfa.amsl.com>; Fri, 23 Sep 2016 18:38:55 -0700 (PDT)
Received: from mail-qt0-x236.google.com (mail-qt0-x236.google.com [IPv6:2607:f8b0:400d:c0d::236]) (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 0A86212BDC1 for <tls@ietf.org>; Fri, 23 Sep 2016 18:38:55 -0700 (PDT)
Received: by mail-qt0-x236.google.com with SMTP id 38so60385714qte.1 for <tls@ietf.org>; Fri, 23 Sep 2016 18:38:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bkfzvZG5lcde6GE/sQkEdvwYhhktwB8Z1bkfADRfRzA=; b=ttsrKec/m0qjl+jz5ROgVaYI+C2jgyj5dKYX9m0Kghof2JrWbXm2vRChkT9tUGBwPR No4lwhiOZyKesRhIBH4outmtQ+mK5GWDKhIaVF6TTqTMTlvyu35ozgAZ3CrnzfeSh+7L dysb4cuehf3FwT6DtCav5nwQW7U+uSDEZjyF+KK2KsP0KS22OZxG7R9osLXOpn+mglTY uusPJwwthSROBYX9eG4v/pt86ySHn3ExxrZaUXM1BL6fzGyckEF6UdGlPxrK/BCnZ5l2 jceHJVxKE0bE1WXDQ7LUkv1Qw/kR0yuNPHsMWlA8/bZmx6l0/YwtP5saOA9WMQp8/uYQ F7Zg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bkfzvZG5lcde6GE/sQkEdvwYhhktwB8Z1bkfADRfRzA=; b=fjzqfjIL9mPV+WN4VMVLGsYeFF1liolsaG7ktZeE7I2PphTvR59LCWRB5jmx5PKyde FY1ell2ibyc+HwVPpMhN4yqB2AXVilt9FEDHds8thbx+zdhvXMBGcYp5xcyXrOwcNV9g IP3gQTw1i+OOOiGqpwN2Uq1w/dL6Dk+e42iy3tvMma+E8sFXkd6kLTXmsdp+xDta1PaM Cn6EEIcJSP0uvc5UFNwfn0FDkHWsDSkwMPC+iRwrO6UdvyStr9MLjxU1KJ6IlWumqQYo lsrp9UVUGf5IqAYX/Y/+hIZuAJnM+D7J0P3OrHc6RrzVv+Iy+NvGM2NVO8FDfMg+rpxg N3Hw==
X-Gm-Message-State: AA6/9Rlk5kF5SWffZs51xEaNh3wONz/sUF/bdNSRiDla3o3qf7rXUZo5uaKgw+umOVlAqroBlMSzIxo/umXJtA==
X-Received: by 10.237.36.168 with SMTP id t37mr9832679qtc.132.1474681134230; Fri, 23 Sep 2016 18:38:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.22.146 with HTTP; Fri, 23 Sep 2016 18:38:53 -0700 (PDT)
In-Reply-To: <CAOjisRw7fV3D7719YhvGxa9e_gZYMrFG+c9VMpY_kqL2i2OFTQ@mail.gmail.com>
References: <20160904105637.sjl4wmr2hc2mito6@LK-Perkele-V2.elisa-laajakaista.fi> <CAF8qwaApcZBC0K8m27CtYbUd3zb5HvVQbDxpN0kkY0c=Pj4Rcw@mail.gmail.com> <CAF8qwaDVGrnzeLQD1ika0=VZbD8gJpigcRv_qgiAYdHV_iS2jA@mail.gmail.com> <CY1PR0301MB08421CDD92828E5809E40E8C8CE60@CY1PR0301MB0842.namprd03.prod.outlook.com> <CAF8qwaDj5fP_zgFruu-Q+3+Hv-=6fkJbY_k4+b9-9PcHSidqfg@mail.gmail.com> <1473171296219.4329@cs.auckland.ac.nz> <3365c59b-34ee-9f1c-d7f6-156d4715b967@gmail.com> <CY1PR0301MB0842FA7EE55237108A70B0D48CF90@CY1PR0301MB0842.namprd03.prod.outlook.com> <CAF8qwaB0Bh5xEStP6TocU__UJip26GmmMqfr8Zm5aoOGHUYp4w@mail.gmail.com> <CAOjisRw7fV3D7719YhvGxa9e_gZYMrFG+c9VMpY_kqL2i2OFTQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Sat, 24 Sep 2016 11:38:53 +1000
Message-ID: <CABkgnnVMjUnTY8r7=QFcx4PQU1iKKcChC0S0uVmD8QQe5i+UTA@mail.gmail.com>
To: Nick Sullivan <nicholas.sullivan@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/7viIHy7AUWkl7sZKmYpiusIXA1I>
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] CertficateRequest extension encoding
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.17
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: Sat, 24 Sep 2016 01:38:56 -0000

On 24 September 2016 at 10:35, Nick Sullivan
<nicholas.sullivan@gmail.com> wrote:
> 1) Move DistinguishedName out of the structure and define it as a TLS-style
> extension. It's not a required field.
> 2) Remove SignatureScheme from structure, and instead change the behavior of
> the the "signature_algorithms" extension to include all server-supported
> SignatureSchemes in the ServerHello in descending order of preference.

This is my preference too.  I get that this means that you have to
remember more if you might support client authentication, but it
removes yet another bespoke parser and extension point.