<?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>22547</bug_id>
          
          <creation_ts>2013-07-02 23:49:59 +0000</creation_ts>
          <short_desc>Refer to key wrapping operation as &quot;wrapKey&quot; in parameter listings</short_desc>
          <delta_ts>2013-07-03 23:20:13 +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>All</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Roman">ericroman</reporter>
          <assigned_to name="Ryan Sleevi">sleevi</assigned_to>
          <cc>sleevi</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>90195</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Roman">ericroman</who>
    <bug_when>2013-07-02 23:49:59 +0000</bug_when>
    <thetext>In the per-algorithm datatables which list the (Operation x Parameters x Result), the possible choices for Operation are:

encrypt
decrypt
generateKey
deriveKey
sign
*wrap*
*unwrap*

Each of these operations is named exactly the same as a corresponding crypto.subtle method EXCEPT for wrap/unwrap.

For consistency I suggest renaming:
  &quot;wrap&quot; --&gt; &quot;wrapKey&quot;
  &quot;unwrap&quot; --&gt; &quot;unwrapKey&quot;.

See &quot;18.6. RSA-OAEP&quot; for an example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90202</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Roman">ericroman</who>
    <bug_when>2013-07-03 00:12:22 +0000</bug_when>
    <thetext>This also applies to the KeyUsage enumerated values, which lists &quot;wrap&quot; and &quot;unwrap&quot;. Would be consistent if these names corresponded with the operation on crypto.subtle</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90295</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2013-07-03 23:20:13 +0000</bug_when>
    <thetext>Fixed in https://dvcs.w3.org/hg/webcrypto-api/rev/ec111797d17a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>