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

Inconsistency about requirements to clear persistent data #187

Closed
xhwang-chromium opened this issue May 12, 2016 · 4 comments
Closed

Inconsistency about requirements to clear persistent data #187

xhwang-chromium opened this issue May 12, 2016 · 4 comments
Assignees
Milestone

Comments

@xhwang-chromium
Copy link
Contributor

In 11.5 Information Stored on User Devices -> 11.5.2 Mitigations, the spec says

In summary, user agent and CDM implementations that allow the CDM to persist data:
...
must allow the user to clear it, preferably by origin.

The in "User deletion of Key System storage" section, it says:

User agents should present the user with a way to delete Key System storage for a specific origin or all origins.

It becomes a bit confusing as for whether providing a way for user to clear the data is a requirement or a recommendataion.

Also, it's less clear about whether "by origin" or "for a specific origin" is more preferable, or it is actually equally acceptable as "for all origins".

@mwatson2
Copy link
Contributor

In summary, user agent and CDM implementations that allow the CDM to persist data:
...
MUST allow the user to clear it ...

This seems clear to me. The UA must allow the user to clear the CDM persisted data. Any User Interface option which provided for this would meet the requirement, including options that did much more, such as a non-origin-specific, non-EME-specific "Clear all stored data" option.

... preferably by origin.

"preferably" is not an RFC2119 term, so this could be clarified, but I would interpret this to have "recommendation" strength.

User agents should present the user with a way to delete Key System storage for a specific origin ..

This may be a repetition of the recommendation above. However the implication here is that the User Interface provides for specifically clearing Key System storage (e.g. "Clear all licenses, keys and other content protection data"). This could be clarified, for example to say "... a specific way to delete ...".

... or all origins.

Without the clarification, this is a restatement of the original requirement, but at lower strength, which is indeed confusing. With the clarification above, the recommendation here is that the method of clearing Key System data, whether per origin (recommended) or not, be specific to Key System data and not bundled with clearing of other data.

I suggest we make the clarifications above, but I don't think they are essential for V1.

@mwatson2 mwatson2 added this to the V1NonBlocking milestone May 12, 2016
@mwatson2 mwatson2 self-assigned this May 23, 2016
mwatson2 added a commit to mwatson2/encrypted-media that referenced this issue May 23, 2016
@mwatson2
Copy link
Contributor

Please see this pull request.

mwatson2 added a commit to mwatson2/encrypted-media that referenced this issue May 31, 2016
jdsmith3000 added a commit to mwatson2/encrypted-media that referenced this issue Jun 1, 2016
ddorwin pushed a commit that referenced this issue Jun 1, 2016
Issue #187: Clarify requirements for clearing persistent store
@ddorwin
Copy link
Contributor

ddorwin commented Jun 2, 2016

As I said in #202, that PR addresses the requirement inconsistency and replaces "preferably," which doesn't have a normative meaning. I filed #210 to track structural issues with this section. I think we can close this issue now.

@xhwang-chromium
Copy link
Contributor Author

Agreed this issue can be closed now. After #210 is addressed we shouldn't have any inconsistency issues.

@ddorwin ddorwin closed this as completed Jun 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants