This was a busy week for anyone who cares about encryption.
On December 2, the NSA urged owners, operators, and vendors of U.S. national security systems to speed up the move to post-quantum cryptography. The ONCD, NSA, and CISA followed with a joint statement that says the same thing. Then Anthropic, OpenAI, Microsoft, Amazon, Apple, Cloudflare, and Google backed the advisory too.
When the NSA and most of Big Tech agree on something, it is worth paying attention. We at Pushin.eu took the advisory seriously.
As of today, you can connect to Pushin with a post-quantum SSH key.
What Pushin already did, and what is new #
Pushin runs on Elixir with Erlang/OTP 29, which already supports hybrid post-quantum key exchange over SSH through mlkem768x25519-sha256. The public HTTPS endpoint at pushin.eu also supports hybrid key exchange through X25519 + ML-KEM-768 in TLS 1.3.
What Erlang/OTP’s SSH implementation doesn’t support yet is hybrid ML-DSA authentication. That’s the missing piece we added this week.
Our Git engine is partly written in Rust, and the Rust ecosystem moved fast:
- On Thursday, RustCrypto
merged support for
mldsa44-ed25519keys . - Today, russh , the Rust SSH library, added support for them on its main branch.
We built on top of that and now run a second SSH endpoint on port 2222. It accepts post-quantum user keys and can show a post-quantum host key, so both sides of the "ID check" can be quantum-safe.
Port 22 stays exactly as it is. Most SSH clients today do not know what an ML-DSA key is yet, and we did not want to break anyone's setup. You can switch when you are ready.
How to use it #
You need OpenSSH 10.6 or newer. Check with:
ssh -Q key | grep -Fx ssh-mldsa44-ed25519
If that prints ssh-mldsa44-ed25519, you are good to go. If not, first install or upgrade to a newer OpenSSH, for example on macOS:
brew install openssh
export PATH="$(brew --prefix openssh)/bin:$PATH"
Next, create a key:
ssh-keygen -t mldsa44-ed25519 -f ~/.ssh/id_mldsa44_ed25519
Copy the contents of ~/.ssh/id_mldsa44_ed25519.pub into
Settings → SSH keys and enable
Authentication (and optionally Signing to verify signed commits).
Then clone over port 2222:
git clone \
-c "core.sshCommand=ssh \
-i ~/.ssh/id_mldsa44_ed25519 \
-o IdentitiesOnly=yes \
-o PubkeyAcceptedAlgorithms=ssh-mldsa44-ed25519 \
-o HostKeyAlgorithms=ssh-mldsa44-ed25519" \
ssh://git@git.pushin.eu:2222/OWNER/REPOSITORY.git
That's it. Every fetch and push in that checkout now uses your post-quantum key.
Git saves these options in the new checkout for later fetches and pushes over SSH. The command requires hybrid ML-DSA-44/Ed25519 keys for both you and the server. On your first connection, compare the fingerprint SSH displays with the matching entry at pushin.eu/pushin.fingerprints before accepting the host key.
Our SSH setup guide has the full steps, including how to install a new enough OpenSSH on macOS and Linux, how to check the server's fingerprint, and how to inspect its post-quantum host key.
But what is post-quantum? #
Most of the encryption on the internet today relies on math problems that are very hard for normal computers to solve. "Very hard" here means "it would take longer than the age of the universe to crack them".
Quantum computers work differently. A big enough quantum computer could solve some of those math problems quickly. Nobody has built one that big yet, but nobody wants to be caught off guard when someone does.
Post-quantum cryptography uses different math problems that are believed to be hard for
both kinds of computers. The new algorithms have names like: ML-KEM and ML-DSA. ML-KEM helps set up a shared secret, also called key exchange, and ML-DSA helps prove who you're talking to, also called key verification.
Key exchange vs. key verification #
Every time you run git push over SSH, your computer and our server do two
things before any of your code moves:
They agree on a secret. This is thekey exchange . Your computer and
the server create a shared secret that only the two of them know, and use
it to scramble everything else they send.
2.
They prove who they are. This iskey verification , also calledauthentication . The server proves it is reallygit.pushin.eu , and you
prove you are really you, with your SSH key. Think of it as showing an ID
card that nobody can forge.
Both can be broken by a big quantum computer, but the danger is not the same.
Key exchange is the urgent one. Someone can record your scrambled traffic today, store it, and wait. If they get a quantum computer in ten years, they can work out the secret from the recording and read everything you sent. This is called "harvest now, decrypt later". Your code from today would be exposed in the future, and nothing you do then can fix it.
Key verification is a "later" problem, but not a "never" problem. To fake an ID card, an attacker needs the quantum computer while you are connecting. They cannot go back in time and pretend to be you in a connection that already happened. So old recordings are safe here. But once those computers exist, any server or user key that is not post-quantum can be faked. And switching everyone's keys takes years, so it makes sense to start early.
Why "mldsa44-ed25519"?
The key type is a hybrid. It combines the new ML-DSA-44 algorithm with Ed25519, which is the SSH key type most people already use. Every signature uses both, and an attacker would have to break both to fake it. If someone finds a flaw in the new algorithm, the old one still protects you. If a quantum computer breaks the old one, the new one still protects you.
What's next #
Port 2222 is where the new stuff lives for now. Once post-quantum keys are common in SSH clients, we will look at bringing them to port 22 as well.
If you try it out and something breaks, let us know. And if you have been putting off your own move to post-quantum crypto, this week is a good week to start.
Further reading #
- What the NSA advisory means , by Filippo Valsorda
- Why your CA is about to have a busy December , on Unmitigated Risk
- Keeping HTTPS connections safe in Chrome , on the Google blog
- Project Quantum Leap , on the Cloudflare blog