Rebex Buru SFTP Server 2.23.0: Post-quantum ML-DSA keys and .NET 10
We have released Rebex Buru SFTP Server v2.23.0. This post also covers v2.22.0, released a week earlier.
Version 2.22.0 adds support for post-quantum ML-DSA keys, which complements the post-quantum key exchange added in version 2.18.0. Version 2.23.0 moves the server to .NET 10 and lets you choose which algorithms are accepted for user keys. Here is an overview of changes, fixes and improvements.
What is ML-DSA
SSH uses digital signatures for authentication. The server signs the connection with its host key to prove its identity to the client. Users can authenticate with their own key pair instead of a password. Today, these signatures are based on RSA, ECDSA or Ed25519.
A sufficiently powerful quantum computer could break all of these algorithms. An attacker with such a computer could calculate the private key from the public key, and then impersonate your server or your users.
No such quantum computer is known to exist today, and nobody knows exactly when one will be built. In the Quantum Threat Timeline Report 2025 by the Global Risk Institute, experts estimate the chance that one will exist within 10 years at 28 to 49%, and within 15 years at 51 to 70%. Because of this, NIST plans to deprecate all quantum-vulnerable signature algorithms, including RSA, ECDSA and EdDSA, after 2030 and disallow them after 2035.
ML-DSA (Module-Lattice-Based Digital Signature Algorithm) is a post-quantum signature algorithm standardized by NIST in FIPS 204. It was previously known as CRYSTALS-Dilithium. Its security is based on lattice problems, for which no efficient quantum algorithm is known. ML-DSA is the signature counterpart of ML-KEM: ML-KEM protects the session keys, while ML-DSA protects the identities of the server and the users.
There is a difference in urgency, though. Encrypted data can be recorded today and decrypted years later ("harvest now, decrypt later"), which is why post-quantum key exchange already matters. A signature only has to be secure at the moment of connection. A future quantum computer cannot be used to log in to yesterday's session. However, replacing keys on all servers and clients takes time, so it makes sense to start early.
ML-DSA comes in three parameter sets. A higher number means higher security, but also larger keys and signatures:
| Parameter set | NIST security category* | Public key | Signature |
|---|---|---|---|
| ML-DSA-44 | 2 (~AES-128) | 1,312 bytes | 2,420 bytes |
| ML-DSA-65 | 3 (~AES-192) | 1,952 bytes | 3,309 bytes |
| ML-DSA-87 | 5 (~AES-256) | 2,592 bytes | 4,627 bytes |
* A NIST security category means that breaking the algorithm is at least as hard as breaking AES-128 (category 1), AES-192 (category 3) or AES-256 (category 5), or finding a collision in SHA-256 (category 2) or SHA-384 (category 4).
For comparison, an Ed25519 public key has 32 bytes and its signature has 64 bytes. Signatures are only used during key exchange and authentication, not for transferring data, so the larger size has no effect on file transfer speed.
ML-DSA can be used on its own (pure ML-DSA), or combined with a classical algorithm in a composite key, also called hybrid. A composite key consists of an ML-DSA key and a classical key, for example ML-DSA-44 and Ed25519. A composite signature consists of two signatures of the same data, one from each algorithm, and it is valid only if both of them are valid. To forge it, an attacker would have to break both algorithms.
Why combine them? ML-DSA is much newer than RSA, ECDSA or Ed25519, and it has had less time to be tested in practice. If a weakness is ever found in ML-DSA or in its implementation, a composite signature is still as secure as the classical algorithm alone. If a quantum computer breaks the classical algorithm, the signature is still protected by ML-DSA. Classical keys and signatures are small, so the extra cost is low. For example, an ML-DSA-44 + Ed25519 public key has 1,344 bytes and its signature has 2,484 bytes.
ML-DSA host keys and user keys (2.22.0)
Buru SFTP Server now supports ML-DSA for both server host keys and user keys:
ssh-mldsa-44,ssh-mldsa-65,ssh-mldsa-87: pure ML-DSAssh-mldsa44-ed25519,ssh-mldsa87-p384: composite ML-DSA-44 + Ed25519 and ML-DSA-87 + ECDSA on the NIST P-384 curvex509v3-mldsa-44,x509v3-mldsa-65,x509v3-mldsa-87: X.509 certificates with ML-DSA keys (host keys only)
Buru SFTP Server supports both pure and composite ML-DSA, and the client decides which one to use.
Note that at the time of writing, the SSH specifications for ML-DSA are still drafts:
- The composite algorithms follow draft-ietf-sshm-composite-sigs, a draft of the IETF SSHM working group. OpenSSH 10.6 and later support
ssh-mldsa44-ed25519. - The pure algorithms use the names defined in draft-sfluhrer-ssh-mldsa.
- The X.509 algorithms follow draft-rpe-ssh-x509-mldsa.
Adding ML-DSA host keys does not break existing clients. The server offers all of its host keys, and each client picks one it supports. Some clients might prefer an ML-DSA key and ask the user to confirm the new host key fingerprint on the next connection. OpenSSH does the opposite: it puts ssh-mldsa44-ed25519 at the end of its list of preferred host key algorithms, so it keeps using your existing host key. To make OpenSSH prefer the ML-DSA key, use:
sftp -o HostKeyAlgorithms=^ssh-mldsa44-ed25519 user@server
See the full list of supported SSH algorithms.
How to enable ML-DSA host keys after upgrading
ML-DSA algorithms are part of the __MODERN macro, so they are enabled in the default configuration. However, the server can only use a host key algorithm if it has a key of that type.
New installations generate ML-DSA host keys automatically. Upgrading an existing installation does not generate any new keys, so you have to generate them yourself.
Using Web Administration
- Go to Server configuration > SSH keys and click Generate SSH private key.
- Choose the key type (for example ML-DSA-44 + Ed25519), keep the suggested directory and file name, and click Generate.
- Repeat for any other ML-DSA key types you want to offer.
- Restart the service on the Service management page. If you saved a key outside the configured key locations, it is added to the list. In that case, click Save and restart instead.
If you use a custom list of host key algorithms, also make sure the ML-DSA algorithms are enabled on the Server configuration > SSH algorithms > Host key page. With the Secure only or Best compatibility presets, they are already enabled.
Using the command line
Use burusftp keygen --all to generate the same set of keys as a new installation does. The keys are saved to the keys subdirectory of the configuration directory (usually C:\ProgramData\Rebex\BuruSftp\keys). Files that already exist are skipped, so your current keys are not touched:
burusftp keygen --all
This generates all five ML-DSA keys (three pure and two composite). To generate a single key, specify its type instead:
burusftp keygen -t mldsa44-ed25519 "C:\ProgramData\Rebex\BuruSftp\keys\key_mldsa44_ed25519"
The default configuration loads all keys from the keys directory. If the keys section of your config.yaml lists individual files instead, add the new ones:
keys:
- C:\ProgramData\Rebex\BuruSftp\keys\key_ed25519_256
- C:\ProgramData\Rebex\BuruSftp\keys\key_mldsa44_ed25519
If ssh.hostKeyAlgorithms lists individual algorithms instead of a macro such as __MODERN, add the ML-DSA algorithms you want to offer:
ssh:
hostKeyAlgorithms: ['ssh-ed25519', 'ecdsa-sha2-nistp256', 'ssh-mldsa44-ed25519']
Finally, restart the service:
burusftp svc restart
ML-DSA user keys
Users can now authenticate with ML-DSA keys. Add the user's public key the same way as any other key: in the user's settings in Web Administration, or using the burusftp user key add command:
burusftp user key add -u elaine -f "C:\keys\id_mldsa44_ed25519.pub"
Of course, the user's SSH client has to support ML-DSA keys as well. For example, OpenSSH 10.6 and later can generate a composite key using ssh-keygen -t mldsa44-ed25519.
Since version 2.23.0, the server also announces the ML-DSA algorithms to clients in the server-sig-algs extension (see below). Version 2.22.0 accepted ML-DSA user keys, but did not announce them.
User key algorithms (2.23.0)
Until now, the server accepted all supported algorithms for user public key authentication, and there was no way to disable any of them. The new ssh.userKeyAlgorithms setting specifies which algorithms are accepted. It uses the same algorithm names and macros as ssh.hostKeyAlgorithms. The default is __INTERMEDIATE.
The server announces the list to clients in the server-sig-algs extension (RFC 8308), so clients know in advance which algorithms they can use. Clients are not required to follow this list, so the server also rejects any authentication attempt that uses an algorithm missing from it. Such an attempt is logged as a warning, including the algorithm the client tried to use, and is not counted as a failed login attempt.
Note that the algorithm is not always the same as the key type. An RSA key can be used with rsa-sha2-256, rsa-sha2-512 or the SHA-1 based ssh-rsa. For example, the following configuration disables ssh-rsa, but users can still log in with RSA keys using rsa-sha2-256 or rsa-sha2-512:
ssh:
userKeyAlgorithms: ['__MODERN']
In Web Administration, go to Server configuration > SSH algorithms > User key.
Weak SSH algorithms disabled by default
The following algorithms are now categorized as weak. They are only included in the __ALL macro ("weak" in Web Administration). Because __INTERMEDIATE is the default, they are no longer enabled unless you enable them explicitly:
| Type | Algorithms | Version |
|---|---|---|
| Encryption | 3des-cbc, 3des-ctr |
2.22.0 |
| Host key | ssh-dss, x509v3-sign-dss |
2.22.0 |
| Key exchange | diffie-hellman-group-exchange-sha1 |
2.22.0 |
| User key | ssh-dss, x509v3-sign-dss |
2.23.0 |
3DES is slow and uses a 64-bit block size. DSA keys in SSH are limited to 1024 bits and use SHA-1. OpenSSH disabled them by default in version 7.0 and removed DSA support completely in version 10.0. diffie-hellman-group-exchange-sha1 relies on SHA-1 as well.
This only affects you if you use __INTERMEDIATE (the default) and some of your clients still need these algorithms, or some of your users still log in with DSA keys. If they do, enable the algorithms explicitly in config.yaml:
ssh:
encryptionAlgorithms: ['__INTERMEDIATE', '3des-ctr']
hostKeyAlgorithms: ['__INTERMEDIATE', 'ssh-dss']
userKeyAlgorithms: ['__INTERMEDIATE', 'ssh-dss']
kexAlgorithms: ['__INTERMEDIATE', 'diffie-hellman-group-exchange-sha1']
In Web Administration, go to Server configuration > SSH algorithms, select Custom and enable the algorithms you need. Enabling and disabling individual algorithms is new in version 2.22.0. Each algorithm is also labeled as modern, intermediate or weak.
Migrated to .NET 10 (2.23.0)
Support for .NET 8 ended on November 10, 2026. Buru SFTP Server now runs on .NET 10, a long-term support (LTS) release supported until November 2028. See the .NET support policy for details.
The .NET runtime is bundled with Buru SFTP Server, so you do not have to install anything. The list of supported operating systems has not changed.
The Serilog logging libraries have been updated as well:
| Library | Before 2.23.0 | 2.23.0 and later |
|---|---|---|
| Serilog | 4.1 | 4.4 |
| Serilog.Extensions.Hosting | 8.0 | 10.0 |
| Serilog.Extensions.Logging | 8.0 | 10.0 |
| Serilog.Settings.Configuration | 8.0 | 10.0 |
| Serilog.Sinks.Console | 6.0 | 6.1 |
| Serilog.Sinks.File | 6.0 | 7.0 |
This only matters if you use advanced logging (useCustomConfig: true) with additional Serilog libraries that you copied to the installation directory, such as Serilog.Sinks.Email. Make sure they are compatible with the new versions. See the full list of library versions.
Changes to burusftp keygen (2.22.0)
- Added ML-DSA key types:
mldsa44,mldsa65,mldsa87,mldsa44-ed25519andmldsa87-p384. - Added
ecdsa-p256,ecdsa-p384andecdsa-p521key types. The-t ecdsaand-coptions still work but are obsolete. - Private keys are now saved in PKCS #8 format. Previously, keys generated with
--alland during initial setup were saved in OpenSSH format, and other keys in PuTTY.ppkformat. Existing keys in these formats are still supported. - When generating a single key, the command now fails if the key file already exists. Previously, the existing file was overwritten. With
--all, existing files are skipped.
The burusftp user key delete -t and burusftp user update --remove-keys commands accept the new key types as well. The ecdsa256, ecdsa384 and ecdsa521 types are now obsolete.
If you use any of these commands in scripts, check them after upgrading.
Web Administration improvements
- SSH server private keys can now be generated on the SSH keys page. (2.22.0)
- SSH algorithms can now be enabled or disabled individually. (2.22.0)
- Added the User key page to SSH algorithms, where you can configure the algorithms accepted for user public key authentication. (2.23.0)
- Added copy-to-clipboard buttons for SSH keys. Browsers only allow this in secure contexts, so the buttons are only shown when Web Administration is accessed over HTTPS or from localhost. (2.22.0)
Minor changes and fixes
- SSH and SFTP
- Fixed an issue where SFTP sessions with some SFTP clients could occasionally become unresponsive with high CPU usage when uploading data split into many small packets. (2.22.0)
- Fixed an issue where an SSH session could get stuck at high CPU usage and never close when the client disconnected during key re-exchange. (2.22.0)
- Fixed a resource leak when the server stops listening on an endpoint. (2.22.0)
- Malformed signatures sent by SSH clients during public key authentication are now treated as failed authentication attempts instead of errors. (2.22.0)
- Improved validation of malformed keys and certificates. (2.22.0)
- Files in
keysdirectories that cannot be loaded as SSH server private keys are now logged at debug level, including the reason. (2.22.0)
- CLI
- Fixed DSA keys being displayed as RSA keys in CLI output. (2.22.0)
- Other
- Updated the code signing certificate (thumbprint
FB86143C66A3809B15DDA5F065059961547F1D1C, valid until 2027-11-11). (2.22.0)
- Updated the code signing certificate (thumbprint
For a complete list of fixes and improvements, see the release notes.
You can report issues and submit feature requests on our GitHub issue tracker.
For discussions and specific problems, please continue using our support forum.
