SSHD security for your relay/bridge
Since the topic has come up again recently, I put up a short guide on some best practices for OpenSSH. https://nycbug1.nycbug.org/openssh.html Note that as of OpenSSH 10.3, the first quantum computing-resistant key cipher is available, mldsa44-ed25519, and if both the client and server versions are capable, you should replace your keys with the new cipher. (https://www.openssh.org/releasenotes.html#10.3) Comments offline appreciated, but the guide is meant to be short and actionable. George
Hi. What about the -sk version of mldsa44-ed25519? Regards On Wed, 28 Oct 2026, George via tor-relays wrote:
Since the topic has come up again recently, I put up a short guide on some best practices for OpenSSH.
https://nycbug1.nycbug.org/openssh.html
Note that as of OpenSSH 10.3, the first quantum computing-resistant key cipher is available, mldsa44-ed25519, and if both the client and server versions are capable, you should replace your keys with the new cipher. (https://www.openssh.org/releasenotes.html#10.3)
Comments offline appreciated, but the guide is meant to be short and actionable.
George _______________________________________________ tor-relays mailing list -- tor-relays@lists.torproject.org To unsubscribe send an email to tor-relays-leave@lists.torproject.org
On Thursday, 29 October 2026 05:38:35 CET 3hn92a--- via tor-relays wrote:
What about the -sk version of mldsa44-ed25519?
In the case of NitroKey 3, OnlyKey, and SoloKey, the hardware unfortunately does not support these cryptographic operations. The computation of ML-DSA signatures and the storage of massive post-quantum keys (exceeding 1.3 KB) overwhelm the memory and cryptographic architecture of current FIDO2 tokens. I am waiting for the new NitroKeys and OnlyKeys. They will also have large hardware-based password storage. (similar to the old Signet HC) For now, I am happy with ed25519-sk (non-resident = Default) and ed25519-sk_rk (resident) keys. Additionally: In nftables, SSH is permitted only for a few IP addresses. GrapheneOS + PGPPony¹ can do post-quantum cryptography. ¹OpenKeychain successor https://pgpony.app/guides/migrate-openkeychain.php
On Wed, 28 Oct 2026, George via tor-relays wrote:
Since the topic has come up again recently, I put up a short guide on some best practices for OpenSSH.
https://nycbug1.nycbug.org/openssh.html
Note that as of OpenSSH 10.3, the first quantum computing-resistant key cipher is available, mldsa44-ed25519, and if both the client and server versions are capable, you should replace your keys with the new cipher. (https://www.openssh.org/releasenotes.html#10.3)
Comments offline appreciated, but the guide is meant to be short and actionable.
George
-- ╰_╯ Ciao Marco! Debian GNU/Linux It's free software and it gives you freedom!
Thank You very much -that's what I asked about. I got used to ed2219-sk - using security keys where it is possible is my fave. Same at me - nftables with ssh permiitted only for a few IPs as a first protection line, but I also added AllowUser to sshd_config ( one user at only a few IPs ) as second line of protection. I recommend this as ssh hardening. On Fri, 30 Oct 2026, boldsuck via tor-relays wrote:
On Thursday, 29 October 2026 05:38:35 CET 3hn92a--- via tor-relays wrote:
What about the -sk version of mldsa44-ed25519?
In the case of NitroKey 3, OnlyKey, and SoloKey, the hardware unfortunately does not support these cryptographic operations. The computation of ML-DSA signatures and the storage of massive post-quantum keys (exceeding 1.3 KB) overwhelm the memory and cryptographic architecture of current FIDO2 tokens.
I am waiting for the new NitroKeys and OnlyKeys. They will also have large hardware-based password storage. (similar to the old Signet HC) For now, I am happy with ed25519-sk (non-resident = Default) and ed25519-sk_rk (resident) keys. Additionally: In nftables, SSH is permitted only for a few IP addresses.
GrapheneOS + PGPPony¹ can do post-quantum cryptography. ¹OpenKeychain successor https://pgpony.app/guides/migrate-openkeychain.php
On Wed, 28 Oct 2026, George via tor-relays wrote:
Since the topic has come up again recently, I put up a short guide on some best practices for OpenSSH.
https://nycbug1.nycbug.org/openssh.html
Note that as of OpenSSH 10.3, the first quantum computing-resistant key cipher is available, mldsa44-ed25519, and if both the client and server versions are capable, you should replace your keys with the new cipher. (https://www.openssh.org/releasenotes.html#10.3)
Comments offline appreciated, but the guide is meant to be short and actionable.
George
-- ╰_╯ Ciao Marco!
Debian GNU/Linux
It's free software and it gives you freedom!
On Saturday, 31 October 2026 07:28 3hn92a@cock.li wrote:
Thank You very much -that's what I asked about. I got used to ed2219-sk - using security keys where it is possible is my fave. ;-)
On Fri, 30 Oct 2026, boldsuck via tor-relays wrote:
On Thursday, 29 October 2026 05:38:35 CET 3hn92a--- via tor-relays wrote:
What about the -sk version of mldsa44-ed25519?
This is your current ed2219-sk key + make sure sure ssh-client & sshd use ML-KEM-768 KexAlgorithms https://www.openssh.org/pq.html Some info: https://h2security.io/secure/post-quantum-ssh-mlkem768x25519/
In the case of NitroKey 3, OnlyKey, and SoloKey, the hardware unfortunately does not support these cryptographic operations. The computation of ML-DSA signatures and the storage of massive post-quantum keys (exceeding 1.3 KB) overwhelm the memory and cryptographic architecture of current FIDO2 tokens.
Onlykey can do it now. 😀 new firmware & app: https://github.com/trustcrypto/OnlyKey-Firmware/releases/tag/v3.1.0-prod New: - Post-quantum keys. ML-KEM-768 and X-Wing keys in the ECC slots, which the device can generate itself. Composite PQC PGP keys in the RSA slots (PQC1– PQC4), loaded with onlykey-cli loadpqc, included in backups. - Derived X-Wing keys for age. Label-based recipients; the device keeps the private half and does the decapsulation, over USB or in the browser. - SSH/GPG agent derivation v2 (opt-in). HKDF-SHA256 over the device key, per identity. v1 is unchanged and remains the default. - ... -- ╰_╯ Ciao Marco! Debian GNU/Linux It's free software and it gives you freedom!
participants (3)
-
3hn92a@cock.li -
boldsuck -
George