[Ssh] draft-becker-cnsa2-ssh-profile-07: wire-format defects before publication
Mark Atwood <mark@reviewcommit.com> Tue, 17 November 2026 01:15 UTC
Received: from fout-b8-smtp.messagingengine.com (fout-b8-smtp.messagingengine.com [202.12.124.151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx.ietf.org (Postfix) with ESMTPS id E987F46 for <ssh@ietf.org>; Tue, 17 Nov 2026 01:15:04 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=pass header.d=reviewcommit.com header.s=fm1 header.b=pwjlLB5I; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=p4SPDnbq; spf=pass (mx.ietf.org: domain of mark@reviewcommit.com designates 202.12.124.151 as permitted sender) smtp.mailfrom=mark@reviewcommit.com; dmarc=none
Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id 89F231D001C5 for <ssh@ietf.org>; Mon, 16 Nov 2026 20:15:04 -0500 (EST)
Received: from phl-imap-07 ([10.202.2.97]) by phl-compute-02.internal (MEProxy); Mon, 16 Nov 2026 20:15:04 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= reviewcommit.com; h=cc:cc:content-transfer-encoding:content-type :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to; s=fm1; t= 1794878104; x=1794964504; bh=8hbq4T7ZjKEB6UEhcKIcvT5CKaveZMSPVew l3R47ezE=; b=pwjlLB5IcCTcjFODi8jSU5IUIMU8y4GtAVdVadTyDS4W+s2Q3yj MeEWJ0dXeNGb6n531JrwKTOVXJvk25EqBTILQBmkQKQdCTCXnnKxP34CkTmdSbqR T7IvI0dqkMErNdVAtZxCC3OhUTda36d+QcE7TPwR6xUlgVX8Gy19jbH5KfWZdL4M 0YA4dHY4sPt8pZLQSLWicFAEz6TP8qciR4woB/S0Ci00c6/t7pt14P3pzPaMnV+Y 1U8k1asYH2u+8LsxGrznrih1W4MB6mxaMD0UNjlnusQGVvttDk4AEPz0RMDW/U3y lDDzLquohVN8zM1Vhq09lXFYoeQqG74ZQug==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1794878104; x=1794964504; bh=8hbq4T7ZjKEB6UEhcKIcvT5CKave ZMSPVewl3R47ezE=; b=p4SPDnbql1qa0hjuOav9Fgsoyt+RAdn8lE3a2QboxJUR lqhb5aqj/dW3bvylK/MjCt0/848mgTdcM0D+1wmVEt6q8SAdhxjVJrztlV8Pu3tM MfsFJfwkHa5OPHFHMkOBR6vFu2jXGxbnutau1l6pOWadcD7Cti668P+tUvnqghYd bQqaZVbtJJYUUjtt5AwCZPqfuGK+b0FzrsmI8pC/IWMfYbIG+ukQJUpu5Omd7+sR m8oxdxWSde9CevUXZsQIew80JfnmDSED9qSXqZw1MjkJphV46WMTrcTdlw1zoqU1 iV8/1yxugrDDtRCflo9bUx8vUlUh0YKzXQrco39vzg==
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=sign d=reviewcommit.com a=rsa-sha256;
DKIM2-Signature: i=1; m=1; t=1794878104; d=reviewcommit.com; mf=PG1hcmtAcmV2aWV3Y29tbWl0LmNvbT4=; rt=PHNzaEBpZXRmLm9yZz4=; s=fm1:rsa-sha256:Wytbc1vVKHjdbgmIKKSrGJoDFSR/WxNnmDHKekfJcMC8olV HsH2Zl5/jNLqwfRtHn9y+JTpdiuX8ZYvuickdSev2ukvgap3T6gJG855Kke0Qt0Y LEZDgBwDNwqCmzR8DKK/inmq7AeKLgzMDKiuB/f5qqbTLneWeXcj6KgDcVaUi2zY w1zolA30KGrOQ+J5j/zkxioyuOEshqs1M4Ib1jZKwmK8XsOO2A8n3uZVarpW8Pes GVpp38yN6Jekb/SYulwCroA6qL8So1KhCmvGRJy+kMYmZ6fEnJTzkkcpYtF/GZsY 3UhN0pe/80PEQ7Ya1bUzQ023vMsafW7g9nQQooQ==;
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=mi-m=1; hc=10; hn=cc,content-transfer-encoding,content-type,date,feedback-id, from,message-id,mime-version,subject,to;
Message-Instance: m=1; h=sha256:kW98OQXoZB8lgxiWBn0QYlucDMp1Q3YEjXPZcZ64XDk=:8hbq4T7ZjKEB6UEhcKIcvT5CKaveZMSPVewl3R47ezE=;
X-ME-Sender: <xms:l6r7as2mdBUzifaa_dghX1Be-0KecznrCkOGXMNcHbHYJ0uHdU4Stg> <xme:l6r7ah4HEld-VQVpe6TQBONw45mgjFbtDm045KVZ2ytNBaM-UwDGnIT3IXzbC0dTj UmkmPfCwWhKjZnWzjAJeoz0iNPjWE9BNqiP3rcE9zYWqeSA0E5PkA>
X-ME-Proxy-Cause: dmFkZTEJ7y7L4P4oAxGWafWb9z1JHT7uFDN1bFO/xbtz4gsNsrWo5v3JvAY0B/ZVInAqhD UlxseUXnWGVUp9TqDZaj1zsrt1n5Ya0wp26wlrJ1XaMK5H2e2Au9b1oCIouwIGbAd2foOp tjEA2ktzdK6Ov2X6VRpzfz7wjHqoRBUXd9Oo4DkNZ0XVOxCt4o6c5SAltgVtuaKWrmpHmy VHVP0hAX3QCDQpufEi4BvLlQSTChoniHv45NbTWdTjxO36E9g96KPFYtKca0WrTcD+KG5W TBdGpqXqLvV5vbGNA6wV7w4xwbUomwP5aXGxWRBboPuavSRjrwkwbG1Bqem4M7z3M1HDmT FD8gK1LRQDH2nnDdwfPPhX7TpZlbPsUEmmHsegU9CVD272/R2dvtZJ3JwSyYn5bXlGMvh7 gRpxPANIY0FmQVnoC4wG5RqcHjyC8EDb4/nJVnTzfqaY4OpwgnoHR41ws7m8/0k8YKXWck aI3Nls8yAp6GLtRnz3WS+g8PkN7ZHZGxi8rqn4GwRq6b/LwYmwZetNJz1plbw70cw4W5Mn 89MxM/PH5uqbYmlEkobL93GRlfHr1e4DpIt9+6YpSKL3zJdZlc6crysE0QNw+ZN7MJVUEA ZXlL6PocnCYXf9jFh9H07AE9o92JqTu9VEWEwMp8iz5V+MMRbAnVvOEmDCsg
X-ME-Proxy: <xmx:l6r7apUHGAzjJbNiIYhXa2csbp3QOAvfxJt9AWUNufjpabVEeYGjGQ> <xmx:l6r7akg3l3_up2FWtBZpoSUCEf-6Bd-WmB5Zo8rY9HKcAugEE5CPuQ> <xmx:l6r7akawdaOlN6mnYjUEojNuB7vFjNPMJOaeto_VGbyXSKwGKoYTFA> <xmx:l6r7ahr20IjdRDpddoQiBdwxXpT8-Dy1kRNnYEulzCawqfFmlACFVA> <xmx:mKr7amfV327BVcKuwrcToWjWnN2wu5lDplYgrq_d2lPu1FPpX_Qhhqa4>
Feedback-ID: i8a06489f:Fastmail
Received: by mailuser.phl.internal (Postfix, from userid 501) id D2D5D1EA0076; Mon, 16 Nov 2026 20:15:03 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
MIME-Version: 1.0
Date: Mon, 16 Nov 2026 20:15:03 -0500
From: Mark Atwood <mark@reviewcommit.com>
To: rfc-ise@rfc-editor.org
Message-Id: <d7cf8988-70db-45be-a1b8-1387164d3cb6@slotpi07m29>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Spamd-Bar: ---------------
Message-ID-Hash: 5JBLPG23C74BTKUCIUUBW35DCA5ZCD7X
X-Message-ID-Hash: 5JBLPG23C74BTKUCIUUBW35DCA5ZCD7X
X-MailFrom: mark@reviewcommit.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ssh.ietf.org-0; header-match-ssh.ietf.org-1; header-match-ssh.ietf.org-2; header-match-ssh.ietf.org-3; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: cwwynn@uwe.nsa.gov, mjjenki@cyber.nsa.gov, alison.elaine90@gmail.com, sshm-chairs@ietf.org, ssh@ietf.org
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [Ssh] draft-becker-cnsa2-ssh-profile-07: wire-format defects before publication
List-Id: "The SSH mail list will allow discussions on improving aspects of the Secure Shell (SSH) protocol." <ssh.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ssh/Xda_co4cbLkrt2oiSijIdLVRags>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ssh>
List-Help: <mailto:ssh-request@ietf.org?subject=help>
List-Owner: <mailto:ssh-owner@ietf.org>
List-Post: <mailto:ssh@ietf.org>
List-Subscribe: <mailto:ssh-join@ietf.org>
List-Unsubscribe: <mailto:ssh-leave@ietf.org>
Dear ISE, authors, I implement SSH and TLS, and I read draft-becker-cnsa2-ssh-profile-07 with that in mind. It has several wire-level defects that would cause interoperability failures between implementations that follow it. Since it's now with the RFC Editor, I'm raising them before AUTH48. 1. Algorithm name. Section 4.1 lists the public key algorithm as "ssh-mldsa87". Appendix A.2.1 encodes it as "ssh-mldsa-87", which is the name registered at IANA. An implementation that takes Section 4.1 literally won't interoperate. 2. Missing message number. Appendix A.1.1 assigns SSH_MSG_KEX_KEM_INIT = 30 but gives no number for SSH_MSG_KEX_KEM_REPLY. The reply structure in A.1.2 also omits field types (byte, string) for its fields, unlike the INIT structure. 3. Encoding of the shared secret contradicts itself. A.1.2 hashes "string K_PQ", but A.1.3 says "K_PQ is encoded as mpint". These produce different exchange hashes. mpint also strips leading zero bytes from a fixed-length secret, which is the same interop trap that affected curve25519-sha256 in SSH. One encoding needs to be chosen and stated once. 4. KEXINIT and KEM_INIT are confused. Section 5.2 says "The key exchange is started by the client and server sending an SSH_MSG_KEX_KEM_INIT message. In SSH_MSG_KEX_KEM_INIT, both the client and server MUST include mlkem1024-sha384 in the kex_algorithms name-list". Name-lists are carried in SSH_MSG_KEXINIT, which both sides send. SSH_MSG_KEX_KEM_INIT is sent only by the client and carries C_INIT. 5. Host key described as ephemeral. Section 5.2 says the reply includes "the server's ephemeral public host key". The host key is long-term; the ephemeral value is the client's ML-KEM key. 6. Server-side input validation missing. A.1.2 requires the client to run the FIPS 203 Section 7.3 decapsulation checks, but says nothing about the server running the Section 7.2 encapsulation key checks on C_PK before encapsulating. Separately, Appendix A says it is "provided in lieu of SSHM working group consensus documentation". It defines message numbers and wire formats for the SSH key exchange in an Independent Submission. Once published, it becomes a second, competing specification of ML-KEM in SSH that implementers will be asked to follow. I'd ask that Appendix A be replaced by normative references to the SSHM documents, or at least clearly labelled as not a specification of the SSH protocol, so that the IETF's own work remains the definition. Regards, Mark Atwood
- [Ssh] draft-becker-cnsa2-ssh-profile-07: wire-for… Mark Atwood
- [Ssh] Re: draft-becker-cnsa2-ssh-profile-07: wire… Independent Submissions Editor (Eliot Lear)
- [Ssh] Re: draft-becker-cnsa2-ssh-profile-07: wire… Job Snijders