News for hackers. Stuff that matters.
Re:Encrypted Client Hello – the last puzzle piece to privacy by supriyo-biswas on Friday September 29, 2023 @12:24PM (#37706495)
I see a lot of confusion here, probably Cloudflare should have included an explanation of how ECH works in TFA instead of referring to their other article[1].

The difference between ECH and SNI is that while SNI includes the hostname in the ClientHello (the first TLS record indicating connection initiation), ECH includes an encrypted section in the ClientHello called ClientHelloInner, and the hostname is moved inside it.

The ClientHelloInner is encrypted using a public key made available over DNS, which is queried over DNS over HTTPS providers such as Google or Cloudflare DNS; plaintext DNS is avoided in order to prevent a MITM on the ClientHelloInner key.

Doing so prevents ISPs and governments from analyzing your traffic. However, a CDN operator such as Cloudflare terminates TLS for your website, and thus traffic would be visible to them either way.

Now, to the non-technical part of it: while ECH provides a significant privacy improvement, I personally am against its implementation. Most ISPs enforce country-specific orders to block domains using a combination of DNS packet interception and SNI inspection. The legitimacy or sanity of such laws are a separate matter - countries would want to block websites that violate their laws.

If we take away this last resort from governments, they would react by enforcing client side blocklisting and DRMization as suggested in France[2], or force root certificate installation using legislation[3], or blocking large swathes of the internet as is the case with China.

[1] https://blog.cloudflare.com/encrypted-client-hello/

[2] https://www.article19.org/resources/france-proposed-internet...

[3] https://en.wikipedia.org/wiki/Kazakhstan_man-in-the-middle_a...

Re:Encrypted Client Hello – the last puzzle piece to privacy by josephcsible on Friday September 29, 2023 @03:28PM (#37709041)
> while ECH provides a significant privacy improvement, I personally am against its implementation. Most ISPs enforce country-specific orders to block domains using a combination of DNS packet interception and SNI inspection. The legitimacy or sanity of such laws are a separate matter - countries would want to block websites that violate their laws.

That's exactly why I'm in favor of it: it makes effective censorship impossible.

> If we take away this last resort from governments, they would react by enforcing client side blocklisting and DRMization as suggested in France[2], or force root certificate installation using legislation[3]

Note that those plans both thankfully failed.

> or blocking large swathes of the internet as is the case with China.

No free country would tolerate that.

Re:Encrypted Client Hello – the last puzzle piece to privacy by ocdtrekkie on Friday September 29, 2023 @07:53PM (#37711504)
We will almost certainly block ECH at my work, as we already block DoH. I expect any sane network to do the same.

The natural alternative if blocking these protocols becomes unsustainable will absolutely be to require full decryption at our security edge. And that will provide drastically more information to us than we have now and will absolutely feel invasive.

The idea of uninspectable client traffic is somewhat unhinged, and is already heavily used by malicious actors.

Re:Encrypted Client Hello – the last puzzle piece to privacy by josephcsible on Friday September 29, 2023 @08:18PM (#37711671)
> I expect any sane network to do the same.

Why? Sane networks shouldn't block anything. Even super dangerous stuff like ports 135-139 and 445 are a morally gray area.

> The idea of uninspectable client traffic is somewhat unhinged, and is already heavily used by malicious actors.

How is privacy unhinged? Isn't that basically the same as the argument that we need to gut the Fourth Amendment because of terrorists and pedophiles?

Re:Encrypted Client Hello – the last puzzle piece to privacy by 4death4 on Friday September 29, 2023 @08:21PM (#37711699)
I don’t think morals factor in to the decision to allow / disallow traffic on a private network. That’s definitely morally neutral and to suggest otherwise is immoral.
Re:Encrypted Client Hello – the last puzzle piece to privacy by josephcsible on Friday September 29, 2023 @08:42PM (#37711802)
I didn't mean private networks. I meant the ISPs that do that.
Re:Encrypted Client Hello – the last puzzle piece to privacy by ocdtrekkie on Friday September 29, 2023 @08:43PM (#37711807)
ISPs are also private networks, unless operated by a government entity. And I would absolutely uphold the same expectation from an ISP as an organizational or personal network.
Re:Encrypted Client Hello – the last puzzle piece to privacy by d-z-m on Friday September 29, 2023 @11:27PM (#37712562)
> And I would absolutely uphold the same expectation from an ISP as an organizational or personal network.

No. ISPs provide internet service to customers who pay them for it. The entire situation is different. The ISPs are under no obligation to break and inspect encrypted traffic. Owners and operators of home and corporate networks have an entirely different(and justifiable) set of concerns.

Re:Encrypted Client Hello – the last puzzle piece to privacy by ocdtrekkie on Friday September 29, 2023 @08:24PM (#37711720)
I mean, considering the top users of many privacy focused apps is, in fact, pedophiles, I have a lot of issue with your absolute dismissiveness of the problem. (Hi, Session users!)

But beyond legal obligations which anyone permitting this over their network would be grossly negligent in meeting, there's simply no way to maintain a secure network with some idea what's going over it. If you want to notice mass exfiltration of private data (something you must do to protect people's privacy), you absolutely want to avoid making it impossible to distinguish different types of traffic and their destinations.

Whether it's a personal network, a corporate network, or a major backbone, it's ethically and morally obligatory to be able to classify behavior at least well enough to stop security issues and illegal activity. Cloudflare doesn't have this problem, or course, as it sees all the decrypted SNIs...

EDIT: In fact, before you go in defensive of this... answer this: Do you think Cloudflare will serve kiwifarms or switter over this? Or is this privacy and freedom strategy really just about centralizing control? Networks are supposed to be decentralized, each with different authorities. Perhaps the narrative of one big open Internet is one sold you to by people who are trying to be the only ones in control.

Re:Encrypted Client Hello – the last puzzle piece to privacy by josephcsible on Friday September 29, 2023 @08:45PM (#37711820)
By that logic, wouldn't every ISP have a moral obligation to MITM all of their customers' traffic? Obviously that's wrong.
Re:Encrypted Client Hello – the last puzzle piece to privacy by ocdtrekkie on Friday September 29, 2023 @08:53PM (#37711864)
SNI monitoring is a reasonable compromise, and I think a healthy one: Your ISP doesn't need to deep inspect your traffic to Microsoft because it accepts that Microsoft is doing something reasonable with it. It allows delegating authority which at least gives a path for investigation or blocking if necessary without seeking an extreme amount of transient information.

I would say if ECH is implemented the correct response would unfortunately be to MITM it if too many providers implement it to just block it entirely. I suspect large companies won't force it to maintain a wide customer base, and again, any reasonable network operator should just block anyone who does.

ISPs absolutely have all sorts of regulatory needs and network performance reasons to classify traffic. It's an unpopular view, but it's reality. (And I would encourage you to investigate who pays the people telling you otherwise, before someone links Mike Masnick here.)

Re:Encrypted Client Hello – the last puzzle piece to privacy by catiopatio on Friday September 29, 2023 @10:38PM (#37712343)
> SNI monitoring is a reasonable compromise, and I think a healthy one

No, it’s not.

ISPs have no right to know who I am speaking to or why.

Re:Encrypted Client Hello – the last puzzle piece to privacy by ocdtrekkie on Friday September 29, 2023 @11:07PM (#37712488)
I mean you have no right to use their networks either. You generally agree to terms as a condition of use of said networks.
Re:Encrypted Client Hello – the last puzzle piece to privacy by catiopatio on Friday September 29, 2023 @11:40PM (#37712598)
I didn’t agree to terms that require I provide them with plaintext traffic to analyze.
Re:Encrypted Client Hello – the last puzzle piece to privacy by madeofpalk on Friday September 29, 2023 @09:28PM (#37712036)
What is a "privacy focused app"?

Is Chrome, which aggressively supports and promotes HTTP a "privacy focused app"?

Re:Encrypted Client Hello – the last puzzle piece to privacy by jmprspret on Friday September 29, 2023 @10:06PM (#37712216)
> Why? Sane networks shouldn't block anything.

Huh? What? Ever had to administer a corporate network for non-tech staff? Malware is everywhere. People are stupid. AND my assumption on a corporate network has always been that you have no expectation of privacy - its a work network, don't use it for personal stuff! Pretty simple.

Re:Encrypted Client Hello – the last puzzle piece to privacy by josephcsible on Saturday September 30, 2023 @02:12AM (#37713149)
If it's really a corporate network, then the company will own the endpoints and can do the inspection there.
Re:Encrypted Client Hello – the last puzzle piece to privacy by 3np on Saturday September 30, 2023 @05:30AM (#37713907)
Not meaningfully so with ECH, the whole point of this subthread.
Re:Encrypted Client Hello – the last puzzle piece to privacy by capitainenemo on Saturday September 30, 2023 @08:19AM (#37714751)
Corporate networks often use MITM master certs that employee browsers must accept.
Re:Encrypted Client Hello – the last puzzle piece to privacy by josephcsible on Saturday September 30, 2023 @10:59AM (#37716057)
ECH only makes network-level monitoring harder. Monitoring on the endpoint is still just as easy.
Re:Encrypted Client Hello – the last puzzle piece to privacy by Aaargh20318 on Saturday September 30, 2023 @07:15AM (#37714356)
> my assumption on a corporate network has always been that you have no expectation of privacy

That certainly isn’t true in the EU. You cannot spy on employees computers without a cause.

Re:Encrypted Client Hello – the last puzzle piece to privacy by EVa5I7bHFq9mnYK on Saturday September 30, 2023 @01:28AM (#37712993)
"Malicious actors" are employees trying to visit instagram from work, right?
Re:Encrypted Client Hello – the last puzzle piece to privacy by ocdtrekkie on Saturday September 30, 2023 @01:51AM (#37713072)
No. https://www.bleepingcomputer.com/news/security/hackers-incre...

The problem is that what starts as a strong desire to conduct copyright infringement (or sure, some light personal web browsing on work computers) along with a dash of free speech extremism, has turned into a militant expectation of very handy passageways for actual crimes.

Re:Encrypted Client Hello – the last puzzle piece to privacy by eddythompson80 on Saturday September 30, 2023 @01:55AM (#37713083)
I think they mean malware. Ransomware for example. Nothing wrong about locking a network down in general. Work network doesn’t have to be an open, all things go, network just so employees can instagram. Heck, there are organizations with air-gaped networks for very good reasons.

Instagram on your phone while at work. Don’t expect privacy on managed work machines. You company can see your emails. They can install CA on your managed machine and MITM your https traffic.

I hate the trend of also managing personal devices. But I get that it’s a complicated subject.

Re:Encrypted Client Hello – the last puzzle piece to privacy by 8n4vidtmkvmk on Saturday September 30, 2023 @03:08PM (#37718688)
I'll be worried when I hear the first case of an employee getting in trouble for doing something innocent on corpnet. Right now I assume they can see everything while using one of their devices or on their network but they never bug us about it. They seem mostly interested in stopping malware/leaks, which seems quite reasonable.
Re:Encrypted Client Hello – the last puzzle piece to privacy by ocdtrekkie on Sunday October 01, 2023 @11:13PM (#37733540)
As the grandparent of this thread, I can definitely say I don't care about personal browsing on work computers. I consider that an HR issue (if it impacts their ability to do their job), not an IT issue. The ability to manage network traffic comes entirely from maintaining a secure and functional network.
Re:Encrypted Client Hello – the last puzzle piece to privacy by EVa5I7bHFq9mnYK on Sunday October 01, 2023 @01:54PM (#37728538)
MITM can't prevent leakage for a determined spy or insider trader. I worked at a bank, they blocked FB etc with a blacklist, but it was very easy to circumvent. Whitelist might work, but it would create too much management headache.
Re:Encrypted Client Hello – the last puzzle piece to privacy by tick_tock_tick on Friday September 29, 2023 @10:57PM (#37712430)
> No free country would tolerate that.

Most of Europe will.

Re:Encrypted Client Hello – the last puzzle piece to privacy by minerva23 on Saturday September 30, 2023 @04:23AM (#37713595)
> No free country would tolerate tha

Which countries do you have in mind?

I know a lot of Americans talk that way about America, but America tolerates quite a bit of government censorship (DMCA/SLAP), privacy violations (NSA/TSA), and civil rights violations (prison slaves, war on drugs).

Re:Encrypted Client Hello – the last puzzle piece to privacy by silverwind on Friday September 29, 2023 @05:14PM (#37710151)
Why is DNS required to encrypt a TLS handshake? Why are there two SNIs in a ClientHello?

ECH seems like a overengineered implementation when they could just have released TLS 1.4 which encrypts that section of the handshake.

Re:Encrypted Client Hello – the last puzzle piece to privacy by stefan_ on Friday September 29, 2023 @06:06PM (#37710662)
How do you "just encrypt it"? Encryption in TLS starts after you have verified who you are talking to via the certificate, otherwise you might just be doing encryption with whoever happens to MITM you. However to do the verification, the server must know what domain you are actually trying to reach - hence the SNI. This is why there is the DNS side channel.
Re:Encrypted Client Hello – the last puzzle piece to privacy by andrewaylett on Friday September 29, 2023 @06:08PM (#37710678)
Bootstrapping the encryption is a problem: until you've run the handshake, you don't have a key with which you could encrypt the handshake. And you don't want the key to live for too long, so folk are going to end up trying to use expired keys.

Between the article and the linked introduction, all of what you are looking for is explained.

Re:Encrypted Client Hello – the last puzzle piece to privacy by tialaramex on Friday September 29, 2023 @07:43PM (#37711438)
Other people already explained that there's a bootstrap problem which prohibits "just encrypt that section of the handshake".

But the two SNIs are because of GREASE particularly. They might be avoided if you didn't want to enable GREASE, but we definitely want GREASE.

The idea of GREASE is, whenever we might want to do something that's visible to third parties, we must sometimes do it anyway, at least as much as they can tell, so as to ensure they tolerate this when it happens so that when we did want it we can do it successfully.

For example GREASE extensions are just nonsense extensions you propose in a TLS connection today. Chrome does this. "Hey server, can you do BINGLE BONGLE?" and of course your server doesn't do BINGLE BONGLE because that's nonsense, but to a "Security device" which is "Inspecting TLS connections as part of our Next Generation Firewall Technology" it seems like maybe we want to do BINGLE BONGLE. How should it react? Well, it should do nothing because the specification is clear that if you don't understand what is said you should ignore it, but without GREASE we know in SSL, and TLS 1.0, TLS 1.1 and TLS 1.1 these devices would freak out for each new extension.

1.6GB of customer personal information in a CSV file POSTed to a competitor's Dropbox? Fine. Your web browser wanted to use NEW FEATURE? Alert! Attack detected - lock down the network, summon armed guards! So hence the invention of GREASE.

For ECH GREASE works by just always pretending we're doing ECH. If we want to talk to old-web-site.example we send an outer SNI of old-web-site.example and it doesn't matter what our inner SNI is, it can be random nonsense encrypted to nobody, because old-web-site don't use ECH anyway.

If we want to talk to ech-enabled-site.example our browser discovers oh, here's a key for ECH for ech-enabled-site.example and it says we should ask to talk to boring.example, so the browser encrypts the inner SNI of ech-enabled-site.example with the key, and provides an outer SNI of boring.example.

In both cases this looks the same to snoops, there's an outer SNI they can read and an inner SNI they can't read. Which is genuine? No way for them to know. But the server knows easily.

Re:Encrypted Client Hello – the last puzzle piece to privacy by 1vuio0pswjnm7 on Friday September 29, 2023 @07:51PM (#37711486)
"I see a lot of confusion here, probably Clouflare should have included an explanation of how ECH works in TFA instead of referring to their other article[1]."

Even better would be to explain why SNI exists. This in turn explains why CDNs like Cloudflare are interested in it. SNI allows CDNs to do business on a www where HTTPS is increasinglty mandatory for every website. With respect to the "privacy" of TLS it is peculiar to put ISPs and governments in one category and CDNs in another. If ISPs (without ECH) or CDNs (with or without ECH) are getting a list of every domain the user visits, then governments can get the same list by requesting it from the ISP or CDN.

The question, IMHO, is whether there are other possible technical solutions besides TLS SNI to allow multiple HTTPS sites to be hosted on the same IP. Is it possible to obviate the need to use a third party such as a CDN to solve this problem. Is it possible to obviate the need for duct tape solutions like ECH. ECH is proposed as a solution for the "plaintext domain names over the wire" problem. But that problem only exists because it's created by the use of SNI. And SNI exists to enable one to host multiple HTTPS sites on the same IP. Today, CDNs are the primary benefactors of SNI. They host 10s or 100s of 1000s of HTTPS sites on a limited number of IPs. These are the primary users and benefactors of SNI.

For example, consider this prototype, which some believe inspired the advertising company-sposonsored "QUIC":

https://curvecp.org/addressing.html

"An ISP or site administrator can easily run a huge number of CurveCP servers on a single global IPv4 address, even if the servers are independently operated with separate long-term public keys. This feature is provided by a simple extension mechanism in CurveCP addresses.

CurveCP servers are inherently anti-aliased, providing automatic virtual hosting and fixing some of the deficiencies in the "same-origin" policy in web browsers. This feature is provided by a simple domain-name mechanism in CurveCP addresses. If a site has two server addresses, and one server is down, a CurveCP client will quickly connect to the other address.

A CurveCP connection remains fully functional even if the client changes IP address.

CurveCP is fully compatible with existing NAT (network address translation) mechanisms; none of the above features require clients or servers to know the global addresses of their gateways."

Re:Encrypted Client Hello – the last puzzle piece to privacy by xg15 on Friday September 29, 2023 @08:13PM (#37711637)
> Now, to the non-technical part of it: while ECH provides a significant privacy improvement, I personally am against its implementation. Most ISPs enforce country-specific orders to block domains using a combination of DNS packet interception and SNI inspection. The legitimacy or sanity of such laws are a separate matter - countries would want to block websites that violate their laws.

You don't even have to start with governments. ECH can just as well be used by trackers/ads/app telemetry etc to stop you from blocking them via Pihole.

Re:Encrypted Client Hello – the last puzzle piece to privacy by josephcsible on Friday September 29, 2023 @08:31PM (#37711755)
No it can't. If it's in a browser, then extensions can still block it, and if it's in an app, then they could make it unblockable without needing DoH or ECH just by putting the trackers/ads/app telemetry on the same domain as the rest of what the app uses.
Re:Encrypted Client Hello – the last puzzle piece to privacy by dharmab on Friday September 29, 2023 @08:23PM (#37711708)
If you control the client you can block trackers there, such as Brave and Orion do natively.
Re:Encrypted Client Hello – the last puzzle piece to privacy by 4death4 on Friday September 29, 2023 @08:20PM (#37711688)
Your pihole could MITM the traffic. It doesn’t need unencrypted SNI to work.
Re:Encrypted Client Hello – the last puzzle piece to privacy by ceilingcat0 on Friday September 29, 2023 @08:27PM (#37711733)
They're going to resort to blocking IPs and not caring about collateral damage and force CDNs and anyone running multi tenant to turn the specific site targeted off or move them onto a separate pool of IPs that is easily blockable.
Re:Encrypted Client Hello – the last puzzle piece to privacy by josephcsible on Friday September 29, 2023 @08:30PM (#37711745)
The hope is that the CDNs explicitly refuse to do that, so that the collateral damage leads to pressure that forces the censor to relent.
Re:Encrypted Client Hello – the last puzzle piece to privacy by jiggawatts on Friday September 29, 2023 @10:44PM (#37712370)
Narrator: they didn't relent.

Do you think for a second anyone in power in China, Russia, or North Korea care if some random 20-year-old kid can access English-language sites or not?

Re:Encrypted Client Hello – the last puzzle piece to privacy by josephcsible on Saturday September 30, 2023 @02:11AM (#37713141)
I know North Korea is happy to cut off the entire rest of the world, but even China and Russia are not.
Re:Encrypted Client Hello – the last puzzle piece to privacy by justsomehnguy on Saturday September 30, 2023 @11:23AM (#37716297)
For China your 'entire rest of the world' ie US + Europe is less than China population.
Re:Encrypted Client Hello – the last puzzle piece to privacy by shaky-carrousel on Friday October 06, 2023 @12:11PM (#37792642)
Then we'll massively switch to VPNs, like Russians do.
Re:Encrypted Client Hello – the last puzzle piece to privacy by costco on Friday September 29, 2023 @08:56PM (#37711874)
> If we take away this last resort from governments, they would react by enforcing client side blocklisting and DRMization as suggested in France[2], or force root certificate installation using legislation[3], or blocking large swathes of the internet as is the case with China.

Not every government has the leverage, capability or power to do this. Client side blacklisting will be trivially circumvented if it actually goes into effect. The browser vendors all rejected the proposed Kazakh root certificate. And plenty of countries with pervasive Internet censorship don't have enough of a "domestic internet" to block large numbers of websites without a lot of people getting upset.

Re:Encrypted Client Hello – the last puzzle piece to privacy by ignoramous on Friday September 29, 2023 @09:44PM (#37712121)
> plaintext DNS is avoided in order to prevent a MITM on the ClientHelloInner key.

Is MiTM possible unless the attacker is in possession of a sufficiently advanced quantum computer? What's published as HTTPS/SVCB record is the public part of the key. Afaik, DNSSEC isn't even a requirement for zones publishing HTTPS/SVCB ECH records?

> Doing so prevents ISPs and governments from analyzing your traffic.

Don't think traffic analysis is thwarted. ECH plugs inspection of the only plaintext bits in TLS, which is not only abused by censors, but also by various 'well-meaning' middleware that made bringing upgrades to TLSv1.3 a nightmare.

> If we take away this last resort from governments...

You mention GFW, and we got GFW without ECH. Governments will government, nothing will stop them. That shouldn't stop us from shoring up our side of the equation. Because by that logic, Meta shouldn't e2ee WhatsApp or Browsers shouldn't OCSP / CRL. In fact, not having those sound scary to me; because governments aren't the only power hungry actor around. It wasn't long ago Meta was caught spying on the users of its data saver VPN (Onavo) for half a decade, if not more.

Re:Encrypted Client Hello – the last puzzle piece to privacy by Obscurity4340 on Friday September 29, 2023 @09:56PM (#37712179)
Can someone chime in with how quantum computers effectively at least double the output of traditional "classical" computers? I legitimately don't understand why its not easier and in some bottom-line sense cheaper just to like double up your (classical) computing power. What is it about QC that's so damn sepcial when you could theoretically achieve the same maximal idealized output with a simple increase in classical inputs?

It seems with QC, there's this collective magical thinking that they offer this magical free lunch that is inaccessable via more traditional means. I don't get what the seemingly non-existent tradeoffs or optimizations that are being made to achieve this...

Re:Encrypted Client Hello – the last puzzle piece to privacy by infinityio on Friday September 29, 2023 @10:58PM (#37712441)
I'm speaking in very abstract terms as a non-expert, but the critical distinction in this case is that prime factorisation (the basic underpinnings of RSA / similar encryption) is known to be an NP problem (more precisely - sub-exponential) for a classical computer but is polynomial for a quantum computer

To achieve the same computing power on a classical computer, it would need to be exponentially more powerful - this is because (abstracting heavily) the quantum computer can test all possible inputs to a function at once, where a classical computer must test them one at a time

Re:Encrypted Client Hello – the last puzzle piece to privacy by Obscurity4340 on Saturday September 30, 2023 @12:05AM (#37712691)
Weren't some of these widespread conventions in some sense strategically designed or implemented in such a way as to ensure backdoors and/or contrived vulnerabillities? Something, something purposefully smaller key sizes or special "weaker" variables than was practicable or other trickery that always ostensibly has an economic or other seemingly justifiable underpinning but introduces unacceptable security compromises that arise later and predictably.
Re:Encrypted Client Hello – the last puzzle piece to privacy by infinityio on Saturday September 30, 2023 @06:57AM (#37714269)
Historically there have been restrictions on key size (and bad algorithms) - to my knowledge, neither is currently the case: there is no known way to break a 2048-bit RSA key (although if there was, we probably wouldn't know about it)
Re:Encrypted Client Hello – the last puzzle piece to privacy by missingrib on Friday September 29, 2023 @11:03PM (#37712467)
Algorithms have been developed for quantum computers that could be potentially effective at breaking public key cryptosystems whose security relies on the difficulty of solving certain math problems on classical computers. In particular, the discrete logarithm problem and integer factorization of very large numbers: https://en.wikipedia.org/wiki/Shor%27s_algorithm.

There are no quantum computers large enough to even come close to attempting this, and there's a question about whether it's ever going to be physically possible to build a quantum computer large enough to actually attack something like a TLS key exchange in real time. Classical computers are equally as fast/faster at other tasks.

Re:Encrypted Client Hello – the last puzzle piece to privacy by Obscurity4340 on Friday September 29, 2023 @11:58PM (#37712658)
Is it a fair conjecture that in some sense there's an issue with cryptographer's trying to push the field in terms of the efficacy and robustness of encryption forward while "the government"s continually work all manner of trickery to hamper these efforts in subtle and not-so-subtle but gag-ordered-enforced ways?

I feel like there's this constant ridiculous pushback on any digital product or protocol or service being air-tight cryptographically and implementationally speaking when they can basically already build air-tight cases via parallel construction with the help of the infinite resources available upon (often not even) receipt of a warrant?

Its very strange. The obsession is always on completely neutering/compromising the technology and never on actually doing the damn police work they are enpowered to approach laterally like they did before typewriters and telephones/wire-taps or bending the providions of constitutions they swore to protect and enforce until its a simulacrum of its original concept.

Like, it always comes across as they feel that their entire case is lost if they can only prove something 5 different ways instead of 6. It wouldn't be so problematic if humans weren't so human and law enforcement wasn't emphatically staffed by humans who are liable to abuse things to maximize their money, power, and prestige and have the absolute or qualified immunity to get away with it at least once regardless of how it damages the targets of their misconduct.

Re:Encrypted Client Hello – the last puzzle piece to privacy by upofadown on Saturday September 30, 2023 @07:18AM (#37714371)
>Like, it always comes across as they feel that their entire case is lost if they can only prove something 5 different ways instead of 6.

There are a lot of crimes these days without a complainant. The sale and consumption of illegal drugs for instance. Surveillance can be very important in discovering the crime in the first place.

It's like asking someone to help you with your diet and then becoming upset when they invade your privacy by looking in your kitchen cupboards and fridge. We have in a sense brought this on ourselves by passing laws intended to protect us from ourselves.

Re:Encrypted Client Hello – the last puzzle piece to privacy by dcow on Saturday September 30, 2023 @11:24AM (#37716313)
Did anybody ask governments to “help with diet” though? It feels more like governments in their ever expanding power struggle decided diets needed to be fixed even though nobody complained about them and then decided that the ends justify any means.
Re:Encrypted Client Hello – the last puzzle piece to privacy by msm_ on Friday September 29, 2023 @11:16PM (#37712527)
>Can someone chime in with how quantum computers effectively at least double the output of traditional "classical" computers?

In general: Quantum computers halve the search space, not speed, so for example quantum computer needs 2^128 operations to bruteforce 2^256 keys [1]

In case of non quantum resistant algorithms (for example RSA or most other popular algorithms today): there are algorithms that offer exponential speedup, where even a slow (in terms of number of operations/second) quantum computer will easily outperform a classical comoputer

[1]: Grover's algorithm. I'm oversimplifying a bit.

Re:Encrypted Client Hello – the last puzzle piece to privacy by nmadden on Saturday September 30, 2023 @02:58AM (#37713308)
Quibble: Half of 2^256 is 2^255. Grover’s algorithm “square-roots” the search space.
Re:Encrypted Client Hello – the last puzzle piece to privacy by gizmo686 on Saturday September 30, 2023 @12:18AM (#37712742)
The general purpose quantum magic is Grover's algorith https://en.m.wikipedia.org/wiki/Grover%27s_algorithm.

Grover's algorithm is a general solution to the search problem. Given an arbitrary (computable) function f: X -> Y, and a desired value y in the codomain, find a value x such f(x) = y. For the sake of simplicity, assume that x is unique (although a Grover's algorithm can be extenef to not have this constraint).

Let N be the size of the domain X. On a classical computer, without any additional information, the optimal solution is to simply iterate through X trying inputs until you find the correct one. On average you will need to evaluate f on half the possible inputs, which is N/2. In the worst case, you need to try all N.

Using Grover's algorithm, you can solve the problem with only sqrt(N) invocations of f, which is a quadratic speed up compared with classical computers.

Applying this to encryption keys: for a keylenth of n, we have 2^n possible keys. Classically speaking, you would need to try decrypting (2^n)/2 = 2^(n-1) times. But with Grover's algorithm, you can find the correct key after decrypting judt sqrt(2^n) = 2^(n/2) times, which is the classical worst case for a key of half the length. Note that this is still exponential in the size of the key, so is not a fundamental game changer.

This has nothing to do with prime factoring or the discrete log problem. Those have even better quantum algorithms (Shor's) that can solve them in polynomial time, which would be a major game changer if they ever become practical.

Re:Encrypted Client Hello – the last puzzle piece to privacy by Groxx on Friday September 29, 2023 @11:48PM (#37712616)
I think the remark is because: MITM would allow them to spoof the DNS response entirely, so they can replace it with whatever key they want. Doesn't matter what level of security the key claims at that point, it's attacker-controlled and they can just read whatever you send next.
Re:Encrypted Client Hello – the last puzzle piece to privacy by jacooper on Sunday October 01, 2023 @06:20AM (#37724505)
This wouldn't be possible with dnssec right?
Re:Encrypted Client Hello – the last puzzle piece to privacy by Anunayj on Monday October 02, 2023 @12:46AM (#37734092)
Yes, however it defeats one of the main point of ECH, that is encrypting the SNI. Since the domain is leaked in plaintext DNS.
Re:Encrypted Client Hello – the last puzzle piece to privacy by jacooper on Monday October 02, 2023 @09:04AM (#37737538)
Why? You can just use DNS-over-TLS/HTTPS + dnssec + ECH + TLSv1.3 and then you should have a unblockable website(outside of IP address bans).
Re:Encrypted Client Hello – the last puzzle piece to privacy by Anunayj on Wednesday October 04, 2023 @03:35PM (#37770443)
Ah yes, sorry I thought you meant can't we just use plaintext DNS + DNSSEC.
Re:Encrypted Client Hello – the last puzzle piece to privacy by mwwaters on Wednesday October 04, 2023 @01:34AM (#37761185)
I think the DNS key is only for the handshake to provide the certificate for the actual key. Without a certificate from a CA for second part, all the spoofed DNS key would get is what website they were trying to visit.
Re:Encrypted Client Hello – the last puzzle piece to privacy by tialaramex on Saturday September 30, 2023 @06:23AM (#37714132)
> If we take away this last resort from governments, they would [...]

Appeasement doesn't work. Maybe it's easier to remember that if you're British and so you had to watch Chamberlain's "Peace for our time" news reel in history class. The British Prime Minister, Neville Chamberlain, negotiated a deal with rising star German Chancellor Adolf Hitler, you've heard of him. Hitler agreed that Germany wouldn't start a massive European war in exchange for the British turning a blind eye to smaller wars he'd already started.

You may never have heard of Chamberlain, because it turns out that piece of paper with Hitler's signature on it was worth precisely what you'd expect, and we needed an actual War Prime Minister soon enough.

Now, the argument for appeasement is that sure, it doesn't actually work but it buys time. This is wrong because your opponents have the same extra time and they know precisely what they're doing whereas you're expending resources pretending (even if you correctly believe the appeasement won't work) that appeasement works.

Re:Encrypted Client Hello – the last puzzle piece to privacy by intelVISA on Saturday September 30, 2023 @07:28AM (#37714428)
> Doing so prevents ISPs and governments from analyzing your traffic. However, a CDN operator such as Cloudflare terminates TLS for your website, and thus traffic would be visible to them either way.

Cloudflare adopts the similar predatory Google posture of "we really really care about your privacy - nobody else should spy on you but us". Creepy!!

Re:Encrypted Client Hello – the last puzzle piece to privacy by vinay_ys on Saturday September 30, 2023 @10:28AM (#37715770)
Well, not exactly. They are making privacy improvements in open standard protocols that you are free to use without using their service.
Re:Encrypted Client Hello – the last puzzle piece to privacy by tgsovlerkhgsel on Saturday September 30, 2023 @09:25AM (#37715239)
I disagree vehemently about this:

> If we take away this last resort from governments, they would react by enforcing client side blocklisting and DRMization as suggested in France[2], or force root certificate installation using legislation[3], or blocking large swathes of the internet as is the case with China.

You left out the fourth option, which is give up on their censorship aspirations. For most countries, censorship isn't important, and making it too hard will simply make it not worth it. China is of course different.

Most countries made entirely ineffective laws and didn't bother following up.