Re: [Ntp] Post NTS, Is shared key authentication interesting?

Watson Ladd <watsonbladd@gmail.com> Tue, 26 May 2020 14:55 UTC

Return-Path: <watsonbladd@gmail.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 32D723A0F9B for <ntp@ietfa.amsl.com>; Tue, 26 May 2020 07:55:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 LcsvaSG1sTmS for <ntp@ietfa.amsl.com>; Tue, 26 May 2020 07:55:56 -0700 (PDT)
Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (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 9093B3A0C1C for <ntp@ietf.org>; Tue, 26 May 2020 07:55:55 -0700 (PDT)
Received: by mail-lf1-x12b.google.com with SMTP id c21so12502533lfb.3 for <ntp@ietf.org>; Tue, 26 May 2020 07:55:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=mg0DeE/bn1DaHq6IfHvW9UgPZvulsCjLTZQjUbCPFi4=; b=nNIp/Ce0D1kwKR/YW+RNPwKDx6TWNYcnH1COIEpbTh0Jt4Yp+yKcRgn7a4NSXVDKr4 hssTeORVVKgNoU82wU/DIrqokp+rAh2F3A4WUiBFYcbAGLasG4EuyRlNuto4atfZl4yy 1knR0nCFJKHSBiFzBDLMEY3WQqa2cgGOG1DvjQN8qzrOQnav9mllydDU3smwlXrQAWCK /9vF6+CerPGR9J3K+fLESlDoBkdgkxJgb/TN+//CQ2OyW4GdQF6de2giQ1eZqmGtLIEe sJY5RLAuDGUZG6L9LxQON/RYhvGXK9qRyMqxv7kPfrLSVY6xYo91jxDppoZ/VIf7ffnE a/8w==
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:content-transfer-encoding; bh=mg0DeE/bn1DaHq6IfHvW9UgPZvulsCjLTZQjUbCPFi4=; b=WHMQkZMYyQTr8ypYTLEWj0tETPhl3UKJYx4z3zi3JsREK9/8Br0yNxuBclfT/pEZ+w WAlb+Q2kUwv25JfNX5yimOefV3ZP+Dlw2HX3PmqSSSQun1yfkmPFkEZQcSK5H4q/vLJs zSczcE8YheEmPJ2V52vJ7RUImaoY48mQQd7k7Da0aLWF/fxzV6BG4tsFFhXhMkiJaQfA 26BfIDKcmtQuYx0jsQgr7xg23R1Q6BPK/DHN9gO51Ur6NO+xO0TDU7tsqlNvt+5vxWSa Z9bpxTNPNBhhmLAR3e6xLtM3IBXcOEdoe2O1Jl+rrvW1gk8ESx0eRIY32ENBSBwBJahe aZGQ==
X-Gm-Message-State: AOAM531Idkhm5r/k21zNt6f0lPYBUlqrJWX7+LqJmdKetDMwvjRzzZoC 0Iok5zHEFIfFA0AN6Mil1qHvRMnWFipqO0tzPDY=
X-Google-Smtp-Source: ABdhPJxqf/3Om1T52rXHBF4GgMrjsxmW0dy7hBv9966FD2OcEd43TM8KMpfJUoDRqcERhw5ydMlowYU1/+kdrymTqUk=
X-Received: by 2002:ac2:5324:: with SMTP id f4mr710220lfh.209.1590504952932; Tue, 26 May 2020 07:55:52 -0700 (PDT)
MIME-Version: 1.0
References: <20200525075606.52F0C40605C@ip-64-139-1-69.sjc.megapath.net> <20200525083046.GB25987@localhost> <CAJm83bDMY0ZSU2u6WFm4FbYmcN39NqDhoTmb5pr4TYOTtve1Tw@mail.gmail.com>
In-Reply-To: <CAJm83bDMY0ZSU2u6WFm4FbYmcN39NqDhoTmb5pr4TYOTtve1Tw@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Tue, 26 May 2020 10:55:41 -0400
Message-ID: <CACsn0cm4P3-E4EC1ZO3Upw_x3Dg746DuL4ZEu-1O1XG-cg2+sg@mail.gmail.com>
To: Daniel Franke <dfoxfranke@gmail.com>
Cc: Miroslav Lichvar <mlichvar@redhat.com>, NTP WG <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/S4cWm1g-fwefAHD8UGCQ6pLVKHI>
Subject: Re: [Ntp] Post NTS, Is shared key authentication interesting?
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: Tue, 26 May 2020 14:56:00 -0000

On Mon, May 25, 2020 at 9:29 AM Daniel Franke <dfoxfranke@gmail.com> wrote:
>
> Yes, shared-key authentication is still interesting.
>
> Putting the MAC in an extension field is clearly how NTPv4 should have done things from the start, but I don't see any benefit in changing until the legacy MAC field can be killed off entirely. So I would rather just pursue this as part of NTPv5 than adopt a MAC EF draft for NTPv4.
>
> I would like NTPv5's shared key authentication to be a little more closely integrated with NTS. Either accomplish it by doing a PSK TLS handshake for NTS-KE, or skip NTS-KE and have pre-shared S2C/C2S keys and a shorter cookie giving just a key ID.

I think PSK TLS is a better idea: all the complexity gets dumped on
the TLS stack, while the NTP specific parts don't change.


-- 
"Man is born free, but everywhere he is in chains".
--Rousseau.