<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Peter Ullrich</title>
    <description>The latest articles on DEV Community by Peter Ullrich (@pullrich).</description>
    <link>https://dev.to/pullrich</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1284770%2F40255cdd-70ae-4848-b6e0-c4fafc9d9be7.JPG</url>
      <title>DEV Community: Peter Ullrich</title>
      <link>https://dev.to/pullrich</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pullrich"/>
    <language>en</language>
    <item>
      <title>Pushin becomes first Git forge to support post-quantum Git over SSH</title>
      <dc:creator>Peter Ullrich</dc:creator>
      <pubDate>Fri, 04 Dec 2026 17:47:26 +0000</pubDate>
      <link>https://dev.to/pullrich/pushin-becomes-first-git-forge-to-support-post-quantum-git-over-ssh-9k</link>
      <guid>https://dev.to/pullrich/pushin-becomes-first-git-forge-to-support-post-quantum-git-over-ssh-9k</guid>
      <description>&lt;p&gt;This was a busy week for anyone who cares about encryption.&lt;/p&gt;

&lt;p&gt;On December 2, the NSA &lt;a href="https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662430/nsa-advises-immediate-transition-to-post-quantum-cryptography-to-protect-nation/" rel="noopener noreferrer"&gt;urged owners, operators, and vendors of U.S. national security systems&lt;/a&gt; to speed up the move to post-quantum cryptography.&lt;br&gt;
The &lt;a href="https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662453/joint-statement-from-oncd-nsa-and-cisa-on-recent-advances-in-cryptographic-and/" rel="noopener noreferrer"&gt;ONCD, NSA, and CISA&lt;/a&gt; followed with a joint statement&lt;br&gt;
that says the same thing. Then Anthropic, OpenAI, Microsoft, Amazon, Apple,&lt;br&gt;
Cloudflare, and Google&lt;br&gt;
&lt;a href="https://www.theguardian.com/technology/2026/dec/03/microsoft-google-apple-anthropic-open-ai-joint-statement-urge-to-switch-to-advanced-encryption" rel="noopener noreferrer"&gt;backed the advisory too&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;When the NSA and most of Big Tech agree on something, it is worth paying&lt;br&gt;
attention. We at &lt;a href="https://pushin.eu" rel="noopener noreferrer"&gt;Pushin.eu&lt;/a&gt; - The European Git Forge - took the advisory seriously. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;As of today, you can connect to Pushin with a post-quantum SSH key.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  What Pushin already did, and what is new
&lt;/h2&gt;

&lt;p&gt;Pushin runs on Elixir with Erlang/OTP 29, which already supports hybrid post-quantum &lt;strong&gt;key exchange&lt;/strong&gt; over SSH through &lt;code&gt;mlkem768x25519-sha256&lt;/code&gt;. The public HTTPS endpoint at &lt;code&gt;pushin.eu&lt;/code&gt; also supports hybrid key exchange through &lt;code&gt;X25519 + ML-KEM-768&lt;/code&gt; in TLS 1.3.&lt;/p&gt;

&lt;p&gt;What Erlang/OTP’s SSH implementation doesn’t support yet is hybrid ML-DSA &lt;strong&gt;authentication&lt;/strong&gt;. &lt;br&gt;
That’s the missing piece we added this week.&lt;/p&gt;

&lt;p&gt;Our Git engine is partly written in Rust, and the Rust ecosystem moved fast:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On Thursday, RustCrypto
&lt;a href="https://github.com/RustCrypto/SSH/pull/583" rel="noopener noreferrer"&gt;merged support for &lt;code&gt;mldsa44-ed25519&lt;/code&gt; keys&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Today, &lt;a href="https://github.com/Eugeny/russh/issues/824" rel="noopener noreferrer"&gt;russh&lt;/a&gt;, the Rust SSH
library, added support for them on its main branch.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We built on top of that and now run a &lt;strong&gt;second SSH endpoint on port 2222&lt;/strong&gt;.&lt;br&gt;
It accepts post-quantum user keys and can show a post-quantum host key, so&lt;br&gt;
both sides of the "ID check" can be quantum-safe.&lt;/p&gt;

&lt;p&gt;Port 22 stays exactly as it is. Most SSH clients today do not know what an&lt;br&gt;
ML-DSA key is yet, and we did not want to break anyone's setup. You can&lt;br&gt;
switch when you are ready.&lt;/p&gt;
&lt;h2&gt;
  
  
  How to use it
&lt;/h2&gt;

&lt;p&gt;You need OpenSSH 10.6 or newer. Check with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ssh -Q key &lt;span class="o"&gt;|&lt;/span&gt; grep -Fx ssh-mldsa44-ed25519
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If that prints &lt;code&gt;ssh-mldsa44-ed25519&lt;/code&gt;, you are good to go. If not, first install or upgrade to a newer OpenSSH, for example on macOS:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew install openssh
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;PATH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"$(brew --prefix openssh)/bin:$PATH"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Next, create a key:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ssh-keygen -t mldsa44-ed25519 -f ~/.ssh/id_mldsa44_ed25519
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Copy the contents of &lt;code&gt;~/.ssh/id_mldsa44_ed25519.pub&lt;/code&gt; into&lt;br&gt;
&lt;a href="https://dev.to/settings/ssh-keys/new"&gt;Settings → SSH keys&lt;/a&gt; and enable&lt;br&gt;
&lt;strong&gt;Authentication&lt;/strong&gt; (and optionally &lt;strong&gt;Signing&lt;/strong&gt; to verify signed commits). &lt;/p&gt;

&lt;p&gt;Then clone over port 2222:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone \
  -c &lt;span class="s2"&gt;"core.sshCommand=ssh \
    -i ~/.ssh/id_mldsa44_ed25519 \
    -o IdentitiesOnly=yes \
    -o PubkeyAcceptedAlgorithms=ssh-mldsa44-ed25519 \
    -o HostKeyAlgorithms=ssh-mldsa44-ed25519"&lt;/span&gt; \
  ssh://git@git.pushin.eu:2222/OWNER/REPOSITORY.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. Every fetch and push in that checkout now uses your post-quantum key.&lt;/p&gt;

&lt;p&gt;Git saves these options in the new checkout for later fetches and pushes over SSH. The command requires hybrid &lt;code&gt;ML-DSA-44/Ed25519&lt;/code&gt; keys for both you and the server. On your first connection, compare the fingerprint SSH displays with the matching entry at &lt;a href="///pushin.fingerprints"&gt;pushin.eu/pushin.fingerprints&lt;/a&gt; before accepting the host key.&lt;/p&gt;

&lt;p&gt;Our &lt;a href="https://dev.to/docs/guides/ssh-fingerprint"&gt;SSH setup guide&lt;/a&gt; has the full steps,&lt;br&gt;
including how to install a new enough OpenSSH on macOS and Linux, how to&lt;br&gt;
check the server's fingerprint, and how to inspect its post-quantum host key.&lt;/p&gt;

&lt;h2&gt;
  
  
  But what &lt;em&gt;is&lt;/em&gt; post-quantum?
&lt;/h2&gt;

&lt;p&gt;Most of the encryption on the internet today relies on math problems that&lt;br&gt;
are very hard for normal computers to solve. "Very hard" here means "it would take&lt;br&gt;
longer than the age of the universe to crack them".&lt;/p&gt;

&lt;p&gt;Quantum computers work differently. A big enough quantum computer could&lt;br&gt;
solve some of those math problems quickly. Nobody has built one that big&lt;br&gt;
yet, but nobody wants to be caught off guard when someone does.&lt;/p&gt;

&lt;p&gt;Post-quantum cryptography uses different math problems that are believed to be hard for&lt;br&gt;
&lt;em&gt;both&lt;/em&gt; kinds of computers. The new algorithms have names like: &lt;strong&gt;ML-KEM&lt;/strong&gt; and &lt;strong&gt;ML-DSA&lt;/strong&gt;. &lt;code&gt;ML-KEM&lt;/code&gt; helps set up a shared secret, also called &lt;code&gt;key exchange&lt;/code&gt;, and &lt;code&gt;ML-DSA&lt;/code&gt; helps prove who you're talking to, also called &lt;code&gt;key verification&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key exchange vs. key verification
&lt;/h2&gt;

&lt;p&gt;Every time you run &lt;code&gt;git push&lt;/code&gt; over SSH, your computer and our server do two&lt;br&gt;
things before any of your code moves:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;They agree on a secret.&lt;/strong&gt; This is the &lt;em&gt;key exchange&lt;/em&gt;. Your computer and&lt;br&gt;
the server create a shared secret that only the two of them know, and use&lt;br&gt;
it to scramble everything else they send.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;They prove who they are.&lt;/strong&gt; This is &lt;em&gt;key verification&lt;/em&gt;, also called&lt;br&gt;
&lt;em&gt;authentication&lt;/em&gt;. The server proves it is really &lt;code&gt;git.pushin.eu&lt;/code&gt;, and you&lt;br&gt;
prove you are really you, with your SSH key. Think of it as showing an ID&lt;br&gt;
card that nobody can forge.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Both can be broken by a big quantum computer, but the danger is not the same.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key exchange is the urgent one.&lt;/strong&gt; Someone can record your scrambled&lt;br&gt;
traffic today, store it, and wait. If they get a quantum computer in ten&lt;br&gt;
years, they can work out the secret from the recording and read everything&lt;br&gt;
you sent. This is called &lt;em&gt;"harvest now, decrypt later"&lt;/em&gt;. Your code from today&lt;br&gt;
would be exposed in the future, and nothing you do then can fix it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key verification is a "later" problem, but not a "never" problem.&lt;/strong&gt; To fake&lt;br&gt;
an ID card, an attacker needs the quantum computer &lt;em&gt;while you are&lt;br&gt;
connecting&lt;/em&gt;. They cannot go back in time and pretend to be you in a&lt;br&gt;
connection that already happened. So old recordings are safe here. But once&lt;br&gt;
those computers exist, any server or user key that is not post-quantum can&lt;br&gt;
be faked. And switching everyone's keys takes years, so it makes sense to&lt;br&gt;
start early.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why "mldsa44-ed25519"?
&lt;/h3&gt;

&lt;p&gt;The key type is a &lt;em&gt;hybrid&lt;/em&gt;. It combines the new ML-DSA-44 algorithm with&lt;br&gt;
Ed25519, which is the SSH key type most people already use. Every signature&lt;br&gt;
uses both, and an attacker would have to break both to fake it. If someone&lt;br&gt;
finds a flaw in the new algorithm, the old one still protects you. If a&lt;br&gt;
quantum computer breaks the old one, the new one still protects you.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;Port 2222 is where the new stuff lives for now. Once post-quantum keys are&lt;br&gt;
common in SSH clients, we will look at bringing them to port 22 as well.&lt;/p&gt;

&lt;p&gt;If you try it out and something breaks, let us know. And if you have been&lt;br&gt;
putting off your own move to post-quantum crypto, this week is a good week&lt;br&gt;
to start.&lt;/p&gt;

&lt;h2&gt;
  
  
  Further reading
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://words.filippo.io/nsa-advisory/" rel="noopener noreferrer"&gt;What the NSA advisory means&lt;/a&gt;, by Filippo Valsorda&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://unmitigatedrisk.com/2026/12/why-your-ca-is-about-to-have-a-busy-december/" rel="noopener noreferrer"&gt;Why your CA is about to have a busy December&lt;/a&gt;, on Unmitigated Risk&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://blog.google/security/keeping-https-connections-safe-in-chrome/" rel="noopener noreferrer"&gt;Keeping HTTPS connections safe in Chrome&lt;/a&gt;, on the Google blog&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://blog.cloudflare.com/project-quantum-leap/" rel="noopener noreferrer"&gt;Project Quantum Leap&lt;/a&gt;, on the Cloudflare blog&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>cybersecurity</category>
      <category>git</category>
      <category>infosec</category>
      <category>security</category>
    </item>
  </channel>
</rss>
