<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19785</bug_id>
          
          <creation_ts>2012-10-30 16:23:20 +0000</creation_ts>
          <short_desc>Clarification on key storage</short_desc>
          <delta_ts>2012-10-31 15:47:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>Encrypted Media Extensions</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>17750</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joe Steele">steele</reporter>
          <assigned_to name="Adrian Bateman [MSFT]">adrianba</assigned_to>
          <cc>ddorwin</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-media</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>77436</commentid>
    <comment_count>0</comment_count>
    <who name="Joe Steele">steele</who>
    <bug_when>2012-10-30 16:23:20 +0000</bug_when>
    <thetext>There is some discussion on this email thread (http://lists.w3.org/Archives/Public/public-html-media/2012Oct/0066.html) about when keys are cleared. After re-reading the spec it does not appear clear that keys or licenses can be retained in a persistent cache by the CDM between sessions. 

I don&apos;t believe the intent of the spec is to prevent the CDM from retaining keys or licenses across sessions, but I think that needs to be spelled out in the spec a little more explicitly. Specifically I think this section (http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#dom-close) needs to be clarified to say that only keys which are not intended to be retained across sessions should be cleared.

It might be useful to add a definition of transient keys versus persistent keys and use that as a reference point where key caching is discussed in the spec as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77451</commentid>
    <comment_count>1</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2012-10-30 18:06:50 +0000</bug_when>
    <thetext>Issue 17750 is open to define the close() and object destruction behavior.

What do you mean by &quot;sessions&quot; when you say &quot;across sessions&quot;? Browser context sessions or key sessions? How &quot;persistent&quot; do you want to allow keys to be?

The existing text about caching is non-normative and relates to key replacement if, for example, the CDMs key storing resources are exhausted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77456</commentid>
    <comment_count>2</comment_count>
    <who name="Joe Steele">steele</who>
    <bug_when>2012-10-30 20:06:19 +0000</bug_when>
    <thetext>I mean across sessions created using createSession(). I also mean across browser instantiations -- e.g. if I close my browser I may not want to throw away all of my cached licenses. This has implications for when the browser is in privacy mode and when this type of data would be cleared, but all have pretty reasonable answers. 

Would you prefer moving this discussion to the other bug? I thought this was different enough that it warranted a new bug, but I had not read your last comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77521</commentid>
    <comment_count>3</comment_count>
    <who name="Joe Steele">steele</who>
    <bug_when>2012-10-31 15:47:13 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 17750 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>