Re: [lamps] AD Review: draft-ietf-lamps-cms-mix-with-psk-05

Russ Housley <housley@vigilsec.com> Wed, 17 July 2019 18:07 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 C5320120882 for <spasm@ietfa.amsl.com>; Wed, 17 Jul 2019 11:07:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.796
X-Spam-Level:
X-Spam-Status: No, score=-1.796 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, TRACKER_ID=0.1, URIBL_BLOCKED=0.001] autolearn=no 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 VSEYPkEruFz9 for <spasm@ietfa.amsl.com>; Wed, 17 Jul 2019 11:07:36 -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 ABAEC120877 for <spasm@ietf.org>; Wed, 17 Jul 2019 11:07:36 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id A8C84300AEA for <spasm@ietf.org>; Wed, 17 Jul 2019 13:48:18 -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 EE0cDUpqqLDU for <spasm@ietf.org>; Wed, 17 Jul 2019 13:48:16 -0400 (EDT)
Received: from a860b60074bd.fios-router.home (unknown [138.88.156.37]) by mail.smeinc.net (Postfix) with ESMTPSA id 9996E3005D6; Wed, 17 Jul 2019 13:48:16 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Message-Id: <8F78EFC7-1327-411D-AD08-707D6B3480E2@vigilsec.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_1338FBD2-C0EB-4E35-B139-1FF0737787EB"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Wed, 17 Jul 2019 14:07:32 -0400
In-Reply-To: <359EC4B99E040048A7131E0F4E113AFC01B33D5872@marchand>
Cc: "spasm@ietf.org" <spasm@ietf.org>
To: "Roman D. Danyliw" <rdd@cert.org>
References: <359EC4B99E040048A7131E0F4E113AFC01B33D5872@marchand>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/_SBz7u--YADyqRBsQD9jJT2ZP1o>
Subject: Re: [lamps] AD Review: draft-ietf-lamps-cms-mix-with-psk-05
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, 17 Jul 2019 18:07:39 -0000

Roman:

Thanks for the careful review.  I will wait to see what other IETF Last Call comments come along before posting a revision.

> The following is my AD review of draft-ietf-lamps-cms-mix-with-psk-05.  Given the substance of these comments, it can be handled with IETF LC comments.
> 
> (1) Section 9.  The object identifier is called "id-mod-cms-ori-psk-2017" in the IANA section (Section 9) but "id-mod-cms-ori-psk-2019" in the ASN.1 Module (Section 6).  Seems like they should be the same.

Good catch.  I have changes it to id-mod-cms-ori-psk-2019.

> (2) Section B.1.  This section does not list the plaintext content

It is true.  I'll add it, but it is the same as B.3.

Alice encrypts the content using AES-256-GCM with the content-
encryption key.  The 12-octet nonce used is:
   dbaddecaf888cafebabeface

The plaintext is:
   48656c6c6f2c20776f726c6421

The resulting ciphertext is:
   fc6d6f823e3ed2d209d0c6ffcf

The resulting 12-octet authentication tag is:
   550260c42e5b29719426c1ff

> (3) Improved references:
> 
> ** Section 1.  Is there a citation that can be provided for the obvious "The invention of a large-scale quantum computer would pose a serious challenge for the cryptographic algorithms that are widely deployed  today"?

   [S1994]    Shor, P., "Algorithms for Quantum Computation: Discrete
              Logarithms and Factoring", Proceedings of the 35th Annual
              Symposium on Foundations of Computer Science, 1994, pp.
              124-134.

> ** Section 1.  Is there a citation that can be provided for "It is an open question whether or not it is feasible to build  a large-scale quantum computer ...".  Perhaps:
> [NAS2019] National Academies of Sciences, Engineering, and Medicine, "Quantum Computing: Progress and Prospects", The National Academies Press, DOI 10.17226/25196, 2019.

Yes, I'll add that reference.

> ** Section 1.  Is there a citation that can be provided for "there are longstanding concerns about undisclosed trapdoors in Diffie-Hellman paramters"?

   [FGHT2016] Fried, J., Gaudry, P., Heninger, N., and E. Thome, "A
              kilobit hidden SNFS discrete logarithm computation",
              Cryptology ePrint Archive, Report 2016/961, 2016.
              https://eprint.iacr.org/2016/961.pdf.

> (4) Editorial Nits
> ** Section 1. Recommend weakening the statement.  s/invulnerable to an attacker/resistant to an attacker/

Yes, that is better.

> ** Section 1.  Typo.  s/Diffie-Hellamn/Diffie-Hellman/

Fixed.

> ** Section 3 and 4.  Since Section 2 calls out that there two techniques, keyTransPSK and keyAgreePSK, should the section 3 and 4 titles be those names instead of the underlying CMS data structure names?

Okay.  The section titles have been changed.

> ** Section 5.  Typo.  s/ fo / of /

Fixed.

> ** Section 5.  Typo?.  s/deines/identifies/

No, it should be "defines"

> ** Section 7.  Typo.  s/materail/material/

Fixed.

> ** Section 7.  Typo. /an purpose/a purpose/

Fixed.

> ** Section 7.  Typo.  Consistently choose either "implementers" or "implementors"

There were many more "implementers", so I went with that spelling.

> ** Section 7.  I think it would be helpful to move the text on the ProVerif proof from the Acknowledgements up to the Security Considerations section

Done.

> ** Appendix A/B.  Multiple Typos.  s/omited/omitted/g

Fixed.  (I found it in two places.)

> ** Appendix A.*. Mutiple Places.  Typo.  s/resutling/resulting/g

Fixed. (I found it in four places.)

Russ