Re: [lamps] CSRATTRS specifying the SAN

Eliot Lear <lear@lear.ch> Thu, 10 June 2021 13:01 UTC

Return-Path: <lear@lear.ch>
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 200083A4098 for <spasm@ietfa.amsl.com>; Thu, 10 Jun 2021 06:01:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.091
X-Spam-Level:
X-Spam-Status: No, score=-2.091 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, NICE_REPLY_A=-0.001, SPF_PASS=-0.001, T_SPF_HELO_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=lear.ch
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 it2tUXVKeeir for <spasm@ietfa.amsl.com>; Thu, 10 Jun 2021 06:01:34 -0700 (PDT)
Received: from upstairs.ofcourseimright.com (upstairs.ofcourseimright.com [185.32.222.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A01623A4096 for <spasm@ietf.org>; Thu, 10 Jun 2021 06:01:34 -0700 (PDT)
Received: from [IPv6:2001:420:c0c0:1011::10] ([IPv6:2001:420:c0c0:1011:0:0:0:10]) (authenticated bits=0) by upstairs.ofcourseimright.com (8.15.2/8.15.2/Debian-18) with ESMTPSA id 15AD1VGC194527 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Thu, 10 Jun 2021 15:01:31 +0200
Authentication-Results: upstairs.ofcourseimright.com; dmarc=none (p=none dis=none) header.from=lear.ch
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=lear.ch; s=upstairs; t=1623330092; bh=MkFiUxEcSGqAhWjIz2j63PhoaoIrupaEeTE0sG/owHY=; h=To:References:From:Cc:Subject:Date:In-Reply-To:From; b=XbRTXbxiPQTTqooHvvdYPdL88SNsU1VTrs+zdSD37Ir6nTpLMoFSAELMTlLG/XpDZ 7DqzEOLkXyJQjXkWFc3fNhtUlbAOn1lKXAdeTd+Fd4RbJksKGSDYZwPiCeXD7vxyGO RO10P5oBTLhQJQpo58hPt9plDw0XxBxvJnosYNus=
To: Michael Richardson <mcr+ietf@sandelman.ca>
References: <83844291-5785-434E-8956-3FF81ECD761C@cisco.com> <9820.1618358856@localhost> <MW3PR11MB47462121627A10A62E006497DB369@MW3PR11MB4746.namprd11.prod.outlook.com> <26435.1623269725@localhost>
From: Eliot Lear <lear@lear.ch>
Cc: spasm@ietf.org
Message-ID: <7384770c-3b0b-bbb1-bdd9-898719787e7e@lear.ch>
Date: Thu, 10 Jun 2021 15:01:29 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <26435.1623269725@localhost>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="D7o13YsjQadL65kiXkmNKfdMV9wW6HSpi"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/GpZmTM-0E_LGfz9H7G2eZaIHgco>
Subject: Re: [lamps] CSRATTRS specifying the SAN
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: Thu, 10 Jun 2021 13:01:40 -0000

Hi Michael,

On 09.06.21 22:15, Michael Richardson wrote:
> I found the ASN.1 code in section 4.5.2 beyond my understanding, so I muddled
> through, since fortunately, there was an example.
>
>     CsrAttrs ::= SEQUENCE SIZE (0..MAX) OF AttrOrOID
>     AttrOrOID ::= CHOICE (oid OBJECT IDENTIFIER, attribute Attribute }
>     Attribute { ATTRIBUTE:IOSet } ::= SEQUENCE {
>          type   ATTRIBUTE.&id({IOSet}),
>          values SET SIZE(1..MAX) OF ATTRIBUTE.&Type({IOSet}{@type}) }


Forgive me, I have indeed misread. the line.  I do still have one question.

I want to understand how to specify the fields that the CA/RA would want 
filled in by the requestor.  For example, how would you say, “please 
provide a SAN of the following form..." such as a serial#?

Eliot