[Ssh] Re: Complaint about draft-ietf-sshm-cert

Falcon Darkstar Momot <falcon@falconk.rocks> Sat, 01 August 2026 02:01 UTC

Return-Path: <falcon@falconk.rocks>
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 BD933121F08B7 for <ssh@mail2.ietf.org>; Fri, 31 Jul 2026 19:01:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1785549689; bh=vUXFJ/4RQT0taHYMmGyA8+FUdbRZihta64hz+vUoo+M=; h=Date:Subject:To:References:From:In-Reply-To; b=PJip6NCjBncCr6p/VnDeTq04VgfgSsL9ETiTF/98jwfcF0vtDfmCH4wltiRC+CdX5 J66JR/Zcx1BZdP5g8BjEXc90xX6wq8ASXmryr1y5oc6cP8hV4rPQGD82oJ/np+mu1b jjHaZBDEsuQYc1DgbLljXezN4Pkrnr6R87zwVm0s=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=falconk.rocks
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 DgIkTJAZYkQq for <ssh@mail2.ietf.org>; Fri, 31 Jul 2026 19:01:29 -0700 (PDT)
Received: from mail-out.falconk.rocks (mail-out.falconk.rocks [IPv6:2602:808:4004:1::25]) (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 3502B121F08B2 for <ssh@ietf.org>; Fri, 31 Jul 2026 19:01:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=falconk.rocks; s=mail-out-falconk; t=1785549680; bh=vUXFJ/4RQT0taHYMmGyA8+FUdbRZihta64hz+vUoo+M=; h=Date:Subject:To:References:From:In-Reply-To:From; b=LnslkyXAI2Ui1haNXyrq6LSYKtjy6pxpGDppGjhPm3Ewx6H6S7RH+BIlzKKqUcTSn NWpOjrB4VE/yiS8OJoXZcZI1P5IK4+GDnwsWU0pZfM/5UVQoBa3HFqNEVx97ddVobS 5dmKWs4cyxc+B5zWjg61aiXJqH76QVOKjh5jINrXKSv7pvidhzOTI9bymM/qbtxUx5 dDn3MuyLwXrkM8AlL/6H04aUuGQzxoJk1OBdP3WrIvcR5BCBjp/Kk7Ik0yQ6h0VwT4 TM7BVZYVxYQvx3WbcLZEnwl/1xJEA86pKZfcWOJGFzmk7ID5hUm8GVCRy1mRXqEqMS HLGExrR4Hmvaw==
Message-ID: <fd5b6488-b665-4938-a0f4-675c945bb3b8@falconk.rocks>
Date: Fri, 31 Jul 2026 19:01:12 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: ssh@ietf.org
References: <PH3PPFA3FE8A23F120A56AD898533042AB4C1CA2@PH3PPFA3FE8A23F.namprd11.prod.outlook.com> <6f6cd576-15d1-44b8-addc-6c3e0d63b676@mindrot.org>
Content-Language: en-US
From: Falcon Darkstar Momot <falcon@falconk.rocks>
In-Reply-To: <6f6cd576-15d1-44b8-addc-6c3e0d63b676@mindrot.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Message-ID-Hash: BFV3OKIMW6PNNTVEQ7QE6PC27CDJG55S
X-Message-ID-Hash: BFV3OKIMW6PNNTVEQ7QE6PC27CDJG55S
X-MailFrom: falcon@falconk.rocks
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ssh.ietf.org-0; header-match-ssh.ietf.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Ssh] Re: Complaint about draft-ietf-sshm-cert
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/5d074RlMGOIh6FWeJPd46eFS7fw>
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>

For what it's worth, the existence of the current PQ signature schemes 
implies that relying on keys being small may not be a tenable long-term 
position.

Agreed that hashes should be used more generally than just this, but it 
seems less urgent: even on embedded devices, a few 1-3kb keys to be 
stored on disk are unlikely to present an operational problem.

--Falcon

On 2026-07-29 17:44, Damien Miller wrote:
> On Wed, 29 Jul 2026, Scott Fluhrer (sfluhrer) wrote:
>
>> The current proposal contains a field called the 'signature key', which is
>> the CA's public key.
>>
>> Now, this CA public key must be trusted already (otherwise you don't get any
>> security); that is, the receiver must already know it.
>>
>> Now, for ECDSA or EdDSA, this key is tiny, and for RSA, it isn't that bad.
>> However, once we get to ML-DSA, these keys become much larger.
>>
>> In Madrid, I asked if we could replace this field with the hash of the
>> public key (at least based on a critical option) - I was told that was
>> reasonable.
>>
>> I just checked - it's not in the current draft.  Of course, the current
>> draft doesn't list an ML-DSA certificate type (either pure or hybrid) - I
>> suppose it would be added then, but I believe it would be cleaner now (and
>> would make RSA certificates smaller)
>>
>> Of course, this would mean that the implementation must keep around the
>> actual key value (rather than a hash to recognize the key value); I am not
>> an implementor (and so I can't say authoritatively), but it would appear to
>> be a reasonable trade-off.
>>
>> Do the people on the list agree?
> I agree that allowing a hash to act as a standin for a full CA key is
> desirable, but haven't proceeded with this for a few reasons:
>
> 1) there are still no PQ signature schemes adopted to properly justify it.
> 2) I'd prefer the certificates draft to just document current practice
>     and not extend on it. I don't think "just hash the CA key and store
>     that" is sufficient - there's a bit more design and specification
>     needed, and this takes the certificates draft further away from just
>     documenting what is already deployed.
> 3) I'd like a more general "hashes standing in for keys" to be possible
>     in SSH than just in certificates. In particular, I think it would be
>     great if we could use hashes in (please forgive the OpenSSHisms)
>     known_hosts and authorized_keys, as this could make these files
>     easier to manage.
>
> -d
>
> _______________________________________________
> Ssh mailing list -- ssh@ietf.org
> To unsubscribe send an email to ssh-leave@ietf.org