Re: [saag] SSH & Ntruprime

Paul Wouters <paul.wouters@aiven.io> Wed, 10 April 2024 00:27 UTC

Return-Path: <paul.wouters@aiven.io>
X-Original-To: saag@ietfa.amsl.com
Delivered-To: saag@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF4C0C14F6E2 for <saag@ietfa.amsl.com>; Tue, 9 Apr 2024 17:27:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=aiven.io
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D4gS_gOla7pg for <saag@ietfa.amsl.com>; Tue, 9 Apr 2024 17:26:56 -0700 (PDT)
Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 24C32C14F6E3 for <saag@ietf.org>; Tue, 9 Apr 2024 17:26:56 -0700 (PDT)
Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a46a7208eedso894805166b.0 for <saag@ietf.org>; Tue, 09 Apr 2024 17:26:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aiven.io; s=google; t=1712708814; x=1713313614; darn=ietf.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=o3c34dA1SzTeTuY+4P5Ao+L/ZfZ7GaU34nTj56TKsEg=; b=GBhzH0cn1RVVk9R27MxDfPCEzIXnM70ql1zxFPSI2yF32tupYl4mz/v0ypGS/08w7F fhWlLIN3lfoiNQvVjlGCWJLbDoKSYjttRINosjoJayv/Ul+LqjKwS5bYfv6xOuJWRh6V qTySmJT0jVYIrj71n0cx9ffxhhRbagwmOoiVQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712708814; x=1713313614; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=o3c34dA1SzTeTuY+4P5Ao+L/ZfZ7GaU34nTj56TKsEg=; b=QzGd2jNQ8tm3tel5+bUrbRM2M23M+h6EeUI1TmBIS9h6CCIDlpJQQ8veKAnmtbp1IS GtaMsMetewW9DrRP1afKy2LHCEX2SZgryKNp6jIImxa7jwQ2SwG10VYHjG2vSQdBu/A1 Y5C+Tvl8AuX2CCuIjFMTnuXbpvRWVH1zYpOPqmZaymmAv4tncW+QLjBsT1ADnklJgZjb rKaAR8deHOD6GQLpaMA6u3arH/7bb6wTCk6wgj9wn54vqFSi+yba+q/q14bbeD42uq9p G9dXP/aARXurmyZr9dcgPWGj2DPI1Ghv9cUDkpOq23c5yL+VnFhEkfica+6xoPucCyt4 EXCA==
X-Gm-Message-State: AOJu0YzdjBwSdFewTfs3KedIXfxTHIRdkprDF69iACKRSUYUDrDUKxT1 onZdNw6fmk80rmeuveiGaIIq1y9LpeD+NiDtcACowN+YSwlcj3zLNh4jMa4hTbPUwLhdJeJYC1p cR7i0SUv/+jBaDhDzx39LxoR47+fO12DFvsUF08RXfkhsHtVRLA8=
X-Google-Smtp-Source: AGHT+IE79duJcFsBXo4rS9i4ECFYMBDBGW5tEeTX243Q/dcTNYsQ8DDmgRwiXLinBhk+XeQG3oS4l3d0AiQotmRgbPQ=
X-Received: by 2002:a17:906:9807:b0:a51:cb38:b90b with SMTP id lm7-20020a170906980700b00a51cb38b90bmr527748ejb.18.1712708813666; Tue, 09 Apr 2024 17:26:53 -0700 (PDT)
MIME-Version: 1.0
References: <05D73B77-ECFB-43E9-A2A8-00D46F63FC32@aiven.io> <20240405162821.1801419.qmail@cr.yp.to>
In-Reply-To: <20240405162821.1801419.qmail@cr.yp.to>
From: Paul Wouters <paul.wouters@aiven.io>
Date: Tue, 09 Apr 2024 20:26:41 -0400
Message-ID: <CAGL5yWaJXRDyiQ=w2XJcoFhCQ3JDriqO+jAcOKz7J4kW2PY=uw@mail.gmail.com>
To: saag@ietf.org
Content-Type: multipart/alternative; boundary="0000000000007207740615b318e2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/saag/nMj8idhnBaMV0MRdUlEA3CpFfQU>
Subject: Re: [saag] SSH & Ntruprime
X-BeenThere: saag@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Security Area Advisory Group <saag.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/saag>, <mailto:saag-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/saag/>
List-Post: <mailto:saag@ietf.org>
List-Help: <mailto:saag-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/saag>, <mailto:saag-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Apr 2024 00:27:00 -0000

On Fri, Apr 5, 2024 at 12:28 PM D. J. Bernstein <djb@cr.yp.to> wrote:


> The elephant in the room is the patent minefield surrounding Kyber.


I do not see how this relates to a request for an AD sponsored draft for
NTRUprime for SSH.

[cut text on patents and IPR policies that does not relate to this thread
for a code point for NTRUprime for SSH ]

Paul Wouters writes, regarding sntrup:
> > It's not broken but the IETF Crypto Panel also said the cryptographic
> > method used was somewhat dated and would no longer be recommended by
> > the larger cryptographic community at this point.
>
> Hmmm. No citation is provided here, and readers are forced to wonder
> whether this could possibly be an accurate summary of a review from the
> Crypto Review Panel
>

Luckily, and due to the transparency of  all IETF processes, you seem to
have managed to find the review I was talking
about. It seems you just forgot to remove this section from your draft
email.

[cut hypothesis about the content of crypto panel review]

Content-wise, these "dated" and "community" claims appear to be
> insinuating that sntrup has held up worse from a security perspective
> than other lattice KEMs. That's simply not true.


Feel free to have a discussion on this with the relevant people. Probably
the appropriate list would be CFRG. Note that I
also heard a similar position about NTRUprime from outside the IETF in the
academic world of cryptography. So the view
of the Crypto Panel inside IETF seems to match the views outside the IETF
as well.

The actual situation is as follows:
>

[ arguments suitable for discussion on CFRG ]

What did the Crypto Review Panel actually say about sntrup? A search
> finds
>
>
> https://mailarchive.ietf.org/arch/msg/crypto-panel/kDiLLcVOhwoix5BUDdv4r91ZhfY/
>
> whose comments about sntrup (1) are purely political and (2) fail to say
> anything about patents.


This is an at hominem attack that violates the code of conduct as specified
in RFC 7154. Specifically, it states:

 2. IETF participants have impersonal discussions.

      We dispute ideas by using reasoned argument rather than through
      intimidation or personal attack.  Try to provide data and facts
      for your standpoints so the rest of the participants who are
      sitting on the sidelines watching the discussion can form an
      opinion.  The discussion is easier when the response to a simple
      question is a polite answer


Please refrain from personal attacks.

Maybe I've missed some other Crypto Review Panel text on topic, but this
> doesn't appear to be "critical, objective, timely and consistent review
> of cryptographic algorithms". The failure to consider patents is a clear
> error and seems impossible to reconcile with IETF's IPR policy. It's not
> as if the patent situation is some sort of secret.
>

If you do not like the process of how IETF works, I suggest you do not try
to get an IETF code point. If you value an
IETF code point, you clearly must also value the process we have for
allocating those.


> Procedurally, I'm not sure what the right way forward is here.


There is currently no SSH Working Group at the IETF. It was requested that
one of the Security Area
Directors sponsored the draft. The Security Area Directors requested
feedback from the Crypto Panel and
outside the IETF. The result that came back was a recommendation not to
allocate a code point for NTRUprime
for the SSH protocol.

Procedurally, no one can force an AD to sponsor a document. Other pathways
to publication can be
through the appropriate IETF communities. CRFG would be one such venue, but
it seems based on
the Crypto Panel Review that CFRG would not be likely to publish this.
Another way would be via the
Independent Stream. As this stream works independently from the IETF
stream, I can not make any
statement on what the ISE would or should do. Note that normally, one would
also be able to run a BoF
leading to a Working Group, but in the case of cryptography, Working Groups
do not invent their own
cryptographic algorithms and would consult CFRG.


> Maybe the
> Crypto Review Panel should be asked to scrap this "review"


I do not see what the patent situation with Kyber has anything to do with a
code point for NTRUprime.

and evaluate the patent situation.


I do not see why it should scrap their review, simply because you do not
like the outcome. I do not see why
the Crypto Panel should review patents for Kyber when advising the Security
Area Directors and the wider
IETF on a code point for NTRUprime for SSH.

Of course, IETF and IRTF can't make decisions on
> patent validity, but IETF and IRTF _can_ observe that there are enough
> patent questions around Kyber to justify standardizing other options.
>

Kyber is not what is being discussed here. A code point for NTRUprime for
SSH was being discussed.

The SSH protocol has namespaces and  the most widely used implementation
(OpenSSH) already assigned
a code point for NTRUprime in their own namespace. This means that
proponents of NTRUprime for SSH can
already deploy NTRUprime for SSH.

As such, there is no reason to lower the IETF standards. If this had not
been possible, for instance if SSH used
integer based algorithm identifiers like TLS and IKE/IPsec, I would have AD
sponsored such a document to facilitate
deployment, as long as there was a status field associated with this
similar to TLS, IKE/IPsec and DNSSEC where
algorithms have a "Recommend" field set to NO if the algorithm did not go
through Standards Track actions. But
as said, in this case there is no need for an IETF code point to allow for
facilitating deployment.

Paul