News for hackers. Stuff that matters.
Re:Where Am I? NYTimes or Google? by quadrifoliate on Friday July 03, 2020 @11:09PM (#23729740)
IMO the core point of the article is false.

> To be blunt, this is a really dangerous pattern: Google serves NYTimes’ controlled content on a Google domain.

No, "Google serves NYTimes' controlled content" is an oxymoron. Google controls the content that is served, and that's all your browser is verifying. Google could very well make the NYTimes content on there display something else and your browser wouldn't show a warning. NYTimes could do nothing about that.

I disagree that this pattern is dangerous. While Google taking over serving the world's content is hardly a thing to celebrate, at least we're seeing that it's doing so here.

Re:Where Am I? NYTimes or Google? by rtsil on Saturday July 04, 2020 @12:30AM (#23730129)
The pattern is dangerous because it trains the user to dissociate URL and legitimate content, and the best tool at our disposal against phishing is still the ability to use the URL to ascertain the legitimacy of a content.
Re:Where Am I? NYTimes or Google? by izacus on Saturday July 04, 2020 @03:46AM (#23730823)
URLs haven't been associated with legitimate content for a long time now, since most of the things come from giant CDN companies like CloudFlare anyway. What you're seeing in URL bar has very little to do with where the JS code executed on your computer is coming from.
Re:Where Am I? NYTimes or Google? by icebraining on Saturday July 04, 2020 @05:41AM (#23731240)
Does it matter if it comes from a CDN rented by the NYT or a computer owned by DigitalOcean but rented by the NYT?

What matters is that the domain points to where the NYT considers is the correct source of their content.

Re:Where Am I? NYTimes or Google? by satyrnein on Saturday July 04, 2020 @08:03AM (#23731720)
With signed exchanges, the NYT is cryptographically opting into allowing Google (or other cache providers) to represent specific articles as being the NYT. It doesn't seem much different.
Re:Where Am I? NYTimes or Google? by sudoit on Saturday July 04, 2020 @04:25AM (#23730978)
Yes, but users at least know the js code loaded was done so on behalf of the webpage the url points too
Re:Where Am I? NYTimes or Google? by popcorncolonel on Saturday July 04, 2020 @07:40AM (#23731643)
Do you really think most smartphone users look at the URL anymore? Or even know what a URL is?

From the non-technical people I've talked to, the answer is no, they don't know what a URL is, and that was happening before AMP came around.

Re:Where Am I? NYTimes or Google? by acdha on Saturday July 04, 2020 @08:29AM (#23731806)
You might want to back that up with research: people don’t look at full URLs but that’s exactly why it’s so important that the highly-prominent domain name display is accurate.
Re:Where Am I? NYTimes or Google? by TLightful on Monday July 06, 2020 @08:12AM (#23747060)
Are you sh!tting me?!!?

Had enough of HN ...

This place is bullsh!t.

Ban me.

Re:Where Am I? NYTimes or Google? by satyrnein on Saturday July 04, 2020 @08:07AM (#23731735)
It's the current amp status quo that trains users that legitimate content is sometimes on other domains.

This change would restore the idea that the URL indicates the provenance of the content,

Re:Where Am I? NYTimes or Google? by gsnedders on Saturday July 04, 2020 @12:48AM (#23730189)
With Signed HTTP Exchanges, for Google to modify the content that is served, Google would need access to a private key for a certificate for nytimes.com, no? Either nytimes.com has handed over that key or Google would have to create a key/certificate for nytimes.com. Believing Google would maliciously issue certificates seems a stretch to me.

I don't like AMP nor much of how Google has behaved with it (http://exple.tive.org/blarg/2020/05/05/the-shape-of-the-mach... largely matches my thoughts), but let's stick to what's actually happening with SXG.

Re:Where Am I? NYTimes or Google? by kebman on Saturday July 04, 2020 @01:56AM (#23730454)
I don't get this. Clearly the contents is served by Google, and so they can do whatever they like with it. How is an end user going to know whether the message was signed before it was passed on or not?
Re:Where Am I? NYTimes or Google? by Sephr on Saturday July 04, 2020 @02:42AM (#23730603)
> How is an end user going to know whether the message was signed before it was passed on or not?

Your web browser will show a scary warning and refuse to display the bundle if it's not correctly signed. Google is not going to fake signatures for other sites, as certificate mis-issuance would open up Google to legal consequences.

Re:Where Am I? NYTimes or Google? by izacus on Saturday July 04, 2020 @03:47AM (#23730827)
How does the end user know now that a file from cdn.cloudflare.com is actually coming from NYTimes when it loads and runs code on their browser?
[dead]
Re:Where Am I? NYTimes or Google? by dang on Saturday July 04, 2020 @05:14PM (#23734956)
Please review and stick to the site guidelines when posting here (https://news.ycombinator.com/newsguidelines.html). They explicitly ask you not to lead with things like "That's nonsense. Take a moment to breathe." The rest of your first paragraph is just fine.

Re the second paragraph: people are wrong on the internet. If you want a site that doesn't have this problem, you're going to have to look for something considerably smaller, where countering entropy is an option. I think you might be running into the notice-dislike bias, though: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

Edit: I'm dismayed to see that your last 7 comments have all broken the site guidelines. Trashing this place because you don't like some of what other people post, or because you feel superior to the community, is not ok. I'm sure you wouldn't litter in a city park, so please stop doing the equivalent here.

Re:Where Am I? NYTimes or Google? by quadrifoliate on Saturday July 04, 2020 @09:11AM (#23731996)
> Is there some site where people actually have a clue? On any topic that I have any passing knowledge about, HN is just completely spewing nonsense and the worst part about it is that they think they have a clue.

Given that HTTP Signed Exchanges are nowhere near a web standard at this point, I think you should tone down your vitriol considerably.

Currently, what the parent commenter is saying is completely valid and true; if you're serving things on your domain and have a cert for it, you can serve https://youdomain.com/<anything>, where <anything> could be www.nytimes.com, www.google.com, or whatever. HTTP Signed Exchanges proposes a breaking change to this, and therefore is non-intuitive for the vast majority of users.

Re:Where Am I? NYTimes or Google? by quadrifoliate on Saturday July 04, 2020 @09:02AM (#23731955)
> but let's stick to what's actually happening with SXG

No, Signed HTTP exchanges are something that Google dreamed up so people don't have to see their hegemony over the modern web (or as the article you linked calls it, a shakedown). It's not a browser standard so far, because of Apple and Mozilla's resistance.

There are legitimate ways for NYTimes to allow Google to serve content on behalf of them, like so many other CDNs around the world (it usually involves the CDN generating the certificate for your site as well). Why should people create new standards for HTTPS and URLs simply for Google's benefit?

I don't deny that there's a way to make "nytimes.com" work where everything is served by "google.com". What I'm questioning is why we need a completely new web standard for doing so that affects the URL, something that has been standard for decades.

Re:Where Am I? NYTimes or Google? by esrauch on Saturday July 04, 2020 @11:05AM (#23732718)
> Why should people create new standards for HTTPS and URLs simply for Google's benefit?

Because of the exact reasons that people are complaining about in this very thread: they want NYT to control the content and display the domain name appropriately, but they want to serve it from Google servers and allow for eager prefetching without leaking private details.

Today it would be easily possible if NYT just gave Google their private cert, but then Google would be able to serve any content they want as NYT. With the proposed solution they can display the content NYT wants without being able to serve arbitrary other content.

Re:Where Am I? NYTimes or Google? by gregable on Saturday July 04, 2020 @01:10AM (#23730290)
That's correct. Only with the private key can one sign a Signed Exchange for the publisher. Like TLS, if you have the key you can already do quite a lot.