[Ssh] Re: Supporting pure ML-DSA as hostkey and authkey

Dennis Jackson <ietf@dennis-jackson.uk> Wed, 29 April 2026 18:52 UTC

Return-Path: <ietf@dennis-jackson.uk>
X-Original-To: ssh@mail2.ietf.org
Delivered-To: ssh@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 1E18BE5E7F58 for <ssh@mail2.ietf.org>; Wed, 29 Apr 2026 11:52:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1777488720; bh=0tHGU3UfMdwhrGNnzyfX6GtN/G+MPk6oSoZ/SvtQNQI=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=Nvb4ONKRnMxU4RtjvWp88K37tvDgmcosL0glvFPbhT6wspkid55sO2I5bHL9+RM+t L2hNKfvdngFyVIbdNXAqaRydI7eqRRAdBF6RmK8AfDZnnmsuDbymXvJ8slSghwIsf3 Qvkumnjrfzex/p7nlJ6jpgQuMIHHrwafkuxvpd2Y=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.801
X-Spam-Level:
X-Spam-Status: No, score=-2.801 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=dennis-jackson.uk
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K9JCLZuLlLLm for <ssh@mail2.ietf.org>; Wed, 29 Apr 2026 11:51:56 -0700 (PDT)
Received: from mout-p-103.mailbox.org (mout-p-103.mailbox.org [IPv6:2001:67c:2050:0:465::103]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 5F30CE5E7F45 for <ssh@ietf.org>; Wed, 29 Apr 2026 11:51:55 -0700 (PDT)
Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4g5RH522bLz9v0y; Wed, 29 Apr 2026 20:51:45 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dennis-jackson.uk; s=MBO0001; t=1777488705; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QCMUFe3RxaHm7MVXsxV/rjVktl3nxK9OPXSyFxFbdYE=; b=o3fzzPuFJyq17KUwXJXQVC45Mcz6x/gjSw6gW6UhXvXgb5kZQMh7yfgnILrgireRxtfOkO FXxPNooVY8ZlM7KjAswnVJPT/f+yfxUKWade3GtJQp+NPG2YA8qAZl7wBEl0y2oHP5rhh3 NNrqSLKFrj4PAUKIlqYNk5XQO6Kh+FSTd23kxd7eJLOUKyji17vx7NHFlm387vEKRpjxtF xfdOpT6vLTVOqBJllCGjt5BLFiXlXwpfAPLxayq9bxzN6sooKsEhb0fkMevGoNeE6WwDEY duo0t8DrnO8viSi54Gy5nEyxKfFJ3Uts3Uoa+cC0cAd3iSbEkM110kSjQm4+eQ==
Message-ID: <b24695f8-b6f1-4e24-80bf-c66bd94290ee@dennis-jackson.uk>
Date: Wed, 29 Apr 2026 19:51:43 +0100
MIME-Version: 1.0
To: Simon Josefsson <simon=40josefsson.org@dmarc.ietf.org>
References: <68bc138c-ccfc-2d97-0f25-64271655c23b@mindrot.org> <CACsn0ckzxMZRN6MxmkUjByzzgbgJdH3eRxVT1dA37TYQHeUq2Q%mail.gmail.com@mailhub.eait.uq.edu.au> <461a8358-8bd8-4f45-f8f3-073f993fb18f@mindrot.org> <ba9669a6-65a6-4276-8306-bd55ef0d146f@app.fastmail.com> <534410e1-5a26-f610-ba68-1f0595ab7a64@mindrot.org> <a1321119-137e-ae67-d65b-ea0cdc4af9d2@mindrot.org> <867cbc77-a08c-40d4-b665-75939eab065a@dennis-jackson.uk> <87bjf11vkm.fsf@josefsson.org>
Content-Language: en-US
From: Dennis Jackson <ietf@dennis-jackson.uk>
In-Reply-To: <87bjf11vkm.fsf@josefsson.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Message-ID-Hash: 576SQNVQC3M5QECMENGYVSOFQHM6YCT6
X-Message-ID-Hash: 576SQNVQC3M5QECMENGYVSOFQHM6YCT6
X-MailFrom: ietf@dennis-jackson.uk
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: ssh@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Ssh] Re: Supporting pure ML-DSA as hostkey and authkey
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/seHkwADPzLySNhhkAIFqo2lb2As>
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>

My point is that you *can* revoke trust for authentication material. For 
example, in the event of worrying cryptanalytic progress towards 
breaking ML-DSA, you have a window in which you can ship an update and 
migrate, rendering it a non-issue.

You can't do that for ML-KEM or any other key exchange. Once you've 
picked it you're crossing your fingers it never gets broken.

Best,
Dennis

On 29/04/2026 19:16, Simon Josefsson wrote:
> Dennis Jackson <ietf=40dennis-jackson.uk@dmarc.ietf.org> writes:
>
>> There's no analogue operation for 'revoking' a past encryption to a
>> now-broken public key cryptosystem. That's why confidentiality matters
>> pretty much indefinitely, but authentication only matters until you
>> can ship an update to your clients.
> That's backwards.  Updates to clients needs to be authenticated,
> otherwise anyone can send you a rogue update.  Authenticated with what,
> you ask?  Well, often a signature, and it may be a SSH signature (some
> projects are moving to use SSH signing for artifact protection).  You
> can't have encryption between Alice and Bob without authentication,
> that's crypto 101.
>
> /Simon