Re: [Gen-art] Genart last call review of draft-ietf-perc-double-10

Richard Barnes <rlb@ipv.sx> Wed, 19 December 2018 16:46 UTC

Return-Path: <rlb@ipv.sx>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B4A9130E77 for <gen-art@ietfa.amsl.com>; Wed, 19 Dec 2018 08:46:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.20150623.gappssmtp.com
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 J6geSubsuBtk for <gen-art@ietfa.amsl.com>; Wed, 19 Dec 2018 08:46:33 -0800 (PST)
Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2940A130E6D for <gen-art@ietf.org>; Wed, 19 Dec 2018 08:46:31 -0800 (PST)
Received: by mail-oi1-x22c.google.com with SMTP id m6so2116455oig.11 for <gen-art@ietf.org>; Wed, 19 Dec 2018 08:46:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=I3u6mLJornVp892qxN8nho/OuipTGdMhXdPEFAPhzOo=; b=ZvLfQuOX836jpqSEc2rGh1E6/9ACKyRjI6S2VZ5tcedNkR4Qq+0pjuTZPcX9AXuTtD LdtXtSkrg7PALRUp2TNT6XREr00YXl+6Mex73syaJULWD5Wu3i4ezcW7gFt31bHgyuT2 jceuT6qRylQaP3DfxWcmurxR7Wl1OwK/QvLMQe+L0bKgCkUHrrX0elsV7dBOT93+UF1x auHbSe67MLug+4mmZ72SivocNJJDMGUZW79Y8/s/q96/e0gUQIkBkSxGdgo210hTMThi vfchCrwjzIS+axPONAPd5s1KB2xdkoXwLt776alLFgUBmlUcHx7miZpdKFk+rBXoVb9Y drng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=I3u6mLJornVp892qxN8nho/OuipTGdMhXdPEFAPhzOo=; b=AT4igJHzqeEHoZAKTHTmMcHiIrQ1FCCr1w6CuApqYw+v2PAvL/TszqWr5aaHBbyyaw dtc+J7kCrKZfiE8rA/Au2AKLDYiyJcFfQ9NA3UoT8E3VbaGy8r157zEj61dm0g8ws5Oz egFR4iul07LrdpysrgDglKMkVIXB+ZN7P0pTfjCuKiiprWCxCKoI+gCE6MPw3rwfIEah KY1YC6aOB3V0WSKMUHknSSt1B/wWqXk6lIB8tgXprgp2roegZ1rZEP/LxbvS8gCHisHR mFpxrrdf61ddbOvs7rBykX9yP5IM4t+WmugvcujPi/MPshZAOL0BfzZrj1neU+sWrSMw +snw==
X-Gm-Message-State: AA+aEWbr0fNbPMOLgq6IL9QLOaY5wSApktZvVhWtrD2z6CPIrQ0/uVR3 7hvNWMjEY/WT9eklnJvAkK0dW3gd6ifuAgwuckrk9g==
X-Google-Smtp-Source: AFSGD/UY5Ba5rc/1197zcxCB6aENtbS5nwqhcZNLkPjJ4XGKRDrwomNcb2U/OOuLhtcQAwOQRUOF8nSbYfYYafIs/Ig=
X-Received: by 2002:aca:d64d:: with SMTP id n74mr1480723oig.199.1545237987469; Wed, 19 Dec 2018 08:46:27 -0800 (PST)
MIME-Version: 1.0
References: <154002385712.13693.18098361756799542976@ietfa.amsl.com>
In-Reply-To: <154002385712.13693.18098361756799542976@ietfa.amsl.com>
From: Richard Barnes <rlb@ipv.sx>
Date: Wed, 19 Dec 2018 11:46:12 -0500
Message-ID: <CAL02cgT84eG7Tkj0XFTBCSutg0+8HEk99-h_5fSU_ofqydxb6w@mail.gmail.com>
To: Russ Housley <housley@vigilsec.com>
Cc: gen-art@ietf.org, perc@ietf.org, IETF discussion list <ietf@ietf.org>, draft-ietf-perc-double.all@ietf.org
Content-Type: multipart/alternative; boundary="000000000000565040057d62c18b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/cFNNgL-EpNJBvhlAlCl3gUCIfTA>
Subject: Re: [Gen-art] Genart last call review of draft-ietf-perc-double-10
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Dec 2018 16:46:36 -0000

Thanks for the review, Russ.  Comments below (nothing major); pull request
here for your review:

https://github.com/ietf/perc-wg/pull/163

On Sat, Oct 20, 2018 at 4:24 AM Russ Housley <housley@vigilsec.com> wrote:

> Reviewer: Russ Housley
> Review result: Almost Ready
>
> I am the assigned Gen-ART reviewer for this draft. The General Area
> Review Team (Gen-ART) reviews all IETF documents being processed
> by the IESG for the IETF Chair.  Please treat these comments just
> like any other last call comments.
>
> For more information, please see the FAQ at
> <http://wiki.tools.ietf.org/area/gen/trac/wiki/GenArtfaq>.
>
> Document: draft-ietf-perc-double-10
> Reviewer: Russ Housley
> Review Date: 2018-10-20
> IETF LC End Date: 2018-11-01
> IESG Telechat date: unknown
>
> Summary: Almost Ready
>
>
> Major Concerns:
>
> Section 10: Doesn't the IANA registry needs to specify the PRF to be
> used with the ciphersuite as well?
>

I don't think so.  I don't see a slot in the relevant registry for that,
and the tabular summary in the IANA considerations section is really just a
courtesy.

https://www.iana.org/assignments/srtp-protection/srtp-protection.xhtml#srtp-protection-1


>
> Minor Concerns:
>
> Section 3: It would be useful to explain the Master Key before the
> reader gets to Section 3.1.
>

Note that the "master key" concept comes from SRTP.  I've added a bit of
text to clarify.



> Section 3.1: It is unclear what assistance is provided by the
> additional level of indirection:
>
>          PRF_double_n(k_master,x) = PRF_inner_(n/2)(k_master,x) ||
>                                     PRF_outer_(n/2)(k_master,x)
>
>          PRF_inner_n(k_master,x)  = PRF_n(inner(k_master),x)
>          PRF_outer_n(k_master,x)  = PRF_n(outer(k_master),x)
>
> It could just say:
>
>          PRF_double_n(k_master,x) = PRF_(n/2)(inner(k_master),x) ||
>                                     PRF_(n/2)(outer(k_master),x)
>

👍

Not sure what I was thinking.



> Section 4: I suggest:
>
>         If the marker bit is not present, then B MUST be set to zero.
>

👍


> Section 5, 1st paragraph: and endpoint cannot verify confidentiality.
>

Well, it can verify that the packet was encrypted with a key known only to
the endpoints.  But OK.


>
> Nits:
>
> The document uses "encryption" and "confidentiality" interchanagably.
> Encryption is a mechanism or algorithm.  Confidentiality is a security
> service.  While I do not think that the reader will be confused by the
> current wording, it would be better to use the terms properly.  In
> addition, it is misleading to say:
>
>    ... the receiving endpoint that can encrypt and authenticate ...
>
> because the sending endpoint encrypts, and the recieving endpoints
> decrypts.  Also, the receiving endpoints check the authentication tag.
>

That's actually just some bad grammar.  Reworded.



> Abstract: s/authenticated encryption with associated data/
>            /authenticated encryption with associated data (AEAD)/
>
> Abstract: s/scheme/algorithm/
>
> Section 5.2: s/GCM/AES-GCM/
>
> Section 7: s/HBH/hop-by-hop/
>
> Section 7: s/E2E/end-to-end/
>
> Section 7.1: s/HBH/hop-by-hop/
>
> Section 7.2: The text is redundant.  I suggest "etc" be dropped from
> "such as SSRC, SEQ, CSRC, etc"
>
> Section 7.2: s/non primary/non-primary/
>
> Section 7.3: s/HBH/hop-by-hop/
>

Implemented all of the above...


> Appendix A: s/HBH/hop-by-hop/
>
> Appendix A: s/E2E/end-to-end/
>

... but I'm going to leave these last two as-is, for brevity.