<?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>25718</bug_id>
          
          <creation_ts>2014-05-14 22:36:23 +0000</creation_ts>
          <short_desc>Support RSA-OAEP with the SHA-2* family of algorithms in JWK</short_desc>
          <delta_ts>2014-06-16 23:13:40 +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>
          <cc>ak</cc>
    
    <cc>public-webcrypto</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106000</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2014-05-14 22:36:23 +0000</bug_when>
    <thetext>The current specification describes the JWA alg &quot;RSA-OAEP&quot;, which is RSA-OAEP with SHA-1 and MGF-1 SHA-1.

However, additional algorithms are supported in WebCrypto - namely, SHA-256, SHA-384, and SHA-512 - and their representation in JWK is not described (as noted in Appendix A)

JOSE has decided that the naming format will be &quot;RSA-OAEP-256&quot; for RSA-OAEP with SHA-256 and MGF-1 SHA-256 in the most recent drafts.

The specification for Import Key and Export Key for RSA-OAEP should be updated to reflect the table-based nature of the hash algorithm. Currently, Step 5 of Import for JWK states &quot;if the alg field of jwk is present, and is not RSA-OAEP, return an error named DataError&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107887</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2014-06-16 23:13:40 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/webcrypto-api/rev/a4cb70fcc0bb</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>