<?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>24172</bug_id>
          
          <creation_ts>2013-12-28 01:49:35 +0000</creation_ts>
          <short_desc>Parameters listed for importKey() should include the hash</short_desc>
          <delta_ts>2014-02-13 12:59:00 +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="Eric Roman">ericroman</reporter>
          <assigned_to name="Ryan Sleevi">sleevi</assigned_to>
          <cc>ap</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97877</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Roman">ericroman</who>
    <bug_when>2013-12-28 01:49:35 +0000</bug_when>
    <thetext>For HMAC lists &quot;HmacParams&quot; as the required parameter to importKey().

The following functions list &quot;None&quot; as the required parameter to importKey():

RSA-OAEP
RSA-PSS
RSASSA-PKCS1-v1_5

However they too should include a parameter for the &quot;hash&quot; property, so that the key can be fixed with the choice of the hash function at creation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100522</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2014-02-13 12:59:00 +0000</bug_when>
    <thetext>I believe this is resolved with https://dvcs.w3.org/hg/webcrypto-api/rev/2fa3494f0179</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>