Post-quantum encryption adoption (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
Replies (5)
Replies (1)
Replies (3)
Replies (3)
A slight increase in latency when that’s already fairly irrelevant on the internet (seriously i’m loading a 10mb page to write text already!) vs a risk that you lose crypto if the single alg you used is broken.
I’m taking the extra latency everytime.
Replies (1)
It’s a take that suggests you don’t understand the shape of the problem and why people are concerned about it and conflating it with other concerns that aren’t as relevant.
Replies (1)
Continue this thread (1 replies) →
So I guess it may actually be a thing some people might have to consider to some extent, at least as a curious hypothetical. I started off this reply pushing back against your hedge as I assumed ML-KEX already pushed messages beyond 1500 bytes, but the relevant TLS record framing overhead isn't as large as I thought. If we just settled on ML-KEM-1024 then all would be well again.
Replies (1)
Relying on fitting the entire handshake in a single packet is just indicative of obsolete design.
Replies (1)
1. The handshake doesn’t fit into a single IP packet always requiring fragmentation (even if you use jumbo frames middleware will fragment it).
2. Even with rfc6928, the handshake with a multi-cert PQC chain exceeds the initial window and requires an extra full RTT before it completes. The initial congestion window is existed and there’s nothing to do there aside from trying to increase it which is challenging for a lot of reasons. So TCP is negatively impacted by a lot and TCP is generally preferred within the cloud.
3. HRR which tries to bypass the size instead can fail resulting in an additional RTT (now we’re at 2)
4. QUIC isn’t immune to this and the size of PQC exceeds the amount of data it can use to establish the connection. Indeed in some ways it can be even more susceptible because now even clienthello doesn’t fit into a single packet meaning there’s a greater opportunity for issuer loss to hit the initial connection attempt.
So you’re incorrect this doesn’t impact QUIC and your indirect this is a result of an obsolete design - there are very very good reasons to want the initial connection to fit into a single packet. Indeed, even if you just increase the size of that initial window to try to keep everything into 1 RTT you’re now amplifying the memory requirement for a connection attempt by 10x. It’s nothing when you only handle a few connections, but that’s because you’re not considering what happens to a heavily loaded server or a server having to manage a DDOS attack.
My problem is that PQC is a non trivial negative impact on everyone if QCs aren’t ever going to be able to crack classical keys. Doubly so if PQC algorithms are just straight up weak to classical methods.
Replies (1)
1. No need for fragmentation since you can decode multiple packets into a blob, even TCP already handles this.
2. The very notion of a initial congestion window is a fundamental design weakness.
What actually matters is the initial receiver window (IRW) and the initial path bandwidth (IPB). The initial receiver window, i.e. how much buffering the receiver leaves aside for a initial connection attempt, should be tuned to be the amount of data it desires before needing a round-trip. This is independent of connection propertys and is trivially tuned on a per-endpoint basis to the desired amount without any impact on the network path.
The initial path bandwidth is connection-dependent and is the zero-feedback initial transmission rate. Converting from a initial congestion window to initial path bandwidth is just dividing the congestion window by the latency. For a 100 ms latency connection you are getting a initial path bandwidth of ~15 KB/s to ~150 KB/s (for 1 and 10 packets, respectively). For 1 ms latency you are getting ~1.5 MB/s to ~15 MB/s. This helps illustrate why the very notion of a initial congestion window is absurd because it generates bandwidth that can easily fluctuate across multiple orders of magnitude in response to the other critical connection parameter of connection latency.
Instead, we should be using initial path bandwidth with packet pacing which ensures both uniform bandwidth and buffer utilization, but also ensures a connection-independent fixed time to fill the initial receiver window, M = IRW / IPB. Your default case handshake time then becomes M + 1-RTT, but can be shortened or lengthened if M is larger than 1-RTT and you get feedback causing you to change your transmission rate. Given RFC 6928 and a reasonable assumption as to the average-case latency to a peer we can compute a general recommendation for the IPB which would globally look similar to the current state of affairs using a initial congestion window. I would propose 100 ms as a good assumption and thus 150 KB/s, but that is up for debate. This would ensure a fixed overhead for a PQC certificate handshake at ~10-100 ms plus the required single RTT.
3. I do not know what you are talking about, so no comment.
4. QUIC already separates the per-stream window from the congestion control algorithm and thus can be configured in the manner I described above. I believe nobody does it that way in practice because they are wedded to the antiquated ways, but is supports it quite easily. This allows configuring the handshake stream window to be large enough just on the endpoint and thus not exceeding the amount of data you can use to establish the connection. As for IPB handling, the BBR congestion control algorithm is already designed to estimate the network path bandwidth; IPB just becomes the initial value for that parameter.
You are correct that there is a greater opportunity for loss, but that is fundamental to any scheme that transmits more data. However, the initial handshake is not privileged from a transport perspective under a proper design, so all you are actually saying is that you previously sent M bytes in a connection, but now you send M + N bytes in a connection and that takes more time and incurs more potential for loss which is true, but not special. The relevant analysis for that question is how many bytes are sent over the life of the average connection and how does that compare to the amount of extra bytes needed for a PQC handshake and does that materially impact the amount of total bytes transmitted over the life of that connection.
5. So yes, this is mostly just due to design weaknesses; there would be no RTT-dependence with a proper design. The actual downsides are that you need more memory for the initial connection attempt and you are sending more bytes. These are reasonable concerns for small connections, but small connections are not responsible for most network traffic or network bottlenecking. There is impact, but with proper transport protocol design the global impact could be made relatively minor.
Continue this thread (1 replies) →
Replies (1)
Replies (1)
Replies (1)
We’ve been accepting ‘well no one’s broken it yet so it works’ for way too long.
Replies (7)
Replies (6)
One time pads survive.
Replies (1)
This is not so clear: https://en.wikipedia.org/w/index.php?title=Quantum_key_distr...
We’ll all be buying 20tb drives from a known trusted central provider who keeps a copy of the pad and shipping the drivrs by trusted couriers. Encryption will be done through the central provider we bought the padding from. When you start to run out of padding you request a new one and ship the used drive back for reuse with a new pad.
A huge pain but still feasible.
Replies (4)
Replies (1)
Sure you can do a private one time pad swap but the vast majority will be via the centralised providers just as it is today.
If we can still afford them, which I doubt based on how prices have jumped for HDDs across the board.
You and I have very different definitions of feasible.
Replies (1)
but that's maybe. it could still require a galaxy of computing power, except now it mostly scales with the difficulty.
Replies (1)
Replies (1)
However, for now there exists no hint that Anthropic might have got closer to proving anything about P=NP.
The mysterious private meeting where Anthropic announced some cryptography breakthrough was most likely about breaking one of the newly standardized post-quantum public-key algorithms.
This would not be a really unexpected event, as it was a possibility taken by many into account, many years before progresses in LLMs made them suitable for finding mathematical advances.
Replies (5)
Replies (1)
States control their grids and could enforce these laws using that power. We need to try something, or else we are sleepwalking straight into RSI. Note that on many tasks (hacking, math, lying), these agents are already superhuman. The time to act is now.
Replies (3)
Continue this thread (1 replies) →
It would encourage better data center design, which I strongly support, but I don't really see this solving the problem at all.
Further, what do you do about foreign or open source models? Will they just stop breaking cryptography? Would the US government stop?
Continue this thread (1 replies) →
Replies (3)
Replies (1)
Replies (3)
The tentative attribution of the Binance hack WAS N Korea. That didn't lead to nuclear war. Some of it will be diffused using insurance. Some of it will be other tools of the nation state arsenal (trade tools, diplomacy tools, sanctions, espionage, conventional war far from N Korea's homeland, massive arrests of N Koreans working abroad).
The point isn't that total war is the only way a nation state monopolizes force.
Continue this thread (1 replies) →
Continue this thread (2 replies) →
You don't need violence if you can fix things by yourself.
Continue this thread (1 replies) →
This was a global clownshow during the last compute season (cryptocurrency mining); what leads you believe this witch-hunt would be anymore successful?
It’s also important to note that P=NP doesn’t imply the algorithm for doing it isn’t a galactic algorithm so crypto might still remain secure albeit on shakier footing where there will be a race to shrink that cost.
If P=BQP we still have a problem for asymmetric encryption (P=NP also breaks symmetric).
Scott Aaronson claims he has specific knowledge that it’s related to cryptanalysis and not an immediate threat. This means you don’t have to handwring.
Replies (1)
I guess this comes down to the nature of time. Physics seems to really like its symmetries. And where it breaks them, it rarely considers time.
Replies (1)
Replies (2)
The comment below me got flagged for some reason but it seemed fine and I think worthy of a response. No, you can't claim mathematics is a superset of physics for a few reasons:
1. physics is literally defined by mathematical rules - there's no physics without math. Math without physics still exists. If something in the universe acted outside the rules of mathematics, physics would have to change what it looks like fundamentally and it's hard to think about what that means.
2. if #1 happens but we know math describes physics, then it would be an intersection where there are things that math can describe that can't happen in the universe and things that can happen in physics that math can't describe.
3. It's incorrect to state that math is a result of observations + assumptions. That's physics. Math is a set of axioms from which larger and larger rules of mathematics are defined. Physics happens to obey certain mathematical models.
So at best, math ends up intersecting reality but can't describe all reality but similarly reality probably can't hold all possible mathematical worlds.
The caveat is if everything that math represents ends up being a universe where there's an infinite number of universes - in that case it's possible math is a subset. But math is 100% not a subset of our universe.
Continue this thread (1 replies) →
Continue this thread (1 replies) →
Replies (2)
Replies (1)
Replies (1)
They have announced that they have made some kind of cryptography breakthrough, without saying which is that.
The results were communicated to some specialists in the post-quantum NIST standard at an invitation-only meeting, called "Lattice Frontier Workshop".
This looks as if one of the post-quantum algorithms currently standardized and in the process of being deployed everywhere might have already been broken.
If that were true, it remains to be seen whether the NIST standard could be fixed in any simple way.
Because there is no public information about what was presented by Anthropic, there is also the alternative interpretation that they did not break a post-quantum algorithm, but they broke RSA, and the meeting with the post-quantum specialists was to discuss how to accelerate the transition to post-quantum algorithms, but such an interpretation makes much less sense, because breaking RSA should have been discussed with other people, involved in the practical deployment of Internet protocols, not with cryptologists.
Replies (1)
I truly don't understand the motivation, unless they want to delay pq adoption in public standards. With their recent history of backdooring + "quantum-safe" algorithms regularly turning out to be neither quantum nor classically safe, pushing for pq-only seems more likely to derail open standards processes.
The NSA standards mandate that override those processes only apply to the systems where the NSA is more interested in defending rather than attacking them, so why weaken those? The "benefits" of pq-only outside of extremely resource constrained environments seem to be practically zero.
Replies (4)
I don't follow this argument.
The role of encryption is to protect something, no ?
In which case, what "insurance" is there if one of the two algorithms in broken (or weak) ? Our old friend Mallory can just read what Alice and Bob have been communicating via the broken algorithm ?
An equivalent would be a house with a bank-vault door on as a front door and a piece of cardboard as a door on the back ? What "insurance" is the cardboard door ?
Replies (2)
thing in a wooden box -> less vulnerable
thing in a metal box -> lot less vulnerable
thing in a wooden box in a metal box -> even less vulnerable, and still defends in case you spill gallium on the thing to dissolve the metal
Replies (2)
Continue this thread (1 replies) →
I get what you're saying, but then don't most people end up doing something like `HKDF(Algo1Key||Algo2Key)` ? And then using the derived key with a (potentially) weak algo ?
Or are there more people out there who actually do nested ciphers ? I would have thought it was a bit computationally unfeasible for large data ? Obviously no problem with small messages.
Continue this thread (2 replies) →
So far the only delays have been from people like djb who think non-hybrid schemas are unacceptable and have been trying to block adoption of them
Replies (1)
Replies (1)
Replies (1)
Or maybe the NSA already started building out it's own PQC key and protocol support and these hybrid schemes caught them off-guard in the sense of creating a change management nightmare (which is killer everywhere, but especially in sprawling government agencies).
Publicly, the NSA insists on creating the standard but claims it's only meant for internal government use. Privately, they bribe manufacturers[1] to make it the default in products other people use.
[1] https://www.reuters.com/article/world/exclusive-secret-contr...
Replies (1)