Re: [saag] SSH & Ntruprime

Eric Rescorla <ekr@rtfm.com> Mon, 25 March 2024 00:40 UTC

Return-Path: <ekr@rtfm.com>
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 9431FC14F61B for <saag@ietfa.amsl.com>; Sun, 24 Mar 2024 17:40:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.904
X-Spam-Level:
X-Spam-Status: No, score=-6.904 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 (2048-bit key) header.d=rtfm-com.20230601.gappssmtp.com
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 byFqbJZr_bxV for <saag@ietfa.amsl.com>; Sun, 24 Mar 2024 17:40:44 -0700 (PDT)
Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (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 8752EC14F61A for <saag@ietf.org>; Sun, 24 Mar 2024 17:40:44 -0700 (PDT)
Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-dc6d9a8815fso3726600276.3 for <saag@ietf.org>; Sun, 24 Mar 2024 17:40:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20230601.gappssmtp.com; s=20230601; t=1711327243; x=1711932043; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=X5/TU0zW8Ok2StiIYH3fbfPVyySBzlj58sXL7y/LWoA=; b=J4mJlqu+36EmzyxSG4i4SRxsnJEA1DQszXsmjDDxL0Lz2J0tTQseGZGfg7APEOBD3N 6cD4aH441aSc2E+ZARf+NiLb/QowOBhO4Gp3ClIcx2/PwevjUAO66kB/At5eNRnjJNYL P1rTSqe6CbhrJjBdvbLxQYgLji5gt1xB5lMX+0Nm+0tWy+vAGacQX4hqoNPWAeFa50kQ qdL4O5TbI2xsPP/Q2K4ARH6PXfzSwF4iIu/n1pkp0yRTn5ymgUAkOnt8KJ52cKT0yKRt +6VtBDm8o0/g3N3xXLd+D1nMVGEFf71a0aZUls2VPy2cxpRR3PssQPfN187mJArcZtwJ HOdA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711327243; x=1711932043; h=cc: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=X5/TU0zW8Ok2StiIYH3fbfPVyySBzlj58sXL7y/LWoA=; b=NXtJrVG/+Njpp5Sh8oBbE1X6mpEFL15wsIifcLUNzl0kWqFvL09HO2qaiku39vXalL RJVtDqcSKZMSEi4jZelhbmNUoWeeJ/+WAa5qA4m2PMV7v1MMlvtBS/OTl5JGrC7Y4PQ6 myvrdhFQ+3n/MrZyPL7CkpaAfIxIu6J4Z/89LQLCiEpXYBnvVLOv05U3UaKl2iSvmwvO crcAaj6rBYmrUN1N89e2KnPa9UvLVnzS6+KqbYUKwC2K4YAzZbgyCjUlaFcTlJ1S6veJ 3hKjTTIaqRJtOzQgR3Ph9bbwElMbOYEZF+/un4HowoWGXKM4cwD1jXZIFBDCFoBQJd8U /8zg==
X-Forwarded-Encrypted: i=1; AJvYcCXKr7NyK3HWe1+Xvbx+Lwudpo2eJ8ge0BA2weko1gEhGbfO+oz6zVJZk41ni4vup3rNlyWZ7I6VXZXl/0hM
X-Gm-Message-State: AOJu0YzLVrW1Ns5cwXbUxVD0+FK3eYm4pZTFt5gpOcx5Qq0QEf0D2hdd Zlm+WhSYlLAoJXROpXB9D61rkYZiO1QGMrrT7mMx+sNiyjGrAleq049FoN98n3CtM8ous7GYK+B 8AgcGRlErsEHHH/ElomCJTZx3yegc6Ve/12AqhhNo49s2w2DO
X-Google-Smtp-Source: AGHT+IGvFTk0EGxiL9/XOUhaxx/JBpbZ0qO6Sz6MkhI3LBzp1IPG0rQuT2NGRtKz2yVlVWKgX8Xq6EOo/l5R6sJoB4E=
X-Received: by 2002:a25:8381:0:b0:dcc:ebb4:fdc0 with SMTP id t1-20020a258381000000b00dccebb4fdc0mr3278080ybk.65.1711327242938; Sun, 24 Mar 2024 17:40:42 -0700 (PDT)
MIME-Version: 1.0
References: <CABcZeBPWjXvLh06-DBO3Z0sfeb2hgzqzaSZ-J2-TZ7qesrSraA@mail.gmail.com> <D0CD341B-523B-48A0-8954-EE7F89113241@aiven.io> <AF7B6F32-9EE6-4810-A99A-833DEA917FA9@sonic.net> <CABcZeBPfXQckpZageogUxTYgX2j_Nr_O3bvf-a-x0S_82BHMxg@mail.gmail.com> <079A0AA3-FA02-440F-ABA0-6AF897570E86@sonic.net>
In-Reply-To: <079A0AA3-FA02-440F-ABA0-6AF897570E86@sonic.net>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 24 Mar 2024 17:40:06 -0700
Message-ID: <CABcZeBOxfYR+=61DV1XN0F9nrmbzLR2zq_ZvADw4UUy1uFafzw@mail.gmail.com>
To: Mark D Baushke <mdb@sonic.net>
Cc: Paul Wouters <paul.wouters=40aiven.io@dmarc.ietf.org>, saag <saag@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000069085e0614716c72"
Archived-At: <https://mailarchive.ietf.org/arch/msg/saag/mBX1QOmkb1P_v-axnPt649tysxk>
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: Mon, 25 Mar 2024 00:40:48 -0000

On Sun, Mar 24, 2024 at 2:30 PM Mark D Baushke <mdb@sonic.net> wrote:

> Hi Eric,
>
> There is apparently some reason that this information RFC should not be
> published as-is.
>
> It would make sense to incorporate that information into the terminal
> edition of the draft and update whatever flaws were found with the code
> point.
>
> Otherwise, what is the point of NOT publishing the Informational RFC draft?
>
> If the only reason to not publish the draft as an RFC was to avoid adding
> the IANA code point, then that section should be removed from the draft.
>

To the contrary, I think it would be fine to add a code point without
publishing an RFC.

I simply don't think there is much value in publishing RFCs to document
technologies that were not standardize by the IETF. People can just look at
the I-D. That's part of the purpose of relaxing the IANA requirements to
allow code point assignment without RFC publication.

-Ekr


> It seems untidy to leave it unpublished with no indication as to why.
>
> On Mar 24, 2024, at 11:17 AM, Eric Rescorla <ekr@rtfm.com> wrote:
>
>
>
> On Sun, Mar 24, 2024 at 8:27 AM Mark D Baushke <mdb@sonic.net> wrote:
>
>> Hi Paul & Eric,
>>
>> The https://datatracker.ietf.org/doc/draft-josefsson-ntruprime-ssh/
>> draft is informational. The code point under discussion has been used
>> by five implementations of the Secure Shell (SSH) protocol, so that
>> seems to me to be a good time to document the protocol as an
>> informational RFC.
>>
>
> Why is an RFC necessary? The document is available at
> the link you indicate, and the IETF no longer deletes drafts.
>
> -Ekr
>
>
>
> If there is a technical or cryptographic reason that the described
>> protocol code point should not be used, then the draft should be
>> updated to include that information and the section asking IANA to
>> publish the code point be withdrawn before the document is published.
>>
>> All five of the SSH implementations could reasonably point to the
>> draft RFC to show that they are implementing the same code point with
>> the @openssh.com extension.
>>
>> Providing good information in the RFC about when to use or not to use
>> the code point would allow administrators of the client and server
>> software to better determine if they want to provide that algorithm to
>> their communities.
>>
>> I was not present when the draft was discussed and dropped. I have
>> looked and I do not see any reasons provided other than that it should
>> not be a Standards Track document. But it is NOT a standards track
>> document at present. Does that mean that removal of the IANA section
>> would be sufficient to allow it to be published showing the
>> implementation of the @openssh.com namespace?
>>
>> If there are good reasons that it should not be a standards track
>> cryptographic document, then it would be great if that would be
>> documented in the Security Considerations section.
>>
>> In fact, if there are good reasons why this code point should NOT be
>> used more generally, documenting it would be helpful to many.
>>
>> Everyone knows that cryptographic functionality is always moving
>> forward and that some stuff is not as secure as originally thought.
>> The RFCs should be there to help guide everyone on the best in class
>> and worst in class and give reasons.
>>
>> We do have RFCs that deprecate various algorithms that are deployed
>> widely. Is that what should happen with this draft? Should it document
>> the implementation and then say that it is not secure going forward?
>> Or, that other cryptographic primitives should be used that are faster
>> or less fragile? That is not for me to choose.
>>
>>
>> On Mar 22, 2024, at 2:56 PM, Paul Wouters <
>> paul.wouters=40aiven.io@dmarc.ietf.org> wrote:
>>
>>
>>
>> On Mar 22, 2024, at 23:52, Eric Rescorla <ekr@rtfm.com> wrote:
>>
>> 
>> It already is documented, at the link listed above.
>>
>> The question is whether it needs to be an IETF RFC. As noted by Paul,
>> that is not necessary for it to be used in the field.
>>
>>
>> indeed. specifically, the ssh protocol has namespaces and only the space
>> without an @ symbol is within the IETF space. allocation in the @
>> openssh.com namespace shouldn't need to be copied into IETF RFCs or
>> registries. openssh should document its own namespace registry.
>>
>> the ssh-reg-review@ietf.org address shouldn't bounce and we are looking
>> into that issue.
>>
>> Paul
>>
>>
>>
>>
>>
>>
>>
>> -Ekr
>>
>>
>> On Fri, Mar 22, 2024 at 6:41 AM Harry Halpin <hhalpin@ibiblio.org> wrote:
>>
>>>
>>>
>>> On Fri 22 Mar 2024 at 12:32, Loganaden Velvindron <loganaden@gmail.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I went through SAAG minutes, and I noticed that the crypto panel
>>>> decided that this should not be standardized.
>>>>
>>>> https://datatracker.ietf.org/doc/draft-josefsson-ntruprime-ssh/
>>>>
>>>> OpenSSH publicly stated that they will keep offering
>>>> curve25519+sntrup761 even after ml-kem is standardized.
>>>>
>>>> Several SSH implementations also support this. Is it a good idea that
>>>> de-facto widespread adoption is not at least documented in a RFC ?
>>>
>>>
>>>
>>> Note that a number of other apps like Simplex Chat are also supporting
>>> NTRU prime. While not a standard per se, I also agree documenting it would
>>> be a good idea as some people will, for better or worse, not want to use
>>> ML-KEM.
>>>
>>>
>>>>
>>>> Saag youtube video:
>>>> https://youtu.be/pTUvyVxPGYw?t=1474
>>>>
>>>> _______________________________________________
>>>> saag mailing list
>>>> saag@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/saag
>>>>
>>> _______________________________________________
>>> saag mailing list
>>> saag@ietf.org
>>> https://www.ietf.org/mailman/listinfo/saag
>>>
>> _______________________________________________
>> saag mailing list
>> saag@ietf.org
>> https://www.ietf.org/mailman/listinfo/saag
>>
>> _______________________________________________
>> saag mailing list
>> saag@ietf.org
>> https://www.ietf.org/mailman/listinfo/saag
>>
>>
>> _______________________________________________
> saag mailing list
> saag@ietf.org
> https://www.ietf.org/mailman/listinfo/saag
>
>
>