# Remove Elliptic Curve from DKIM
Saturday, 5. December 2026


Yesterday [I explained](https://raphting.dev/post-quantum-email-tls-dkim/) which challenges the email community faces,
especially self-hosters, in the light of the latest push to Post Quantum Cryptography (PQC).

If you use Stalwart, under `Settings -> Outbound -> Sender Authentication -> DKIM -> DKIM Signing`, you can remove
ed25519 signatures.
I stopped signing my outgoing mails with ed25519 (but keep RSA signatures active). I'll wait 7 days. Then
remove the ed25519 public keys from DNS. Changing DNS later will prevent slowly traveling mails from arriving with
an unverifiable signature.

I also removed prepared code for DKIM ed25519 signing
in [Postern, the Mail Delivery Agent](https://code.raphting.dev/postern.git) I wrote. Postern defaults to 2048-bit RSA signatures. The code I removed existed to enable ed25519 signing one day. This unused code became obsolete now.

Postern also already signs emails with DKIM2 and RSA 2048-bit. I don't want to rush things here. In the coming days
I will check if and how I can enable PQC for DKIM2 in Postern, and I will also check if 4096-bit signatures should
become the new default.


By Raphael Sprenger
