<?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>22567</bug_id>
          
          <creation_ts>2013-07-03 23:06:04 +0000</creation_ts>
          <short_desc>Typographical errors in the Wrap/Unwrap method steps</short_desc>
          <delta_ts>2013-07-03 23:23:34 +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>FIXED</resolution>
          
          
          <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="Ryan Sleevi">sleevi</reporter>
          <assigned_to name="Ryan Sleevi">sleevi</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>90292</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2013-07-03 23:06:04 +0000</bug_when>
    <thetext>Raised by Michael Hutchinson on http://lists.w3.org/Archives/Public/public-webcrypto/2013Jun/0034.html

14.2.10. The wrapKey method

7 If Key.extractable is not true, terminate this algorithm with an error.

need &quot;Key&quot; to be lower case &quot;key&quot;

7 If key.extractable is not true, terminate this algorithm with an error.


14.2.11. The unwrapKey method

8 If Key.extractable is not true, terminate this algorithm with an error.

This does not make sense as Key has no association here; maybe a copy and paste from 14.2.10 7?

Should it not be

8 If unwrappingKey.extractable is true, terminate this algorithm with an error.

14.2.11. The unwrapKey method

9 Let bytes be the result of executing the decrypt algorithm, with unwrapAlgorithm as algorithm, unwrapKey as key, and with wrappedKey as buffer.

Should be

9 Let bytes be the result of executing the decrypt algorithm, with unwrapAlgorithm as algorithm, unwrappingKey as key, and with wrappedKey as buffer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90301</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2013-07-03 23:23:34 +0000</bug_when>
    <thetext>Fixed in https://dvcs.w3.org/hg/webcrypto-api/rev/0fd27a9abdd5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>