upvote
> A lot of people will be waiting for Let’s Encrypt.

I'm confused. All my sites use Let's Encrypt certs, using Caddy's default settings, and this site greenlights them.

Specifically:

Key exchange X25519MLKEM768 TLS version TLS 1.3 Cipher suite TLS_CHACHA20_POLY1305_SHA256

reply
That's the Key Exchange, if you look closely the certs will still be non-PQ.

Its the same 'work-around' as SSH which you can make use PQ exchange.

Strictly speaking if you are using this 'work-around' then you should configure Caddy accordingly (i.e. limit the cipher list, just like you would with SSH).

reply
I was just looking into this.

I wish the website mentioned this.

reply
They basically do - the headline says "Does your domain negotiate post-quantum key exchange?"

Not all browsers currently support PQC signed root certs, so as far as I know no public cert authorities will generate PQC certs at present.

Cloudflare explained the difference in their recent announcement:

> In 2019, we began the migration of TLS to post-quantum encryption, upgrading the protocol that secures connections to websites. In 2022, we started collaborating on redesigning the WebPKI, the system of certificates browsers use to check a site’s identity, around post-quantum certificates. Today, 73% of human connections to Cloudflare’s network use post-quantum encryption. But those connections still use classical certificates to prove who’s on the other end. We’ve also been working on fixing that.

> Encryption protects what you send. Authentication proves who you’re talking to. We upgraded encryption first, and that was deliberate. Someone can record encrypted traffic today and store it until they find a way to break it, so traffic that has to stay private for years needs post-quantum encryption now. Authentication is different. Breaking it in the future doesn’t expose conversations that have already happened. So authentication could come second, as long as it was done before anyone could break it. AI-accelerated research changed that, and replacing all systems across the Internet could take years. So we’re hitting the gas on post-quantum authentication.

> But we can’t do this alone.

reply
Do you mean that these "PQC check" sites are only looking at key exchange because that's all that's necessary for encryption, but that the certs themselves will need to be changed from RSA/ECC to some PQ algorithm for authentication?

I'm confused about this too, because I didn't do anything, but all of my sites are PQC compliant since they support the new key exchange method. Are downgrade attacks not an issue? I don't know if we've disabled older key exchange types...

reply
Yes, these checks are only looking at the key exchange, because if they looked at the encryption method used for the cert signatures every site would fail today. And again, that's because the vulnerability is "harvest now, decrypt later", and for that vulnerability the security of the connection, not the security of the site identity check, is what matters.

Downgrade attacks are an issue, but not really a significant concern at present. Again, the main concern for the NSA and industry leaders is that all the pieces are in place for a PQC world, and the first step of that is to ensure all the tech everywhere supports PQC. At this stage it is probably a bad idea to require PQC key exchange because browsers only added support for this in the past 2 years or so (of course, depending on your site and user base).

reply
deleted
reply
So, this means that a theoretical quantum adversary couldn't pretend to be the website if they are the man in the middle, but could still decrypt the data sent?

If so, the difference seems irrelevant if we are talking about harvest-now-decrypt-later attacks.

Is there a good reference or, even better, an intro article explaining such things?

reply
The opposite. Using PQC in your key exchange means that you're secure against HNDL attacks, but a quantum adversary that can actively MiTM you can win still by getting you to trust their (non PQC) cert.

I don't know a good resource for you; you could try the Wikipedia article on forward secrecy:

https://en.wikipedia.org/wiki/Forward_secrecy

But it's probably the usual Wikipedia mix of too dense/deep and not deep enough. :)

reply
> So, this means that a theoretical quantum adversary couldn't pretend to be the website if they are the man in the middle, but could still decrypt the data sent?

If I understand you correctly, no. The opposite.

With X25519MLKEM768 key exchange, the session keys are protected against HNDL (harvest now, decrypt later) attacks – but only if you limit the cipher list, otherwise you could theoretically be open to downgrade attacks.

But with non-PQ certs still in place you theoretically could get MITM attacks because the authentication/signature is still based around non-PQ.

And of course the whole chain-of-trust thing back to the LE root is at risk.

reply
Found one, https://www.haproxy.com/blog/how-to-enable-post-quantum-cryp... linked from the article/website seems worth reading.

I'm still interested if people have other favorite resources.

reply
In caddy it's this:

    (tls_strict) {
            tls {
                    protocols tls1.3
                    curves x25519mlkem768
            }
    }
reply
FWIW, this is also what Cloudflare highlighted recently. When they (some time ago) focused on ensuring the connection was encrypted with PQC, they said they did it first because it prevents bad guys from storing the traffic in the hopes of decrypting it later, while spoofed authentication only works if the bad guys have a way to break the encryption on the certs now.

Are there any recognized cert authorities that are generating PQC certs now?

reply
To simplify, there’s two problems to solve in these kinds of systems: authentication and key exchange. In TLS, authentication means validating the site is really who they say they are via the CA. Once your browser knows it’s communicating with the right server, it then performs a key exchange, negotiating a shared key to encrypt the rest of the communication with.

Key exchange, the second part, is vulnerable to the “store now, decrypt later” attack, which is why that has been prioritized in post-quantum migration plans. Authentication is not, since it always happens whenever a new connection is initiated and isn’t used to encrypt any data.

reply
Same here, but is this LE or Caddy? I'd think Caddy, the cert is just for proving identity right?
reply
All those IOT devices are probably not that much in danger if the traffic is ever read at a _later_ moment. Just screwed if you can do it live. In that case quick rotation can indeed help.
reply
Let's Encrypt PQC is reportedly available Feb 2027

(https://gbhackers.com/lets-encrypt-post-quantum-tls-certific...)

reply
Does it matter that much? I fail to see the emergency. Most TLS certificates are still RSA, which is presumably secure against whatever unknown attacks exists against P256. If you are worried, use larger keys. Even NSA seems to indicate it is fine for the time being.

What people are concerned about now are future decryption attacks. As long as the session key exchange is post quantum, you are secure against those. That doesn't require any new certificates, only support at the end points.

reply
[dead]
reply
[dead]
reply
What hardware accelerators do you mean?

AES is often HW accelerated, and that's not at risk; the asymmetric key exchange usually happens in software these days, as far as I know, since even RSA-4096 is not that big of a deal anymore for embedded systems, and even less for anything ECDH/ECDSA.

The only embedded systems with "asymmetric crypto coprocessors" I know are smartcards, and even those are increasingly based on ARM CPUs instead of legacy 8 bit microcontrollers.

reply
Asymmetric accelerators aren't required but aren't uncommon on chips targeting IoT applications

https://docs.espressif.com/projects/esp-idf/en/stable/esp32p...

https://support.arm.com/downloads/-/arm-security-algorithm-a...

reply
Embedded ARMs are not exactly fast/efficient for pqc. Basically nothing is really.
reply
Good point, PQC might bring back the age of accelerators after all.
reply
If it's chunky enough to have a crypto accelerator it's probably chunky enough to do it manually, at least for your typical non-webcam IoT device.

Also IoT data is at high risk of being hacked to begin with, which limits the impact of crypto weaknesses.

reply
Bigger problem is if it has ram budget for it...

The only TLS library I like is BearSSL and it is becoming obsolete fast.

reply
I think it only takes a few kilobytes? So I'm including that in my previous statement.
reply
Don't do that. A few kilobytes is too much in many projects.

Further, we use P-256 in our bootloader, don't have flash for much of anything else.

reply
Do those projects have crypto accelerators though?
reply
Some do, some don't. Not really a worthwhile differentiator in my eyes.
reply
Most straightforward solution might be to just counter-hack them.

https://census2012.sourceforge.net/paper.html

...Unless the intruder rolls out a fix first :)

reply