Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-color-5] Question regarding on deman download of ICC file #7597

Closed
deimidis opened this issue Aug 11, 2022 · 7 comments
Closed

[css-color-5] Question regarding on deman download of ICC file #7597

deimidis opened this issue Aug 11, 2022 · 7 comments
Labels
Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. css-color-5 Color modification privacy-needs-resolution Issue the Privacy Group has raised and looks for a response on.

Comments

@deimidis
Copy link

Hi, I'm adding this question as a PING review.

After reading the current draft, there's the question of when the "on demand" ICC file download should happen, and if that on demand depends on hardware/software from the visitor of a website or user of an app.

In Section 4.2 and section 9 it is mentioned that adding custom color spaces makes the browser download an ICC file, with some information regarding how to use/show colors. If that on-demand download depends on hardware or software information from the user devices, can that lead to some information from the device being informed to the website? (possibly a fingerprinting opportunity).

Thanks!

@npdoty npdoty added the privacy-needs-resolution Issue the Privacy Group has raised and looks for a response on. label Aug 11, 2022
@hober hober added the css-color-5 Color modification label Aug 11, 2022
@svgeesus
Copy link
Contributor

svgeesus commented Aug 12, 2022

If that on-demand download depends on hardware or software information from the user devices

It does not. In particular, there is explicitly and deliberately not an option for "download this unless you already have a profile with the same name installed". The profile is always downloaded.

Rather like downloadable web fonts, implementations may choose to download a resource as soon as they have parsed that part of the style sheet, or they might choose to prioritize other resources (perhaps that color space is not actually used, same as a font linked but not actually used).

But to display a color defined with an ICC profile, the profile must always be downloaded before display.

@svgeesus
Copy link
Contributor

Custom color spaces used to be in CSS Color 4 and were then moved to CSS Color 5. During wide review of CSS Color 4 there was a security question about ICC profiles, which might be of interest in the context of this issue:

@svgeesus
Copy link
Contributor

@deimidis does this answer your question?

@deimidis
Copy link
Author

@svgeesus sorry for the big delay in my answer. I read the issue you linked and I think it is much clear now (about browsers parsing these profiles already). My only question would be the on-demand part if that could be used to know if a browser downloaded an ICC file because a current device is connected to the computer. I think you answered that on the other issue, that these ICC files are standards, so tricky to track a specific printer from that download. Is that right?

@svgeesus
Copy link
Contributor

Ah I see, you are worried about "what printer do I have connected" as a fingerprinting vector.

No, that doesn't happen. Here is why. In an ICC workflow you have two ICC profiles. One (the one being downloaded because the CSS links to it) tells you what the input colors mean (the colors used on the web page). It says how to convert those colors to the profile connection space (CIE XYZ or Lab). The other (which may come with the screen/printer, or be measured by the user to create their own) tells you what the output colors are; how to convert from the profile connection space to whatever the screen or printer uses.

This CSS feature is about input profiles, only. It does not, and cannot (the CSS would have a list of every screen and printer in the world?) affect the output profile. The color management system uses the two profiles together to convert input colors to output colors.

@deimidis
Copy link
Author

Great, thank you very much, and again, sorry for my delay in answer

@svgeesus svgeesus closed this as completed Sep 1, 2022
@svgeesus svgeesus added Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. labels Sep 1, 2022
@svgeesus
Copy link
Contributor

svgeesus commented Sep 1, 2022

@npdoty can we remove the privacy-needs-resolution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. css-color-5 Color modification privacy-needs-resolution Issue the Privacy Group has raised and looks for a response on.
Projects
None yet
Development

No branches or pull requests

4 participants