<?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>23016</bug_id>
          
          <creation_ts>2013-08-19 23:55:40 +0000</creation_ts>
          <short_desc>Key.usage is not tested by encrypt(), decrypt(), sign(), verify()</short_desc>
          <delta_ts>2013-08-30 01:10:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Web Cryptography</product>
          <component>Web Cryptography API Document</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>22598</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="Eric Roman">ericroman</reporter>
          <assigned_to name="Ryan Sleevi">sleevi</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92308</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Roman">ericroman</who>
    <bug_when>2013-08-19 23:55:40 +0000</bug_when>
    <thetext>My expectation is that if encrypt() is called with a Key whose &quot;usages&quot; does not contain &quot;encrypt&quot;, it should reject the promise with an error.

However I don&apos;t see any text for the aforementioned operations which describes this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92723</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Roman">ericroman</who>
    <bug_when>2013-08-30 01:10:28 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>