Re: [lamps] rfc7030 CSR clarification ideas

Russ Housley <housley@vigilsec.com> Wed, 27 October 2021 23:39 UTC

Return-Path: <housley@vigilsec.com>
X-Original-To: spasm@ietfa.amsl.com
Delivered-To: spasm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 949EB3A0CAB for <spasm@ietfa.amsl.com>; Wed, 27 Oct 2021 16:39:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 ZQg2vh5Dzb3P for <spasm@ietfa.amsl.com>; Wed, 27 Oct 2021 16:39:41 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A69A23A0CA5 for <spasm@ietf.org>; Wed, 27 Oct 2021 16:39:41 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id C5816300C52 for <spasm@ietf.org>; Wed, 27 Oct 2021 19:39:42 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id rgL02CQXGotl for <spasm@ietf.org>; Wed, 27 Oct 2021 19:39:41 -0400 (EDT)
Received: from a860b60074bd.fios-router.home (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id 4EB2D300B9D; Wed, 27 Oct 2021 19:39:41 -0400 (EDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <27097.1635377182@localhost>
Date: Wed, 27 Oct 2021 19:39:38 -0400
Cc: spasm@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <F317B500-7D7C-4E80-B315-0323D498CA6B@vigilsec.com>
References: <27097.1635377182@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3445.104.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/6f1JbwNJZPpX6CKPIfoyq_WYTPU>
Subject: Re: [lamps] rfc7030 CSR clarification ideas
X-BeenThere: spasm@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "This is a venue for discussion of doing Some Pkix And SMime \(spasm\) work." <spasm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spasm>, <mailto:spasm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spasm/>
List-Post: <mailto:spasm@ietf.org>
List-Help: <mailto:spasm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spasm>, <mailto:spasm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Oct 2021 23:39:47 -0000

GeneralName is very flexible, and it is extendible through OtherName.

Russ

> On Oct 27, 2021, at 7:26 PM, Michael Richardson <mcr+ietf@sandelman.ca> wrote:
> 
> Subsequent to posting draft-richardson-lamps-rfc7030-csrattrs-01 on Monday,
> David has clarified a few options with commit:
>  https://github.com/mcr/lamps-rfc7030-csrattrs/commit/01f6949b880dd6269d5e886113486d056a42ebc1
> 
> in a number of the proposals, an explicit "Name" field is included in the attributes.
> 
> My understanding from RFC5280, is that the SubjectAltName is an extension and
> it is not contained with a "Name" object.  In particular, section 4.2.1.6 of
> RFC5280 says:
> 
> 
>   GeneralName ::= CHOICE {
>        otherName                       [0]     OtherName,
>        rfc822Name                      [1]     IA5String,
>        dNSName                         [2]     IA5String,
>        x400Address                     [3]     ORAddress,
>        directoryName                   [4]     Name,
> 
> so in fact a "Name" is allowed inside a SubjectAltName, and not the other way
> around.
> 
> Pretty much all of the cases where we think that a Registrar needs to specify
> a name to the client, it's some kind of SubjectAltName.  Often rfc822Name
> or otherName (in the case of RFC8994/ACP).
> 
> So I think that we could consider all the options that David and others have
> proposed, if we included a GeneralName rather than a Name?
> 
> Are there use cases (particularly given draft-ietf-uta-rfc6125bis-03 aka
> draft-ietf-uta-use-san aka draft-rsalz-use-san) where we actually will need
> to specify the SubjectDN... GOING FORWARD?
> 
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
>           Sandelman Software Works Inc, Ottawa and Worldwide
> 
> 
> 
> 
> 
>