News for hackers. Stuff that matters.
Re:Let's Not Encrypt (2019) by jrockway on Tuesday October 14, 2025 @10:11AM (#45580233)
I think that if we didn't do TLS, every ISP would be injecting ads into websites these days. Making it difficult for middle-of-the-road interlopers is a good thing. ISPs don't want the customer service burden of proxy configurations and custom certs (god knows your IT department hates the support aspect of this tampering), so TLS keeps us free of excessive advertising. (Of course, they like do tampering with DNS which is why we have to do DNS-over-HTTPS. If you make it easy to tamper with your traffic, your ISP has a good business case to tamper with your traffic. Sad but true.)

I'm not as convinced as the author is that nation states can easily tamper with certificates these days. I am not sure how much CT checking we do before each page load, but either nation states are compelling the issue of certs that aren't in the CT database, or they are and you can just get a list of who the nation states are spying on. Seems like less of a problem than it was a decade ago.

The author seems to miss the one guarantee that certificates provide; "the same people that controlled this site on $ISSUANCE_DATE control the site right now". That can be a useful guarantee.

Re:Let's Not Encrypt (2019) by pavel_lishin on Tuesday October 14, 2025 @10:15AM (#45580278)
We had this happen to us at work, once.

We were working on some feature for a client's website, and suddenly things started breaking. We eventually tracked it down to some shoddy HTML + Javascript being on our page that we certainly didn't put there, and further investigation revealed that our ISP - whom we were paying for a business connection - was just slapping a fucking banner ad on most of the pages that were being served.

This was around ... 2008? I wonder if they were injecting it into AJAX responses, too.

My boss called them up and chewed them several new assholes, and the banner was gone by afternoon.

Re:Let's Not Encrypt (2019) by brightball on Tuesday October 14, 2025 @10:35AM (#45580568)
I don't know what the official name for the phenomena is where you widely experience a huge problem, the market reacts to fix the problem almost completely, people who never experienced the problem in the first place because the world before them solved it begin to complain about the solution, people defending the solution are mocked by people who have no context, the solution is rolled back and all the people who did it are happy with their win for a brief moment in time, then the original problem comes back in force but all of the walls put up to tear down the original solution make it 1000x harder to fix.

I feel like there needs to be a name for this. For now, "Those who do not learn from history are doomed to repeat it." is the most apt I think.

Happens constantly when you're essentially born on 3rd base. Maybe that's the proper name. Born on 3rd Base Syndrome.

Re:Let's Not Encrypt (2019) by schoen on Tuesday October 14, 2025 @11:20AM (#45581112)
I think you want the Preparedness Paradox.

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

Re:Let's Not Encrypt (2019) by brightball on Tuesday October 14, 2025 @11:32AM (#45581266)
That one is good as well. I think the combination of this and Chesterton's Fence really capture it well.
Re:Let's Not Encrypt (2019) by sd9 on Tuesday October 14, 2025 @10:37AM (#45580604)
Chesterton's Fence?
Re:Let's Not Encrypt (2019) by charles_f on Tuesday October 14, 2025 @11:50AM (#45581481)
Oooh didn't know but I like that. "if you can't explain what the fence is doing i won't let you remove it", makes for a great refactoring principle!
Re:Let's Not Encrypt (2019) by brightball on Tuesday October 14, 2025 @10:39AM (#45580625)
That probably covers it, yes. Thank you.
Re:Let's Not Encrypt (2019) by supportengineer on Tuesday October 14, 2025 @10:38AM (#45580611)
Is this about vaccines?
Re:Let's Not Encrypt (2019) by brightball on Tuesday October 14, 2025 @10:41AM (#45580652)
Ha! No, it wasn't intended to be. Applies to a lot of different things though.
Re:Let's Not Encrypt (2019) by DemocracyFTW2 on Tuesday October 14, 2025 @01:52PM (#45582848)
I was going to say exactly this: people get sick, a vaccine is born, people get less sick, the vaccination practice gets established, the sickness vanishes. Then efforts maybe slump because the perception of danger and living memory of the sickness have largely left the building, and then those with baseless claims against the vaccine rear their heads and gain more followers. Now you have an under-vaccinated populace with ever fewer vaccinated people and the sickness can spread again, even more fervently than it could have originally, because younger folks have never experienced the virus live and are too often not vaccinated.
Re:Let's Not Encrypt (2019) by schoen on Tuesday October 14, 2025 @09:02PM (#45586891)
Yeah, I think this can really happen, and it's just about the heart of the preparedness paradox, a term that I mentioned somewhere else in this thread.

I've often said that my grandmother was so grateful for all the childhood vaccines that came out during my mom's and my aunt's childhoods, or around that time (the Baby Boom era), because my grandmother really concretely saw how terrible some of those diseases were, with people in her generation actually contracting them in childhood, maybe even dying of them. But if you've really never seen them, it's pretty natural that they start to seem like something that barely even exists at all.

Like, I don't even know the different between typhus and typhoid, or what their symptoms are, or what you actually do to prevent them, or exactly how they're spread, or whether they've been eradicated in certain regions or whatever (or even whether there are any vaccines against them or whether or not I've personally received those vaccines in infancy!). I just barely have a vague sense that these are truly awful things that apparently exist in the world, probably relate to water contamination somehow, and may potentially come back in war zones or disaster zones. (Way to go, people who do ... something? ... to prevent those two!)

Re:Let's Not Encrypt (2019) by slowmovintarget on Tuesday October 14, 2025 @01:03PM (#45582385)
Re:Let's Not Encrypt (2019) by benjiro on Tuesday October 14, 2025 @10:44AM (#45580688)
> suddenly things started breaking. We eventually tracked it down

Amateur level ... Around 2006, we enjoyed some clients complaining why information on our CMS was being duplicated.

No matter what we did, there was no duplication on our end. So we started to trace the actions from the from the client (inc browser, ip etc). And low and behold, we got one action coming from the client, and another from a different IP source.

After tracing back the IP, it was a anti virus company. We installed the software on a test system, and ... Yep, the assh** duplicated every action, inc browser settings, session, you name it.

Total and complete mimic beyond the IP. So any action the user did + the information of the page, was send to their servers for "analyzing".

Little issue ... This was not from the public part of our CMS but the HTTPS protected admin pages!

Sure, our fault for not validating the session with extra IP checks but we did not expect the (admin only) session to leak out from a HTTPS connection.

So we tried to see if they reacted to login attempts at several bank pages. O, yes, they send the freaking passwords etc. We tried on a unused bank account, o, look, it was duplicating bank actions (again, bank at fault for not properly checking the session / ip).

It only failed on a bank transfer because the token for authorization was different on their side, vs our request.

You can imagine that we had a rather, how to say, less then polite talks / conversation with the software team behind that anti-virus. They "fixed it" in a new release. Did they remove the whole tracking? Nowp, they just removed the code for the session stealing if the connection was secure.

O, and the answer to why they did it. "it a bug" (yea, right, your mimic a total user behavior, and its a "bug"). Translation: Legal got up their behinds for that crap and they wanted to avoid legal issues with what they did.

Remember folks, if its free your the product. And when its paid, you are often STILL the product. And yes, that was a paid anti-virus "online protection". And people question why i never run any anti-virus software beyond a off-line scan from time to time, and have Windows "online" protections disabled.

Companies just can not stop themselves from being greedy. Same reason why i NEVER use Windows 11... You expect if you paid for Windows, Office or whatever, to not be the product, but hey ...

Re:Let's Not Encrypt (2019) by sehugg on Tuesday October 14, 2025 @10:35AM (#45580567)
Haha, yeah this kind of stuff made HTTP long polling requests over mobile pretty fun. IIRC, we ran HTTP over IMAP and POP3 ports for cases where port 80 was unreliable.
Re:Let's Not Encrypt (2019) by jabroni_salad on Tuesday October 14, 2025 @10:21AM (#45580361)
My ISP (Mediacom) appears to have a deal with certain websites to display service messages. The only two I've encountered it on is Amazon and Facebook but they are somehow able to insert a maintenance banner at the top of those two when downtime is anticipated or if I am near the end of my bandwidth quota. Haven't gotten any ads this way but they have the technology.
Re:Let's Not Encrypt (2019) by Philip-J-Fry on Tuesday October 14, 2025 @10:35AM (#45580577)
Pretty sure this is done on your router. They terminate TLS on your router, inject their malware and then re-encrypt.
Re:Let's Not Encrypt (2019) by notpushkin on Tuesday October 14, 2025 @10:38AM (#45580621)
> and then re-encrypt

How?

Re:Let's Not Encrypt (2019) by tialaramex on Tuesday October 14, 2025 @10:51AM (#45580798)
One thing you can arrange is "Oh, you need to trust our Router's security thing" and so you're adding a new private root CA trust, then they "just" issue CA certs which they've arranged for you to trust. This is commonly how corporate and institutional systems are set up, it's a terrible idea but it's very common.

One thing that helps drive it away at work is that we're a University, and essentially all the world's universities have a common authenticated WiFi (because students and perhaps more importantly, academics, just travel from one to another and expect stuff to work, if you got a degree in the last 20 or so years you likely used this, eduroam) but obviously they don't trust each other on this stuff so their sites all use the Web PKI, the same public trust as everybody else, internal stuff might not, but the moment you're asking some History professor to manually install a certificate you might as well assign them a dedicated IT person, so, everything facing ordinary users has public certs from, of course, Let's Encrypt.

Edited to name eduroam specifically.

Re:Let's Not Encrypt (2019) by notpushkin on Tuesday October 14, 2025 @12:40PM (#45582101)
> This is commonly how corporate and institutional systems are set up, it's a terrible idea but it's very common.

Tbh makes it kinda sense for those systems, when used only with internal tools and on company devices... but yeah I’d just (of course) Let’s Encrypt if I was setting it up for a client.

Re:Let's Not Encrypt (2019) by BrandoElFollito on Wednesday October 15, 2025 @06:34AM (#45590401)
Wrong information removed - you were right, I was wrong. I apologize.
Re:Let's Not Encrypt (2019) by kalleboo on Wednesday October 15, 2025 @07:05AM (#45590637)
You've never seen eduroam? https://en.wikipedia.org/wiki/Eduroam
Re:Let's Not Encrypt (2019) by BrandoElFollito on Wednesday October 15, 2025 @07:09AM (#45590664)
No - I have visited two universities in the past month in France and each of them has its own Wi-Fi logins and passwords. And then one more a few months ago in Poland.

AHHHH - I just called a friend of mine at one of the French schools. He told me that this is for researchers only and thsi is why I was given another (permanent) access.

I stand corrected and I apologize. This is actually awesome. Working in the field, this is probably one of the most interesting deployments I have seen over many years and I will have a close look at it now.

Re:Let's Not Encrypt (2019) by jabroni_salad on Tuesday October 14, 2025 @10:41AM (#45580658)
I use an older ubiquiti edgerouter X so that would be pretty impressive.
Re:Let's Not Encrypt (2019) by akerl_ on Tuesday October 14, 2025 @12:39PM (#45582091)
The only ways I can think of where this would be possible is if:

1. You're somehow connecting to Facebook and Amazon over HTTP, not HTTPS

2. Your browser has an extension from your ISP installed that's interfering with content

3. You've trusted a root CA from your ISP in your browser's trust store

Re:Let's Not Encrypt (2019) by navigate8310 on Tuesday October 14, 2025 @10:29AM (#45580482)
This was common back in the early 2010s with Indian ISPs as well, particularly the state-controlled BSNL.
Re:Let's Not Encrypt (2019) by dunham on Tuesday October 14, 2025 @10:27AM (#45580459)
Our app reports all of the runtime exceptions to the server. We had one years ago (maybe before 2008) that was caused by somebody's "toolbar" replacing a method like Element.appendChild with one that sometimes crashed.

This inspired me to add a list of all script tags to error reports.

Re:Let's Not Encrypt (2019) by nurettin on Tuesday October 14, 2025 @10:23AM (#45580396)
The modern version of that is brave or ublock or screen reader extensions or spyware inserting JS or data attributes which leads to user complaints. We don't need ISPs hacking lines, people do it to themselves when they sign up to shady sms services on download sites.
Re:Let's Not Encrypt (2019) by nasretdinov on Tuesday October 14, 2025 @10:22AM (#45580371)
I remember when Wi-Fi was first introduced in Moscow metro system (underground trains) in 2014, this is exactly what happened: most sites were HTTP and thus allowed ads to be injected essentially as form of payment for the Wi-Fi service. Almost immediately most Russian web sites switched to HTTPS because the ads often broke CSS layout and caused other issues in general
Re:Let's Not Encrypt (2019) by stop_nazi on Tuesday October 14, 2025 @10:25AM (#45580426)
And who now uses metro wifi «от оленевода»? Noone
Re:Let's Not Encrypt (2019) by bilekas on Tuesday October 14, 2025 @10:26AM (#45580443)
> I think that if we didn't do TLS, every ISP would be injecting ads into websites these days.

Thats the least of the problems, they (anyone with basic access to your network actually) could easily overwrite every cooking or session on your machine to use their referral links. IE : Honey &* PayPal's Fraud [0] without you having any idea, now maybe you don't care, but it's stealing other peoples potential earnings.

[0] https://www.theverge.com/24343913/paypal-honey-megalag-coupo...

Re:Let's Not Encrypt (2019) by bgwalter on Tuesday October 14, 2025 @10:23AM (#45580389)
ISPs should be regulated like common carriers. Modifying the data in transit should be illegal. ISP supercookies should be illegal.
Re:Let's Not Encrypt (2019) by Avamander on Tuesday October 14, 2025 @10:53AM (#45580816)
We can do that and also use HTTPS to be more certain of it.
Re:Let's Not Encrypt (2019) by tomrod on Tuesday October 14, 2025 @05:43PM (#45585394)
Wasn't that the core idea of net neutrality?
Re:Let's Not Encrypt (2019) by throw_a_grenade on Tuesday October 14, 2025 @10:22AM (#45580367)
> I'm not as convinced as the author is that nation states can easily tamper with certificates these days. I am not sure how much CT checking we do before each page load [...]

They can MITM the connection between the host and LE (or any other CA resolver, ACME or non-ACME, doesn't matter). This was demonstrated by the attack against jabber.ru, at the time hosted in OVH. I recommend reading the writeup by the admin (second link from the top in TFA).

This worked, because no-one checked CT.

Re:Let's Not Encrypt (2019) by 1718627440 on Tuesday October 14, 2025 @10:32AM (#45580521)
They can also just tell some CA to sign a certificate.
Re:Let's Not Encrypt (2019) by throw_a_grenade on Tuesday October 14, 2025 @11:27AM (#45581202)
I don't believe this happens. Should something like this happen, the CA would be immediately distrusted by browsers, not as punishment but to deter state actors. It would give CAs argument, “we won't do it, because it means end of business for us”. Compelling by the state to do something that destroys a company is illegal in many jurisdictions, in the law that prescribes what the state can order employees of the company and what they cannot.
Re:Let's Not Encrypt (2019) by 20after4 on Tuesday October 14, 2025 @12:08PM (#45581746)
Re:Let's Not Encrypt (2019) by 1718627440 on Tuesday October 14, 2025 @01:14PM (#45582487)
The don't really need to order employees of the company, they can just do it. Either by completely owning a CA or by just going in and doing it. If it should be hidden, they can do it as part of an unrelated warrant.

> the CA would be immediately distrusted by browsers, not as punishment but to deter state actors.

Do you think browsers operate outside of states?

> Compelling by the state to do something that destroys a company is illegal in many jurisdictions

How would it destroy the company? It might affect reputation, but as long as it wasn't the company doing it on its own, they can just claim to be the victim (, which they are). It will only affect the company, if is becomes public knowledge, which the state actor doesn't want anyway. I don't think reputation to not respond to legal warrants is protected by the law. Also for example the USA is famous for installing malware on other countries head of state.

Honestly this is the kind of law enforcement, which is fair in my opinion. It is much more preferable to mandated scanning (EU Chat Control), making the knowledge or selling of math illegal or sabotaging public encryption standards. No general security is undermined. It's just classic breaking in into some system and intercepting. Granted I think states shouldn't do it outside of their jurisdiction, but that is basically intelligence services fighting with each other.

Re:Let's Not Encrypt (2019) by throw_a_grenade on Tuesday October 14, 2025 @01:25PM (#45582605)
> How would it destroy the company?

If you're in business of selling X.503 certs trusted by browsers, then not being trusted by browsers kinda limits the marketability of your product.

I don't believe the browsers could be coerced to not distrust such a CA. In every root program I know there's a clause that membership to the program is at browser's pleasure. (Those that have public terms, i.e. not msft, but I'd assume those have similar language.)

Re: they can just do it, well, I think they'd be distrusted the same.

In Symantecgate one of the reasons for distrust was that they signed FPKI bridge, so I think no CA in the future will sign a subca that will sign FPKI certs.

> Also for example the USA is famous for installing malware on other countries head of state.

Yeah, exactly. I think they have more targeted ways that risk less detection and less collateral damage.

Re:Let's Not Encrypt (2019) by 1718627440 on Tuesday October 14, 2025 @01:39PM (#45582720)
Well what destroys the company is not the generation of a certificate, but the publication. I think the state would compel the company not disclose it, so they would coerce the company into not destroying itself.

Do you thing Google or Apple are going to care? They bowed down to China, I think the state they have their headquarters in has even more leverage. As for Mozilla Firefox on Linux, maybe, but I wouldn't trust this too much either.

> I think they have more targeted ways that risk less detection and less collateral damage.

I think they don't really need to care about this, it was quite clear that no other state is publicly doing anything against this.

Re:Let's Not Encrypt (2019) by cyphar on Tuesday October 14, 2025 @03:36PM (#45583868)
> the CA would be immediately distrusted by browsers, not as punishment but to deter state actors

This is not practically possible for browsers to do, as it would also cause all of the legitimate certificates signed by that CA to become distrusted and break large swathes of the internet. This was one of the main complaints Moxie Marlinspike had in his 2011 talk on TLS (the contents of which are sadly just as true today as they were then)[1].

In fact, there is fairly credible evidence that the NSA did actually do this already back in 2011 with the DigiNotar hack to steal the contents of Iranian emails[2]. This case was so egregious that DigiNotar did get distrusted by browsers, but other hacks like that of Comodo did not result in their CA certificates being distrusted.

The CAB does apparently block CAs more aggressively than they did a decade ago, but I wonder if they would actually block a big CA like LetsEncrypt if it came out they did something shady or got hacked. It just seems incredibly unlikely they would flip the "turn off >60% of the internet" switch regardless of what LetsEncrypt hypothetically did (for reference, in 2011 Comodo signed only 20-25% of website certificates).

[1]: https://www.youtube.com/watch?v=UawS3_iuHoA [2]: https://en.wikipedia.org/wiki/DigiNotar

Re:Let's Not Encrypt (2019) by fragmede on Tuesday October 14, 2025 @10:27AM (#45580457)
LE checks from multiple places, so you'd have to MITM all of them, which makes it seem rather challenging to actually pull off.
Re:Let's Not Encrypt (2019) by Ajedi32 on Tuesday October 14, 2025 @10:33AM (#45580538)
AFAIK that's not a required feature of the DV process, and even if it were it wouldn't help if the MITM was happening between the website and the wider internet.

That said, I don't think there's a way to stop a nation state from seizing control of a domain they control the TLD name servers for without something like Namecoin where the whole DNS system is redesigned to be self-sovereign.

Re:Let's Not Encrypt (2019) by tialaramex on Tuesday October 14, 2025 @11:31AM (#45581245)
Multi-perspective is or will be (I didn't pay attention to the timeline) required by the Baseline Requirements which are effectively the rules for how Web PKI certs work.

The system is tamper evident not tamper proof. A nation state adversary can indeed impersonate my web site and obtain a new certificate, but the Web Browser doesn't trust that certificate without seeing Proof it was in the CT logs. So, now the nation state adversary need Proof it was Logged.

Whoever issued them the proof has 24 hours to include that dodgy certificate in their public logs for everyone to see. If they lie and don't actually log it, the proof will be worthless and if shown to a trust root this bad proof will result in distrust of the log's operator. That's likely a six or seven figure investment thrown away, for each time this happens.

On the other hand if they do log it, everybody can see what was issued and when, which is inconvenient if you'd prefer to be subtle like the NSA and to some extent Mossad. If you're happy to advertise that you're the bad guys, like the Russians and North Koreans, you do have the small problem that of course nobody trusts you, so, you can't expect any co-operation from the other actors...

Re:Let's Not Encrypt (2019) by Ajedi32 on Tuesday October 14, 2025 @12:34PM (#45582039)
Yes, CT makes any sort of certificate issuance attack relatively "loud", but as you seem to be aware that doesn't actually stop the attack from happening in the first place unless the attacker cares about keeping it a secret.

This isn't like a missisuance where you can blame the CA and remove them from the root stores; they'd just be following the normal domain validation processes prescribed in the BRs.

Re:Let's Not Encrypt (2019) by tialaramex on Tuesday October 14, 2025 @12:46PM (#45582173)
The loudness means that when people yell "The government are doing X" you can go see for yourself, are they doing X? No? So what was the yelling about?

Going to Portland to check whether it's on fire would be a lot of effort - so to some extent I must take it on trust that it's not actually on fire despite Donald Trump's statement - whereas visiting crt.sh to check for the extra certificates somebody claims the US government issued is trivial.

Re:Let's Not Encrypt (2019) by Ajedi32 on Tuesday October 14, 2025 @01:04PM (#45582391)
You wouldn't necessarily know whether the certificates were obtained by the US government or another random attacker. They have the CA's name on them and the website name, not the attacker's name.

I'm not saying there's no value in being able to detect when you're compromised. I'm just saying it would be better if the compromise wasn't possible to begin with.

Re:Let's Not Encrypt (2019) by tialaramex on Tuesday October 14, 2025 @01:48PM (#45582795)
I'd be interested in technology to avoid being compromised if there was much evidence of compromise.

When I looked at this ~10 years ago it was overwhelmingly "Fuck it they'll click past the warning" and today that doesn't work† but I don't work in an industry where it's my job to go find out what's happening to valuable targets (in that case military and government systems, typically in Asia or Africa) any more.

† There are more obstacles, more awareness, and better tooling so "doesn't work" is over-stating it but I'd be very surprised if "fuck it" (ie just don't get certificates and impersonate an HTTP-only site instead) was enough today.

Re:Let's Not Encrypt (2019) by throw_a_grenade on Tuesday October 14, 2025 @11:15AM (#45581063)
They just MITMed on the link between the victim and it's immediate next hop, most likely by coercing the ISP (OVH). (See the writeup, where the admin discusses TTL values). No amount of multiview is sufficient if you control the uplink. Both DNS resolution and IP routing worked fine and IP packets were intercepted in attacker-controlled envirenment (on-path MITM box).

What would somewhat help would be CAA record with specified ACME account key. The attackers would then have to alter DNS record, would be harder as you describe. (Or pull the key from VM disk image, which would cross another line).

Re:Let's Not Encrypt (2019) by octoberfranklin on Tuesday October 14, 2025 @10:21AM (#45580354)
Your comment is disingenuous -- the article isn't arguing against TLS. It is arguing against WebPKI.

You can stop ISP ad injection with solutions much less complex than WebPKI.

Simply using TOFU-certificates (Trust On First Use) would achieve this. It also gives you the "people who controlled this website the first time I visited it still control it" guarantee you mention in your last paragraph.

TOFU isn't ideal, but it's an easy counterexample to your claims.

Re:Let's Not Encrypt (2019) by iamnothere on Tuesday October 14, 2025 @10:24AM (#45580423)
TOFU would allow the ISP to MITM every connection and then serve you ads. The ISP could simply provide their own cert to you.
Re:Let's Not Encrypt (2019) by blenderob on Tuesday October 14, 2025 @10:21AM (#45580366)
> Simply using TOFU-certificates (Trust On First Use) would achieve this.

As a user how would I know if I should trust the website's public key on first use?

Re:Let's Not Encrypt (2019) by akerl_ on Tuesday October 14, 2025 @10:26AM (#45580440)
I guess we could organize regional parties where site operators and users meet up and exchange key material. I'm sure that will scale and won't have any problems of its own.
Re:Let's Not Encrypt (2019) by 1718627440 on Tuesday October 14, 2025 @10:34AM (#45580547)
The same way I know which real person is serving me the website. I don't I merely know that the owner doesn't change randomly.
Re:Let's Not Encrypt (2019) by majewsky on Tuesday October 14, 2025 @03:26PM (#45583777)
TOFU does not help if the ISP is consistently malicious, and serves me the MITM certificate on first use.
Re:Let's Not Encrypt (2019) by 1718627440 on Wednesday October 15, 2025 @03:54AM (#45589338)
In that case the ISP becomes the real website. If this is always consistent, then you are always talking with the same entity.

This only matters, when your view of the entity isn't solely determined by the domain name. For example you care when someone impersonates google.com, because you expect it to belong to Alphabet Inc., you perceive impersonating when the entity you are talking to changes. When some domain is always constantly resolved to your ISP, then that domain is owned by the ISP in your network.

Re:Let's Not Encrypt (2019) by blenderob on Wednesday October 15, 2025 @05:24AM (#45589943)
> In that case the ISP becomes the real website.

But that's exactly what we're trying to avoid. When I want to visit my bank website, I don't want the ISP to become the real website.

I don't understand your comments. Your solution to how I trust the website on first use (TOFU) is to trust whatever public key the middle man (the ISP) serves? If you're okay with that, I guess you don't have a problem. But I'm not okay with that, so TOFU doesn't solve my problem.

Re:Let's Not Encrypt (2019) by 1718627440 on Wednesday October 15, 2025 @05:33AM (#45590001)
No, in this case this is not the real website, but it's not because of the ISP, it is because you consider that website "my bank website". That's the real issue here. It's not different than someone registering a (similar) domain name and you thinking that this is owned by the bank.

If you were to redesign name and address resolution, to enforce connecting to the real physical world entity, this should happen out-of-band. Well, know that I think of it, I think that's what the GNU Name System is trying to address: https://www.gnunet.org/en/gns.html .

-----

The question seams to be, what do you consider to be the real website? The one that answers to your request? Then the ISP is the real website. In your example you seem to have preconceptions of who might own the website, but these are outside of the network. TLS from Let's Encrypt only enforces that the entity never changes. There are validation schemes where the physical/legal entity is validated, but this is not the case here.

Re:Let's Not Encrypt (2019) by blenderob on Wednesday October 15, 2025 @05:27AM (#45589965)
> When some domain is always constantly resolved to your ISP, then that domain is owned by the ISP in your network.

I think you've fundamentally misunderstood the problem. Nobody here is talking about the domain resolving to ISP.

We're talking about an MITM attack where a middle-man (doesn't even need to be the ISP, it could be a router in the middle acting like middle-man) intercepts our request and serving its own public key instead of the actual server's public key so that it can carry out an MITM attack.

With TOFU, there is no way to detect this attack the first time I am connecting to the website. Once you have foolishly trusted the middle-man's public key, you may not notice any problem for months or years. Then one day, the middle-man may decide to misuse your credentials that it has collected during MITM attack.

Re:Let's Not Encrypt (2019) by 1718627440 on Wednesday October 15, 2025 @05:37AM (#45590027)
When someone MITMs the DNS request, the domain IS resolving to him. What determines who is the MITM and who is not? When I create an account with the "MITM", and then later the "MITM" goes away, THEN I'm sending my account data to some third-party, because at the time of me deciding who is that website it was the "MITM" who was the second party.
Re:Let's Not Encrypt (2019) by blenderob on Wednesday October 15, 2025 @05:21AM (#45589927)
> The same way I know which real person is serving me the website. I don't I merely know that the owner doesn't change randomly.

Still doesn't explain how I'll confirm that if the website has not been intercepted by a middle man the first time I visit it.

Re:Let's Not Encrypt (2019) by 1718627440 on Wednesday October 15, 2025 @05:59AM (#45590160)
In this case it isn't a middle man, but becomes the real website.
Re:Let's Not Encrypt (2019) by blenderob on Wednesday October 15, 2025 @06:28AM (#45590354)
The very problem here is that I am not ok with middle man becoming the real website. If you are ok with that, you don't have a problem. You can use TOFU. Good for you. But I have a problem with that. So I can't use TOFU.
Re:Let's Not Encrypt (2019) by 1718627440 on Wednesday October 15, 2025 @06:42AM (#45590462)
I'm saying that this is not your real problem. Your real problem is that you expect the "real website" to correspond to real world entities. And this can be solved better than the current state.
Re:Let's Not Encrypt (2019) by blenderob on Wednesday October 15, 2025 @06:49AM (#45590505)
You mean it can't be solved with Let's Encrypt? Yes, I agree.

What about TLS certificates attested by CAs who validate the real world legal entity? Would you agree that this is a solved problem there?

Re:Let's Not Encrypt (2019) by 1718627440 on Wednesday October 15, 2025 @07:37AM (#45590882)
Yes this solves it partially. The thing is that people assume that the green lock correspond to the domain name. It would be completely solved, if the browser would still show the validated company name, like it used to be, and then people would only validate that and the CA also validating that there are no similar names. The latter would essentially mean that there is a global coordination of CAs and that there only one entity on the whole world could have the same name, i.e. we only have one jurisdiction.
Re:Let's Not Encrypt (2019) by octoberfranklin on Tuesday October 14, 2025 @10:25AM (#45580427)
The same way you know if you should trust the WebPKI Rube-Goldberg-contraption: you don't.

It's a counterexample, not a recommendation.

If you need this guarantee, use self-certifying hostnames like Tor *.onion sites do, where the URL carries the public key. More examples of this: https://codeberg.org/amjoseph/not-your-keys-not-your-name

Re:Let's Not Encrypt (2019) by akerl_ on Tuesday October 14, 2025 @10:27AM (#45580463)
I trust the WebPKI infra quite a bit. Cert validation is publicly logged, CAs that do nefarious things get booted from browser trust stores.

I can set which CAs can sign certs for my domains, and monitor if any are issued that I didn't expect.

Re:Let's Not Encrypt (2019) by stop_nazi on Tuesday October 14, 2025 @10:23AM (#45580398)
1. using http-only for decades, never seen “injections” 2. just change ISP
Re:Let's Not Encrypt (2019) by bilekas on Tuesday October 14, 2025 @10:28AM (#45580471)
> using http-only for decades, never seen “injections”

This has to be a rage bait comment, but anyway, how do you expect 'injections' to show up on 'http-only' ?

"Don't mind us, we're just sitting in the middle of your traffic here and recording your logins in plaintext"

Re:Let's Not Encrypt (2019) by stop_nazi on Tuesday October 14, 2025 @10:50AM (#45580784)
I'm not talking about logins, it's supposed to be encrypted. If I go to read news that is open to an unlimited number of people, there is no need for encryption: the information is open.
Re:Let's Not Encrypt (2019) by Avamander on Tuesday October 14, 2025 @11:03AM (#45580937)
You assume that you will _never_ read something that might be out in the open but at the same time the fact that you're reading it might be the thing that needs protecting? A public invitation to a protest against your autocratic government, for example?
Re:Let's Not Encrypt (2019) by pKropotkin on Tuesday October 14, 2025 @11:41AM (#45581376)
A public invitation to protest against my authoritarian government should not turn on total paranoia mode and cipher the opening hours of the local bakery. It's unnecessary I'd also like to remind you that the vast majority of e-mails are still unencrypted
Re:Let's Not Encrypt (2019) by tialaramex on Tuesday October 14, 2025 @12:01PM (#45581641)
> vast majority of e-mails are still unencrypted

Kinda sorta. In transit most email is encrypted, the big mail providers all both speak and expect TLS encryption when moving mail. Almost everybody configures TLS encrypted IMAP if they use a client, or reads email over HTTPS

> A public invitation to protest against my authoritarian government should not turn on total paranoia mode

The expectations ordinary people have for how the web works are not met by the basic HTTP protocol. They need HTTPS to deliver those basic assumptions. Who decides the hours of the local bakery? Is it Jeff Bezos? HTTP says that seems fine, but HTTPS says no, the bakery gets to decide, not Jeff.

Re:Let's Not Encrypt (2019) by mailtls on Tuesday October 14, 2025 @07:24PM (#45586180)
Yes, many providers use TLS with SMTP. But that works with self-signed certificates.
Re:Let's Not Encrypt (2019) by Avamander on Tuesday October 14, 2025 @11:49AM (#45581469)
Can you say that for everyone though, that they should have a local bakery and use its opening hours? There are also more cases than that, where something being public does not mean that someone should see you looking at that info.

While the situation with emails is worse it does not mean it should be like that.

Re:Let's Not Encrypt (2019) by Avamander on Tuesday October 14, 2025 @10:35AM (#45580562)
> 2. just change ISP

Not a viable option in a lot of places. Nor does anyone really even want to consider this possibility of their ISP being able to MITM something in the first place.

Re:Let's Not Encrypt (2019) by stop_nazi on Tuesday October 14, 2025 @10:48AM (#45580749)
If a provider does not provide data transmission, that provider is not competent. Period
Re:Let's Not Encrypt (2019) by Ferret7446 on Tuesday October 14, 2025 @04:04PM (#45584131)
Saying that doesn't fix the problem though
Re:Let's Not Encrypt (2019) by perching_aix on Tuesday October 14, 2025 @10:28AM (#45580481)
> just change ISPs

I sure love when decisions reduce themselves to single points of consideration by virtue of them being discussed in a heated internet forum thread

Re:Let's Not Encrypt (2019) by stop_nazi on Tuesday October 14, 2025 @11:10AM (#45581013)
The problem with the horrible injections on the page can be solved very simply. If the information on a page is open, just pass that page openly and pass a checksum of page in the header. To prevent this sum from being tampered with, the server will encrypt it. Not the whole page, just the sum. You will save a lot of CPU time on server and on client, reduce CO₂ and so on
Re:Let's Not Encrypt (2019) by Avamander on Tuesday October 14, 2025 @11:16AM (#45581071)
So TLS with some "eNULL" ciphersuite. People have been there, tried that. There's very very little practical value in that over just doing proper encryption as well.
Re:Let's Not Encrypt (2019) by Ferret7446 on Tuesday October 14, 2025 @04:06PM (#45584151)
You aren't really saving anything. Hashing and encryption are very similar, so hashing the entire page is comparable to just encrypting it.
Re:Let's Not Encrypt (2019) by schoen on Tuesday October 14, 2025 @09:10PM (#45586953)
I also want to mention that several governments probably have large-scale tapping infrastructure to passively record Internet traffic. However, they like people not to pay attention to that or think about it (because, you know, we might try to protect ourselves or even try to get them to stop!). This is especially true when your communications cross national borders, as many governments have promoted a theory that normal privacy rules (that they might accept in other contacts) shouldn't apply at the border or outside of their territory.

HTTPS is a really important defense against this, but it's really hard to know when it worked or when it was relevant, because the wiretappers weren't announcing what they were doing and similarly don't usually announce when it's being thwarted.

There are lots of limitations there. For example, traffic analysis may sometimes allow identifying pairs of people who communicate with each other in low-latency ways like a real-time call, or possibly also those who communicate in a distinctive way in high-latency ways. It may also allow determining, for example, which Wikipedia page you looked at, because the pages are different sizes and contain different numbers of images, so the timing and volume of your browser communications could be distinctive depending on which page you browsed to. But, if you don't do the HTTPS part, then you're basically just saying "we're going to allow anyone who controls network infrastructure to permanently record 100% of all communications in an easily searchable way, if they so choose".