Re: [secdir] SECDIR Review of draft-ietf-avtcore-srtp-aes-gcm-14

"Igoe, Kevin M." <kmigoe@nsa.gov> Fri, 17 October 2014 15:18 UTC

Return-Path: <kmigoe@nsa.gov>
X-Original-To: secdir@ietfa.amsl.com
Delivered-To: secdir@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 049E61A1A8D; Fri, 17 Oct 2014 08:18:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 58MCi83nSdK5; Fri, 17 Oct 2014 08:18:14 -0700 (PDT)
Received: from emvm-gh1-uea08.nsa.gov (emvm-gh1-uea08.nsa.gov [63.239.67.9]) by ietfa.amsl.com (Postfix) with ESMTP id 47C301A19FC; Fri, 17 Oct 2014 08:17:21 -0700 (PDT)
X-TM-IMSS-Message-ID: <5f09853c00161d74@nsa.gov>
Received: from MSHT-GH1-UEA01.corp.nsa.gov ([10.215.227.18]) by nsa.gov ([63.239.67.9]) with ESMTP (TREND IMSS SMTP Service 7.1; TLSv1/SSLv3 AES128-SHA (128/128)) id 5f09853c00161d74 ; Fri, 17 Oct 2014 11:18:06 -0400
Received: from MSMR-GH1-UEA08.corp.nsa.gov (10.215.225.3) by MSHT-GH1-UEA01.corp.nsa.gov (10.215.227.18) with Microsoft SMTP Server (TLS) id 14.2.347.0; Fri, 17 Oct 2014 11:17:09 -0400
Received: from MSMR-GH1-UEA03.corp.nsa.gov ([10.215.224.3]) by MSMR-GH1-UEA08.corp.nsa.gov ([10.215.225.3]) with mapi id 14.02.0347.000; Fri, 17 Oct 2014 11:17:09 -0400
From: "Igoe, Kevin M." <kmigoe@nsa.gov>
To: 'Matthew Lepinski' <mlepinski.ietf@gmail.com>, "iesg@ietf.org" <iesg@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "draft-ietf-avtcore-srtp-aes-gcm.all@tools.ietf.org" <draft-ietf-avtcore-srtp-aes-gcm.all@tools.ietf.org>
Thread-Topic: SECDIR Review of draft-ietf-avtcore-srtp-aes-gcm-14
Thread-Index: AQHP6YFNtpm/N9j1sU+S8vxUOrLX7Zw0UM9g
Date: Fri, 17 Oct 2014 15:17:07 +0000
Message-ID: <3C4AAD4B5304AB44A6BA85173B4675CABC6E1809@MSMR-GH1-UEA03.corp.nsa.gov>
References: <CANTg3aCd4KODurkV4Qk5iteYofqU6zOoXoDunO+AK-f58XteWQ@mail.gmail.com>
In-Reply-To: <CANTg3aCd4KODurkV4Qk5iteYofqU6zOoXoDunO+AK-f58XteWQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.215.228.46]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/secdir/fV6x6epqQOeniVKCoAbq_fXBnYc
X-Mailman-Approved-At: Fri, 17 Oct 2014 08:19:38 -0700
Subject: Re: [secdir] SECDIR Review of draft-ietf-avtcore-srtp-aes-gcm-14
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdir>, <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/secdir/>
List-Post: <mailto:secdir@ietf.org>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdir>, <mailto:secdir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Oct 2014 15:18:18 -0000

I have no problems with the changes you suggest.  

As to the use of a secret salt, sction 3.2.1 of RFC 3711 says the 
master salt may be either public or secret.  Annoyingly, it never 
again mentions any distinction betwixt public and secret master keys.

Neither myself nor my colleagues could come up with a sound security 
reason for using a secret master salt, but all secret vslues need to
be properly erased.  I see three (3) options:

a) change the first bullet of section 14.1 to read:

"  - The master salt MUST be properly erased when it is no longer needed."


b)  Adding the following two (2) sentences to the end of the first 
paragraph of section 14.1.

  "RFC 3711 provides for the use of either a public master salt or a 
  secret master salt.  When there is any doubt as to which option has 
  been selected, for the purposes of this section the master salt should 
  be treated as if it was secret." 

c) Put at the end of the first bullet:

  "When in doubt as to whether the master salt is public or secret,
   it should be erased as if it was secret."


No real preference, but option a) is the easiest typographically.

----------------+--------------------------------------------------
Kevin M. Igoe   | "We can't solve problems by using the same kind
kmigoe@nsa.gov  | of thinking we used when we created them." 
                |              - Albert Einstein -
----------------+--------------------------------------------------

-----Original Message-----
From: Matthew Lepinski [mailto:mlepinski.ietf@gmail.com] 
Sent: Thursday, October 16, 2014 4:39 PM
To: iesg@ietf.org; secdir@ietf.org; draft-ietf-avtcore-srtp-aes-gcm.all@tools.ietf.org
Subject: SECDIR Review of draft-ietf-avtcore-srtp-aes-gcm-14

I have reviewed this document as part of the security directorate's ongoing effort to review all IETF documents being processed by the IESG.  These comments were written primarily for the benefit of the security area directors. Document editors and WG chairs should treat these comments just like any other last call comments.

This document specifies the use of the Advanced Encryption Standard
(AES) in both Galois Counter Mode (GCM) and CBC Counter Mode (CCM) as an Authenticated Encryption with Additional Data (AEAD) cipher-suite for the SRTP protocol. This is the first AEAD specification for SRTP.
However, this specification is consistent with other AEAD work in the IETF (i.e., RFC 5116).

I found no significant issues in the review of this document and believe that it is ready for publication.

Nits (consider the following suggestions):

Section 3b: s/(as well one or more /(as well as one or more /

Section 6: s/XORed to the plaintext to form /XORed with the plaintext to form /

Section 9.1: s/XORed to the 12-octet salt to form /XORed with the 12-octet salt to form /

Section 10.1: s/XORed to the 12-octet salt to form /XORed with the 12-octet salt to form /

Section 11: s/accept inputs with varying lengths /accept inputs of varying lengths /

Section 14.1: You use the phrase "If the master salt is to be kept secret". However, I am not sure how an implementer is supposed to decide whether or not to keep the master salt secret. If you have any reference on the ramifications of keeping / not-keeping the master salt secret, it would be helpful to include such a reference.

Section 14.2: s/authentication value until by chance they hit a valid /authentication value until, by chance, they hit a valid /