Re: [Ntp] Eric Rescorla's No Objection on draft-ietf-ntp-mac-05: (with COMMENT)
Eric Rescorla <ekr@rtfm.com> Fri, 04 January 2019 17:53 UTC
Return-Path: <ekr@rtfm.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB7E6130E67 for <ntp@ietfa.amsl.com>; Fri, 4 Jan 2019 09:53:12 -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=rtfm-com.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 gs70sDwWWedd for <ntp@ietfa.amsl.com>; Fri, 4 Jan 2019 09:53:10 -0800 (PST)
Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (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 9EEE9130E65 for <ntp@ietf.org>; Fri, 4 Jan 2019 09:53:08 -0800 (PST)
Received: by mail-lf1-x12f.google.com with SMTP id i26so26003682lfc.0 for <ntp@ietf.org>; Fri, 04 Jan 2019 09:53:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TU/+TGJt/MnjcVFm4lGqjtxU9hdtwLagtGaBkXu4ZtU=; b=qiHa8h5djrV8+OuU5AE0PlTTLFB/P342jGKWNE2z74TDTuwLEEiv+RXVsrVmRb3qbc IHt5q6Lu9B2+BjO0GysoqNbJDQrpr7PuIbPL/dcVCcKMc2BJA2nWKvFyeGmuAC2+HVZn 2xKdQ2gqOKWE/CrgsqR9Rqyn00X9H/09sgDH4CX+TrE7m3HqjyYkCpzeZ7lc15VOVOmW G6Bh4gDWtXaTu0s7CM0Ky0/08ikcoq8nNDb17AJ9Cvkia1HFff6PklJNaOTe1e1r1xs0 +Wk8Qb3tIzjab80y2SZYxFgdeJ8IrXr+mpruh+mLFxz0UDoXzwUKEKo7cEcuR4sHr0+Q GZDw==
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=TU/+TGJt/MnjcVFm4lGqjtxU9hdtwLagtGaBkXu4ZtU=; b=jZeyYRcSDwZFOxv2oVY1su3QQEGi4Djavi6Ezu2grhHchD2lOVtcwDK6Fm9r4iX3w9 1orrTpND2v8bvo1+d0wvBf66wx1LBC5CmY7oe4BW6fJxdX8vJ6tvcQICyPuJVlqI5FpI sJ0CtjLwfyjYprF2sH5q0Z1Uh657uQcAIclbFEn9YCKkeYGJcOp0EDvDS42UQAvr7VZp ipVZEK/ft7LvovkJ2NTal15rrFdUOmYCMYwjs3h5438TXgwfhaakDd+e0xfh99DHX2t2 yqKbfWrQ1nXEOTRxn9WcLEIC6C2jalF7o0vNgX7vzxZ/dCGLHrtwAlzBLHIk0G8dac29 W4dA==
X-Gm-Message-State: AA+aEWZdAC4GjipSmGj/Byje1K4jeGsFEAYKOAz2wUpl3Y4Vi+faJkEi Egmvvp+s3SZzkD28IcxWiAN5RQOUQG8YPj6jsB7XIQ==
X-Google-Smtp-Source: AFSGD/W2VX3lRqK/GqrnMEk8e9iLYnqID1uf19GsUVPejD9VXcJ21MGNgGOHb2BpNdxmQRg1qJSZ+Qcn6rJw5/FqmmU=
X-Received: by 2002:a19:5a05:: with SMTP id o5mr27589244lfb.140.1546624386612; Fri, 04 Jan 2019 09:53:06 -0800 (PST)
MIME-Version: 1.0
References: <154249556260.15903.907105541022924420.idtracker@ietfa.amsl.com> <CAMbs7ktx_s+-Mg7xt+h+J5DuC=w6LoEAFYCbctHmMds2WSD4GA@mail.gmail.com> <CABcZeBMzzaxtYxLG1-rDFv6vC3_utd2d-i2cd2OSRvBnnf+Fug@mail.gmail.com> <CAMbs7ku=ydF6VSTG7mhDTbTGfPGztm=t43v33+xLFzYurt6FQA@mail.gmail.com>
In-Reply-To: <CAMbs7ku=ydF6VSTG7mhDTbTGfPGztm=t43v33+xLFzYurt6FQA@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 04 Jan 2019 09:52:30 -0800
Message-ID: <CABcZeBOXfvzs3=A6BYP8sxg3=FeYST0eFBFyK8t3aEf5emACGQ@mail.gmail.com>
To: Aanchal Malhotra <aanchal4@bu.edu>
Cc: ntp-chairs@ietf.org, ntp@ietf.org, draft-ietf-ntp-mac@ietf.org, The IESG <iesg@ietf.org>, Karen O'Donoghue <odonoghue@isoc.org>
Content-Type: multipart/alternative; boundary="0000000000002a55e3057ea58d9a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ooj-s6D47MJmYlt_F5dTp_hT-9g>
Subject: Re: [Ntp] Eric Rescorla's No Objection on draft-ietf-ntp-mac-05: (with COMMENT)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Jan 2019 17:53:13 -0000
On Fri, Jan 4, 2019 at 9:49 AM Aanchal Malhotra <aanchal4@bu.edu> wrote: > HI Eric, > > > > On Fri, Jan 4, 2019 at 12:25 PM Eric Rescorla <ekr@rtfm.com> wrote: > >> >> >> On Fri, Jan 4, 2019 at 8:24 AM Aanchal Malhotra <aanchal4@bu.edu> wrote: >> >>> Hi Eric, >>> >>> Thanks for the comments. >>> >>> On Sat, Nov 17, 2018 at 5:59 PM Eric Rescorla <ekr@rtfm.com> wrote: >>> >>>> Eric Rescorla has entered the following ballot position for >>>> draft-ietf-ntp-mac-05: No Objection >>>> >>>> When responding, please keep the subject line intact and reply to all >>>> email addresses included in the To and CC lines. (Feel free to cut this >>>> introductory paragraph, however.) >>>> >>>> >>>> Please refer to >>>> https://www.ietf.org/iesg/statement/discuss-criteria.html >>>> for more information about IESG DISCUSS and COMMENT positions. >>>> >>>> >>>> The document, along with other ballot positions, can be found here: >>>> https://datatracker.ietf.org/doc/draft-ietf-ntp-mac/ >>>> >>>> >>>> >>>> ---------------------------------------------------------------------- >>>> COMMENT: >>>> ---------------------------------------------------------------------- >>>> >>>> Rich version of this review at: >>>> https://mozphab-ietf.devsvcdev.mozaws.net/D3591 >>>> >>>> >>>> >>>> COMMENTS >>>> S 3. >>>> > If authentication is implemented, then AES-CMAC as specified in >>>> RFC >>>> > 4493 [RFC4493] SHOULD be computed over all fields in the NTP >>>> header, >>>> > and any extension fields that are present in the NTP packet as >>>> > described in RFC 5905 [RFC5905]. The MAC key for NTP MUST be at >>>> > least 128 bits long AES-128 key and the resulting MAC tag MUST >>>> be at >>>> > least 128 bits long as stated in section 2.4 of RFC 4493 >>>> [RFC4493]. >>>> >>>> Is there a way for either of these values to be > 128 bits? If not, >>>> maube just say "must be 128 buts: >>>> >>> >>> How about the following? >>> "The MAC key for NTP MUST be 128 bits long AES-128 key and the resulting >>> MAC tag MUST be at least 128 bits long as stated in section 2.4 of RFC 4493 >>> [RFC4493]." >>> >>> This is to make sure that the MAC tag is not truncated to < 128 bits. >>> >> >> As I understand it, this text is specifying just AES-CMAC (otherwise the >> text about it being an AES key doesn't make sense) and AES-CMAC has a 128 >> bit output. And thus the "at least 128 bits" text doesn't do anything and >> just says "MUST be 128 bits". >> > > I see what you are saying but here is what I am worried about. Section 2.4 > of RFC 4493 says the following: > > "It is possible to truncate the MAC. According to [NIST-CMAC > <https://tools.ietf.org/html/rfc4493#ref-NIST-CMAC>], at least a 64-bit > MAC should be used as protection against guessing attacks. " > > And I do not want to NTP MAC tag to be truncated to < 128 bits. So here is > a possible rephrasing: > Well, I'm not quite sure why you think truncating is bad in this case, but ignoring that. "The MAC key for NTP MUST be 128 bits long AES-128 key and the resulting > MAC tag MUST be 128 bits long as stated in section 2.4 of RFC 4493 > [RFC4493]. Truncation as permitted in Section 2.4 of RFC 4493 MUST not be > used. " > > What do you think? > This just seems redundant. You can't use truncation and have the MAC be != 128 bits, and your first sentence says it's 128 bits long. -Ekr >> -Ekr >> >> _______________________________________________ >> ntp mailing list >> ntp@ietf.org >> https://www.ietf.org/mailman/listinfo/ntp >> >
- [Ntp] Eric Rescorla's No Objection on draft-ietf-… Eric Rescorla
- Re: [Ntp] Eric Rescorla's No Objection on draft-i… Aanchal Malhotra
- Re: [Ntp] Eric Rescorla's No Objection on draft-i… Eric Rescorla
- Re: [Ntp] Eric Rescorla's No Objection on draft-i… Aanchal Malhotra
- Re: [Ntp] Eric Rescorla's No Objection on draft-i… Eric Rescorla
- Re: [Ntp] Eric Rescorla's No Objection on draft-i… Aanchal Malhotra
- Re: [Ntp] Eric Rescorla's No Objection on draft-i… Eric Rescorla