Replace GnuPG with Sequoia-PGP (& Actively warn against GnuPG)

I need to wait until forges like GitHub support it, but security aside I am sad my mldsa public key is so much longer than a ed25519 one. We’re back to being as unwieldy as RSA lol

It’s not really that they are pushing for non-hybrids, its that their standard suit is entirely non-hybrid.

Personally i think a hybrid signature is kinda overkill, i would prefer just to sign twice with two different keys. You get the same security and dont have to deal with implementation clunkiness.

Its different than a hybrid key derivation handshake.

Yeah, he has a great article at (Post-Quantum) Cryptographic Right Answers.


I’m already using it for two servers for the moment. I have some devices where i would probably still use ed25519 for some years, like the retro handheld… but theres not really sensitive stuff there.
There is also no sk support yet. It wil probably be implemented in a year or so.

But this hybrid key is not as unwieldy as pqrsa - https://cr.yp.to/papers/pqrsa-20170419.pdf

So same algorithm but two signature?

Suppose Ed448 is O(2^n) but ML-DSA is due to some weakness O(n).

  • Using ML-DSA with two separate keys is O(n) + O(n) = O(n).

  • Using hybrid scheme is O(2^n) + O(n) = O(2^n).

So they’re absolutely not the same.

Speaking of OpenKeychain, which unfortunately has no reputable replacements, a guy on GitHub recently forked it and has been trying to maintain it himself.

Its still too early to use it for any significant security requirements, but it’s maybe worth keeping an eye on; I certainly will be.

Because of how obscenely huge post-quantum cryptographic keys are, there also aren’t any commercially available hardware security keys that support them, at least to my knowledge :pensive_face:

The development of such a device is, iirc, also made harder by the fact that post quantum keys need more processing power. So, one would need to pack more of the already-expensive tamper-resistant storage, and add greater processing power. NFC may also not be able to provide sufficient power for this increased need for processing power.

So, to have a post quantum security key, it would likely be more expensive yet be able to store way less keys (and possibly not be able to be used over NFC) :sad_but_relieved_face:

no, two different signatures, different algos

you do have pq keys through age plugins, but they are not really hardware sealed.

the pq keys are derived through hmac handshake or piv certificate storage.

a malicious plugin can compromise the keys…

Can we say they are pushing for non hybrids?

Im gonna upgrade all my non pq servers to bigger keys.

Yes, that’s my point exactly: there is no PQC-compatible HSKs for general consumers. In the first place, I’m not even sure if FIDO2 has implemented any PQC authentication keys yet. I think its still a work in progress, as I recall?

1Password already has PQC passkeys, but there is only one website that is able to work with them.

Yubico announced a PQC security key for next year, I believe

From your own source:

The NSA wants you to move to PQC in such a rush that it’s saying explicitly, against all its previous recommendations, that you can use the X25519MLKEM768 hybrid key exchange since it’s the most widely available solution.

So you want hybrid signatures but also think they’re overkill. Ok.

So you want hybrid signatures but also think they’re overkill. Ok.

It does not sound that paradoxical to me. The point as i read it is that we can have a hybrid approach when we want extra security, but we do not necessarily need the hybrid complexity in a single signature. Compare:

it is important to know that apparently, in case of very sensitive information, it already is common practice for intelligence operations to encrypt twice, with stacks implemented by completely separate vendors. This makes sense, it protects both against insider threats and against implementation mistakes, albeit at a substantial performance penalty (I don’t know if they just don’t have performance critical super sensitive stuff). With this capability already being present, you can create a hybrid cipher by having one layer classical and the other one PQC, and do not need a hybrid key exchange

from keymaterial.net

Except they said

no, two different signatures, different algos

They didn’t say different libraries to guard against poor implementation. They said different algorithms which is what the hybrid is about.

Schmieg isn’t wrong about the benefits of additive security from two vendors, but in the case of hybrid signatures or key exchange, you’d probably want two separate implementation of the hybrid scheme instead of having less trustworthy / skilled author break one of the two components.

Right, I agree, “two different signatures, different algos, different vendors” would sound better.

I mean, for most asymmetric crypto use-cases (TLS) you need to use something that clients (browsers) support lol

I just had to patch Caddy to support secp384r1mlkem1024 :man_facepalming:

For passkeys and fido RS-Keys supports it i think?
It is disabled by default because some browsers throw a fit if the hardware supports those algos. I havent tried one yet.

For encryption in age, there are two plugins:

Both the classical and pq keys are derived, not sealed to the hardware.

The classical key is stored in a piv slot, the pq key is derived from a seed stored in a piv slot.

So you can only use it on trusted machines, which, you have a great point there, defeats the entire point of using a hsm in the first place.

Age also has a plugin for network operations, GitHub - oguzhane/age-plugin-relay: Decrypt age-encrypted files from anywhere · GitHub, which i dont think is practical for most users.


I dont think hybrid signatures are needed for file signing.

You can already have most the security benefits of any hybrid signature just by signing the same bits multiple times with different keys and different algos.
And if you want you can use multiple implementations, thats fine too.

file
file.mldsa44.sig
file.ed25519.sig

When you do an auth handshake, the server can request the client to sign multiple separate signature challenges.


I do encrypt twice, but that is more on an operational level, because, on my linux machine, the hard drive blocks are already encrypted by luks. This protects against attacks while the machine is off…

This hybrid key exchange is needed because it is used for network operations!
Both machines need to agree on a single key! There is no way around that.


Thats the key exchange part of tls.

Its kind of already solved because it is directly negotiated between the client and the server. If both of them support it, they use it. it was rolled some years ago, you just need to maintain your software up to date (or patch it yourself) and it works seamlessly.

There is a server identity component to tls, and that depends not only on the client, and the server, but also the chain of trust. That is more complex.

Firefox is already rolling support, server software is moving along, i think the bottleneck will be the CAs, and the Chains.

Privacyguides uses letsencrypt to sign its certificates… and lets encrypt only supports pre-quantum cryptography on those certificates as right now.

And whey they do update, fine, my modern devices will acess my servers…
But what about that tv from 2018 that has no os updates since 2021?

Yubikey is a month into a pq beta program using mlkem. Price and capabilities remain to be seen

Yeah I learnt of that a couple days ago, too. The price per passkey slot would likely be much higher for a post-quantum capable HSK :sad_but_relieved_face:, unlike my Token2 which has 300 non-PQC passkey slots at a price lower than the Yubikey 5 (100 slots).