This follows on from the open firmware for the T48S I wrote about last month.

Why bother
Encrypted calls today agree their keys with elliptic curves. A large enough quantum computer would break those, and anyone recording calls now could decrypt them then. The fix is to agree keys with ML-KEM, the post-quantum algorithm NIST standardised in 2024, alongside the elliptic curve, so the keys stay safe while either one holds.
To the server
The phone already does SIP over TLS. When I looked, it turned out it was already post-quantum without anyone planning it: OpenSSL 3.5 and later offer the hybrid X25519MLKEM768 first, and nothing in the phone narrowed that list. With SRTP on, the call’s keys travel inside that TLS connection, so they were already protected on the phone’s leg to the server, if the server takes the hybrid.
What it lacked was a way to tell. Now an account with SRTP Compulsory shows to server on the idle screen when its connection is post-quantum, and an encrypted call over it shows Quantum-safe to server. The server still sees the keys, so that is all it claims.
End to end
For the whole call, the two phones have to agree keys with each other, not through the server. That is DTLS-SRTP: the handshake runs over the same path as the audio, and the SIP server only carries a fingerprint of each phone’s certificate. The phone now does DTLS 1.3, new in OpenSSL 4.1, with X25519MLKEM768. Each phone also has a long-term ML-DSA-65 identity key, so the phones prove who they are with post-quantum signatures too.
That still leaves the server able to swap both fingerprints for its own and sit in the middle. So both phones show a four-character code worked out from the keys they actually ended up with. Read it out: if the codes match, nobody is in the middle. Each phone commits to its part before it sees the other’s, so a server in the middle cannot keep trying keys until the codes happen to match. Its chance of making the codes match is about one in a million per call. ZRTP does the same; plain DTLS does not, so it is added here.
Press Confirm and the phone remembers the other phone’s identity key. Later calls are checked against it, with no code to read, and a changed key is a warning. Remembered keys are listed under Accounts, Advanced, on the phone and the web setup page, each with Forget, beside this phone’s own fingerprint for comparing in person.

Only quantum-safe calls
Each account has a Quantum-safe only setting: Off, To server, End to end or Verified. With it on, the phone sends no audio until the call is encrypted, and ends or refuses any call that does not reach the level, with a one-line reason on the screen. Verified gives a first call a minute to confirm the code. Every level needs a server that does post-quantum TLS.
Limits
- End to end needs a far end that does DTLS 1.3 with ML-KEM. The code needs this software at both ends: anything else shows End to end, not verified, and can never be verified. I have one phone, so the far end so far has been the same software on a PC, through my own SIP server.
- Many SIP providers handle the audio themselves and do not pass DTLS-SRTP through. My provider takes only classic TLS key exchange, so my real account shows nothing.
- On a first call, the code only catches a server in the middle if people actually read it out.
- The handshake costs about 70 ms of the phone’s ARM11; the audio starts within about a third of a second of the answer.
I looked, and could not find another SIP desk phone that offers post-quantum calls; the nearest are government crypto phones such as Sectra’s Tiger/S. The work is on the testing channel now (Settings, Update, Channel: Testing). The details are in the repository’s end-to-end design, including the threat model and why the code holds.