Re: [lamps] draft-ietf-lamps-cmp-updates

Russ Housley <housley@vigilsec.com> Tue, 28 July 2020 15:53 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 F17803A0E0E for <spasm@ietfa.amsl.com>; Tue, 28 Jul 2020 08:53:37 -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 b49Z0yjlYcNF for <spasm@ietfa.amsl.com>; Tue, 28 Jul 2020 08:53:34 -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 15A803A0E4C for <spasm@ietf.org>; Tue, 28 Jul 2020 08:53:34 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id A3CD7300B71 for <spasm@ietf.org>; Tue, 28 Jul 2020 11:53:31 -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 salrYUTleMp9 for <spasm@ietf.org>; Tue, 28 Jul 2020 11:53:30 -0400 (EDT)
Received: from a860b60074bd.fios-router.home (pool-72-66-113-56.washdc.fios.verizon.net [72.66.113.56]) by mail.smeinc.net (Postfix) with ESMTPSA id 3148130009A; Tue, 28 Jul 2020 11:53:30 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <AM0PR10MB3153E98CBD7F401ABBDCE314FE730@AM0PR10MB3153.EURPRD10.PROD.OUTLOOK.COM>
Date: Tue, 28 Jul 2020 11:53:31 -0400
Cc: LAMPS WG <spasm@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <9E8DDD8B-1F37-40C5-B49D-A6B8D2B3F9A1@vigilsec.com>
References: <AM0PR10MB2402173DFBD40DFF043AE839FEA40@AM0PR10MB2402.EURPRD10.PROD.OUTLOOK.COM> <97AAAE51-45E0-4363-ACAD-99144085E710@vigilsec.com> <AM0PR10MB315350FE5BE4E8FCDDFE1CB1FE720@AM0PR10MB3153.EURPRD10.PROD.OUTLOOK.COM> <6637BD5E-96EF-4982-8F4B-289209D1EBD2@vigilsec.com> <AM0PR10MB3153E98CBD7F401ABBDCE314FE730@AM0PR10MB3153.EURPRD10.PROD.OUTLOOK.COM>
To: "Brockhaus, Hendrik" <hendrik.brockhaus@siemens.com>
X-Mailer: Apple Mail (2.3445.104.15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/WO8wCn5hxNc8xeedzAHvCoOQCWE>
Subject: Re: [lamps] draft-ietf-lamps-cmp-updates
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: Tue, 28 Jul 2020 15:53:38 -0000

Hendrik:

>> Von: Russ Housley <housley@vigilsec.com>
>> 
>>> On Jul 27, 2020, at 12:22 PM, Brockhaus, Hendrik
>> <hendrik.brockhaus@siemens.com> wrote:
>>> 
>>>> Third, id-it-revPassphrase (which is in a comment) is associated with
>>>> EncryptedKey instead of EncryptedValue.
>>> 
>>> Finally, I do not fully understand this specification, too.
>>> My goal is to update OID {id-it 12}  as specified in section 5.3.19.9 and the
>> only lines in the ASN.1 module on this OID is in comments?
>> 
>> Right, so it is just and updated comment; however, the place were this is
>> defined needs to be updated too, right?
> 
> Yes. But the only place I am aware of where this OID is defined is in section 5.3.19.9 of RFC4210. I update this section in section 2.6 of the draft.
> Are there any other place I should update?


If that is the case, I suspect that all of the id-it- OID values need to appear in this new module.

Looking at RFC 5912, is seem that Jim and Paul defined these constructs for this purpose:

~~~
 INFO-TYPE-AND-VALUE ::= TYPE-IDENTIFIER

 InfoTypeAndValue ::= SEQUENCE {
     infoType    INFO-TYPE-AND-VALUE.
                     &id({SupportedInfoSet}),
     infoValue   INFO-TYPE-AND-VALUE.
                     &Type({SupportedInfoSet}{@infoType}) }
~~~

This is probably something that should be carried forward.

So, for example, that would lead to this in the ASN.1 module:

~~~
    it-caProtEncCert INFO-TYPE-AND-VALUE ::= {
      CMPCertificate IDENTIFIED BY id-it-caProtEncCert  }
~~~

You need a statement like this for each of the id-it- OID values.

Russ