[prev in list] [next in list] [prev in thread] [next in thread] 

List:       webkit-dev
Subject:    Re: [webkit-dev] Position on User-Agent Client Hints
From:       Yoav Weiss <yoav () yoav ! ws>
Date:       2020-05-08 22:16:49
Message-ID: CACj=BEhMgLjjYM_BT6Wk8F5XHOr0XmehmRTK=oCCJg1tq7DTjw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Fri, May 8, 2020 at 6:01 PM Alex Christensen <achristensen@apple.com>
wrote:

> Last I recall talking about this, we did not oppose to client hits header
> fields in general, just some specific ones that expose information we do
> not wish to expose to reduce fingerprinting information.  For example, I
> think we do oppose adding Device-Memory because that currently cannot be
> queried through WebKit any other way, but I don't think we oppose adding
> Viewport-Width which is trivial to query with 100% accuracy once you have
> JavaScript on the client.  I think Downlink and RTT were in a grey area
> because they can indeed be measured other ways, but we don't want to
> possibly increase the fingerprinting information by providing values that
> can be used for more effective client fingerprinting, such as if we were to
> send the exact same value to multiple servers.
>
> I don't think this is an official position, just what I recall from TPAC
> discussions in Lyon.
>

Thanks! Just noting that this request is about User-Agent Client Hints in
particular.


>
> > On May 8, 2020, at 12:14 AM, Maciej Stachowiak <mjs@apple.com> wrote:
> >
> > Accidentally removed Yoav from Cc and I'm not sure if he is on this list.
>

I'm still subscribed :D


> >
> >> On May 8, 2020, at 12:04 AM, Maciej Stachowiak <mjs@apple.com> wrote:
> >>
> >>
> >> I would consider myself mildly positive as to the direction, but that's
> my personal view for the moment, absent consultation with my colleagues. I
> will solicit more viewpoints.
> >>
> >> I particularly appreciate the responsiveness to feedback and that Yoav
> in particular has been willing to iterate.
>

Thank you! :)


> >>
> >> I think there's a number of things in the spec that should be cleaned
> up before an implementation ships enabled by default, specifically around
> interop, privacy, and protection against UA lockouts. I know there are PRs
> in flight for some of these issues. I think it would be good to get more of
> the open issues to resolution before actually shipping this.
>

Regarding the discussion around `architecture`, my thinking is that we
could either reach a conclusion there before shipping, or ship with that
value currently empty and "fill it" once we reach agreement on what it
should be.

Regarding the GREASE discussion, I don't think it's blocking, as Chromium's
initial implementation will include GREASE: The UA will be a list of
values, will include a non-value that would encourage standard Structured
Header parsing, and will have the list order randomized (but remain stable
for the lifetime of the major version, the avoid caching churn).
With that said, your arguments about making this a MUST make sense, and
I'll send a PR to that effect.

The other issues seem to be either around future enhancement (which we
could add later), or general discussions that don't seem blocking.

>>
> >> Regards,
> >> Maciej
> >>
> >>> On May 7, 2020, at 4:22 PM, Michael Catanzaro <mcatanzaro@gnome.org>
> wrote:
> >>>
> >>> My personal $0.02: I'm mildly supportive of this spec. It's certainly
> an improvement on existing HTTP user agent headers. I appreciate that you
> worked to incorporate feedback into the spec and considered the concerns of
> small browsers.
> >>>
> >>> Is it going to solve all the problems caused by user agent headers?
> No. If WebKit implements the spec, we're surely going to eventually need a
> quirks list for user agent client hints to decide which websites to lie to,
> just like we already have quirks for the user agent header. And as long as
> Chrome sends a user agent header that includes the string "Chrome", it's
> unlikely we'll be able to get rid of the existing quirks list. But I think
> client hints will probably reduce the amount of websites that
> *accidentally* break WebKit, by replacing wild west UA header parsing with
> well-defined APIs, and adding some GREASE for good measure. The promise of
> freezing Chrome's UA header sounds nice, as it makes quirks easier to
> maintain. And being able to ration entropy by revealing details about the
> platform on an active rather than passive basis is quite appealing.
> >>>
> >>> The spec attracted some misplaced concern about negative impact to
> small browsers, which I've rebutted in [1]. I'm not quite so enthusiastic
> about this spec as I was initially, especially after I was convinced that
> the GREASE is never going to be enough to remove our quirks list, but it's
> certainly not going to *hurt* small browsers.
> >>>
> >>> This spec has received some pretty harsh criticism from the user
> tracking industry (some call it the "ad industry"). Not historically a
> friend of WebKit, so sounds good to me. ;)
> >>>
> >>> One concern I haven't mentioned elsewhere is that frozen UA header
> might encourage deeper levels of fingerprinting than are currently used,
> e.g. for ad fraud prevention. caddy has started blocking WebKitGTK users
> based on TLS handshake fingerprint (yes, really!) [1]. If techniques like
> that take off as a result of this, that could potentially backfire on us
> quite badly. But websites could choose to do such things today anyway,
> client hints or no, and if so, the solution will be for us to just try even
> harder to look more like Chrome.
> >>>
> >>> Seems like a net positive overall. I don't work for Apple and can't
> say whether it might be implemented by WebKit.
> >>>
> >>> Michael
> >>>
> >>> [1]
> https://github.com/w3ctag/design-reviews/issues/467#issuecomment-583104002
> >>> [2] https://mitm.watch/
> >>>
> >>>
> >>> _______________________________________________
> >>> webkit-dev mailing list
> >>> webkit-dev@lists.webkit.org
> >>> https://lists.webkit.org/mailman/listinfo/webkit-dev
> >>
> >> _______________________________________________
> >> webkit-dev mailing list
> >> webkit-dev@lists.webkit.org
> >> https://lists.webkit.org/mailman/listinfo/webkit-dev
> >
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev@lists.webkit.org
> > https://lists.webkit.org/mailman/listinfo/webkit-dev
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>

[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Fri, May 8, 2020 at 6:01 PM Alex Christensen &lt;<a \
href="mailto:achristensen@apple.com">achristensen@apple.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Last I recall talking \
about this, we did not oppose to client hits header fields in general, just some \
specific ones that expose information we do not wish to expose to reduce \
fingerprinting information.   For example, I think we do oppose adding Device-Memory \
because that currently cannot be queried through WebKit any other way, but I don't \
think we oppose adding Viewport-Width which is trivial to query with 100% accuracy \
once you have JavaScript on the client.   I think Downlink and RTT were in a grey \
area because they can indeed be measured other ways, but we don't want to possibly \
increase the fingerprinting information by providing values that can be used for more \
effective client fingerprinting, such as if we were to send the exact same value to \
multiple servers.<br> <br>
I don't think this is an official position, just what I recall from TPAC discussions \
in Lyon.<br></blockquote><div><br></div><div>Thanks! Just noting that this request is \
about User-Agent Client Hints in particular.</div><div>  </div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> <br>
&gt; On May 8, 2020, at 12:14 AM, Maciej Stachowiak &lt;<a \
href="mailto:mjs@apple.com" target="_blank">mjs@apple.com</a>&gt; wrote:<br> &gt; \
<br> &gt; Accidentally removed Yoav from Cc and I'm not sure if he is on this \
list.<br></blockquote><div><br></div><div>I&#39;m still subscribed :D</div><div>  \
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex"> &gt; <br>
&gt;&gt; On May 8, 2020, at 12:04 AM, Maciej Stachowiak &lt;<a \
href="mailto:mjs@apple.com" target="_blank">mjs@apple.com</a>&gt; wrote:<br> &gt;&gt; \
<br> &gt;&gt; <br>
&gt;&gt; I would consider myself mildly positive as to the direction, but that's my \
personal view for the moment, absent consultation with my colleagues. I will solicit \
more viewpoints.<br> &gt;&gt; <br>
&gt;&gt; I particularly appreciate the responsiveness to feedback and that Yoav in \
particular has been willing to iterate.<br></blockquote><div><br></div><div>Thank \
you! :)</div><div>  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> &gt;&gt; <br>
&gt;&gt; I think there's a number of things in the spec that should be cleaned up \
before an implementation ships enabled by default, specifically around interop, \
privacy, and protection against UA lockouts. I know there are PRs in flight for some \
of these issues. I think it would be good to get more of the open issues to \
resolution before actually shipping \
this.<br></blockquote><div><br></div><div>Regarding the discussion around \
`architecture`, my thinking is that we could either reach a conclusion there before \
shipping, or ship with that value currently empty and &quot;fill it&quot; once we \
reach agreement on what it should be.</div><div><br></div><div>Regarding the GREASE \
discussion, I don&#39;t think it&#39;s blocking, as Chromium&#39;s initial \
implementation will include GREASE: The UA will be a list of values, will include a \
non-value that would encourage standard Structured Header parsing, and will have the \
list order randomized (but remain stable for the lifetime of the major version, the \
avoid caching churn).</div><div>With that said, your arguments about making this a \
MUST make sense, and I&#39;ll send a PR to that effect.</div><div><br></div><div>The \
other issues seem to be either around future enhancement (which we could add later), \
or general discussions that don&#39;t seem blocking.</div><div><br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> &gt;&gt; <br>
&gt;&gt; Regards,<br>
&gt;&gt; Maciej<br>
&gt;&gt; <br>
&gt;&gt;&gt; On May 7, 2020, at 4:22 PM, Michael Catanzaro &lt;<a \
href="mailto:mcatanzaro@gnome.org" target="_blank">mcatanzaro@gnome.org</a>&gt; \
wrote:<br> &gt;&gt;&gt; <br>
&gt;&gt;&gt; My personal $0.02: I&#39;m mildly supportive of this spec. It&#39;s \
certainly an improvement on existing HTTP user agent headers. I appreciate that you \
worked to incorporate feedback into the spec and considered the concerns of small \
browsers.<br> &gt;&gt;&gt; <br>
&gt;&gt;&gt; Is it going to solve all the problems caused by user agent headers? No. \
If WebKit implements the spec, we&#39;re surely going to eventually need a quirks \
list for user agent client hints to decide which websites to lie to, just like we \
already have quirks for the user agent header. And as long as Chrome sends a user \
agent header that includes the string &quot;Chrome&quot;, it&#39;s unlikely we&#39;ll \
be able to get rid of the existing quirks list. But I think client hints will \
probably reduce the amount of websites that *accidentally* break WebKit, by replacing \
wild west UA header parsing with well-defined APIs, and adding some GREASE for good \
measure. The promise of freezing Chrome&#39;s UA header sounds nice, as it makes \
quirks easier to maintain. And being able to ration entropy by revealing details \
about the platform on an active rather than passive basis is quite appealing.<br> \
&gt;&gt;&gt; <br> &gt;&gt;&gt; The spec attracted some misplaced concern about \
negative impact to small browsers, which I&#39;ve rebutted in [1]. I&#39;m not quite \
so enthusiastic about this spec as I was initially, especially after I was convinced \
that the GREASE is never going to be enough to remove our quirks list, but it&#39;s \
certainly not going to *hurt* small browsers.<br> &gt;&gt;&gt; <br>
&gt;&gt;&gt; This spec has received some pretty harsh criticism from the user \
tracking industry (some call it the &quot;ad industry&quot;). Not historically a \
friend of WebKit, so sounds good to me. ;)<br> &gt;&gt;&gt; <br>
&gt;&gt;&gt; One concern I haven&#39;t mentioned elsewhere is that frozen UA header \
might encourage deeper levels of fingerprinting than are currently used, e.g. for ad \
fraud prevention. caddy has started blocking WebKitGTK users based on TLS handshake \
fingerprint (yes, really!) [1]. If techniques like that take off as a result of this, \
that could potentially backfire on us quite badly. But websites could choose to do \
such things today anyway, client hints or no, and if so, the solution will be for us \
to just try even harder to look more like Chrome.<br> &gt;&gt;&gt; <br>
&gt;&gt;&gt; Seems like a net positive overall. I don&#39;t work for Apple and \
can&#39;t say whether it might be implemented by WebKit.<br> &gt;&gt;&gt; <br>
&gt;&gt;&gt; Michael<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; [1] <a href="https://github.com/w3ctag/design-reviews/issues/467#issuecomment-583104002" \
rel="noreferrer" target="_blank">https://github.com/w3ctag/design-reviews/issues/467#issuecomment-583104002</a><br>
 &gt;&gt;&gt; [2] <a href="https://mitm.watch/" rel="noreferrer" \
target="_blank">https://mitm.watch/</a><br> &gt;&gt;&gt; <br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; webkit-dev mailing list<br>
&gt;&gt;&gt; <a href="mailto:webkit-dev@lists.webkit.org" \
target="_blank">webkit-dev@lists.webkit.org</a><br> &gt;&gt;&gt; <a \
href="https://lists.webkit.org/mailman/listinfo/webkit-dev" rel="noreferrer" \
target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-dev</a><br> &gt;&gt; \
<br> &gt;&gt; _______________________________________________<br>
&gt;&gt; webkit-dev mailing list<br>
&gt;&gt; <a href="mailto:webkit-dev@lists.webkit.org" \
target="_blank">webkit-dev@lists.webkit.org</a><br> &gt;&gt; <a \
href="https://lists.webkit.org/mailman/listinfo/webkit-dev" rel="noreferrer" \
target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-dev</a><br> &gt; \
<br> &gt; _______________________________________________<br>
&gt; webkit-dev mailing list<br>
&gt; <a href="mailto:webkit-dev@lists.webkit.org" \
target="_blank">webkit-dev@lists.webkit.org</a><br> &gt; <a \
href="https://lists.webkit.org/mailman/listinfo/webkit-dev" rel="noreferrer" \
target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-dev</a><br> <br>
_______________________________________________<br>
webkit-dev mailing list<br>
<a href="mailto:webkit-dev@lists.webkit.org" \
target="_blank">webkit-dev@lists.webkit.org</a><br> <a \
href="https://lists.webkit.org/mailman/listinfo/webkit-dev" rel="noreferrer" \
target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-dev</a><br> \
</blockquote></div></div>



_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic