privacycg / meetings

Agenda and minutes of meetings of the Privacy Community Group
https://privacycg.github.io
92 stars 21 forks source link

Cross-site cookies standardization, part 2 #19

Open annevk opened 2 years ago

annevk commented 2 years ago

I've done some triage to figure out if there are additional items that warrant discussion. Building on #16 and what did not get addressed in yesterday's meeting, that gives:

  1. Interaction of cross-site cookies and SameSite=None.
  2. Adding more contextual information to requests: https://github.com/w3c/webappsec-fetch-metadata/issues/56 & https://github.com/w3c/webappsec-fetch-metadata/issues/80 (see https://github.com/WICG/CHIPS/issues/2 for context).
  3. Ephemeral partitioned third-party storage (including cookies) by Brave: https://github.com/privacycg/proposals/issues/18.

(Obviously open for further additions, but I figured I'd file this directly to keep track of it.)

Edit: I moved what is now 6 to the end as it's somewhat unrelated to cookies.

johannhof commented 2 years ago

I think all these are super important to figure out and discuss, I just wonder if our regular meeting format can allow folks to properly deep dive into those (maybe with some preparatory coordination beforehand).

annevk commented 2 years ago

I figured I'd at least have some slides next time (help appreciated) to set context and obviate the need for some of the questions that we ended up with yesterday, but I'd also be happy to discuss these with a smaller group.

annevk commented 2 years ago

Meeting slides: https://docs.google.com/presentation/d/1OBR1mfp_EEBOQJr26tQd6LUmU8CmZOClQqVBMjSabd4/edit.

Meeting minutes: https://github.com/privacycg/meetings/blob/main/2022/telcons/05-12-minutes.md.

Follow-up issue on A1 -> B -> A2 (and SameSite=None): https://github.com/privacycg/storage-partitioning/issues/31.

Related issue on keying in CHIPS: https://github.com/WICG/CHIPS/issues/40.

I think this can be closed. @johannhof @krgovind can you double check?

johannhof commented 2 years ago

We can probably close this, but I think it might be worth tracking the larger discussion around SameSite=None and what would happen to it in a world without third party cookies (what about POST requests, do we still need "lax"?). Do you think storage-partitioning is the right place for that?

annevk commented 2 years ago

Yeah, let's track cookie issues that don't have a good home there for now.

I also realized we don't have a good issue there for exposing partitionedness so I'm filing that as well.

johannhof commented 1 year ago

We met at TPAC to continue this discussion (slides, I don't think we had a scribe which is entirely my fault), here's a summary of what we ended up discussing and agreeing on:

Cookie Layering:

Cross-site cookies vs. SameSite=None

Thank you everyone for a great productive chat!

johannhof commented 1 year ago

cc @krgovind

johannhof commented 1 year ago

@krgovind made me aware of two small additions to the above:

annevk commented 1 year ago

I think when SameSite=None is used those concerns do not quite apply. At the very least, the website ought to know that in such cases it can be confused about authority and should use other tools to check for the correct authority. (At that point in the meeting we might have been talking past each other a bit, my apologies for that.)

Embracing SameSite=None cookies as a unique special case that can enter other partitions might be okay.

johannhof commented 1 year ago

Ok, yeah, I actually agree with that, thanks for following up!