<?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>26320</bug_id>
          
          <creation_ts>2014-07-12 21:03:41 +0000</creation_ts>
          <short_desc>RsaHashedKeyAlgorithm inherits from RsaKeyAlgorithm</short_desc>
          <delta_ts>2014-10-22 21:20:49 +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>WONTFIX</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="Richard Barnes">rlb</reporter>
          <assigned_to name="Mark Watson">watsonm</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>public-webcrypto</cc>
    
    <cc>rlb</cc>
    
    <cc>sleevi</cc>
    
    <cc>watsonm</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108887</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Barnes">rlb</who>
    <bug_when>2014-07-12 21:03:41 +0000</bug_when>
    <thetext>With the removal of RSAES-PKCS1-v1_5, the dictionary RsaKeyAlgorithm disappeared as well.  So RsaHashedKeyAlgorithm needs to inherit directly from KeyAlgorithm, not from RsaKeyAlgorithm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112215</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Watson">watsonm</who>
    <bug_when>2014-09-25 22:58:07 +0000</bug_when>
    <thetext>This seems straightforward.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112230</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Watson">watsonm</who>
    <bug_when>2014-09-26 00:46:42 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/webcrypto-api/rev/06d1b5781e13</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112772</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2014-10-07 02:18:41 +0000</bug_when>
    <thetext>Reopening.

The resolution introduced two dictionaries that are unused, except for inheritance purposes. With the removal of RSAES-PKCS1-v1_5, these dictionaries should be folded as members of RsaHashedKeyGenParams / RsaHashedKeyAlgorithm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112788</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Watson">watsonm</who>
    <bug_when>2014-10-07 14:08:07 +0000</bug_when>
    <thetext>Well, inheritance is a form os use, so they are not unused.

I left these separate because it seemed like it might be useful to have the base definitions available for algorithms that use RSA keys without parameterization with a hash. If the removed RSA-ES is the only such algorithm that will ever exist, then indeed these dictionaries would never be used.

This is entirely editorial anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112932</commentid>
    <comment_count>5</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2014-10-09 21:37:00 +0000</bug_when>
    <thetext>(In reply to Mark Watson from comment #4)
&gt; Well, inheritance is a form os use, so they are not unused.
&gt; 
&gt; I left these separate because it seemed like it might be useful to have the
&gt; base definitions available for algorithms that use RSA keys without
&gt; parameterization with a hash. If the removed RSA-ES is the only such
&gt; algorithm that will ever exist, then indeed these dictionaries would never
&gt; be used.
&gt; 
&gt; This is entirely editorial anyway.

We had great discussions with the TAG and Boris on the non-idiomatic approach to inheritance, with multiple vendors expressing concerns over the &quot;C++ style&quot; API.

I think we can and should nuke the inheritance, as it&apos;s visible (as has been noted before)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112934</commentid>
    <comment_count>6</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2014-10-09 21:53:50 +0000</bug_when>
    <thetext>Dictionary inheritance is just a spec artifact; it&apos;s not visible in any way that I&apos;m aware of...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113601</commentid>
    <comment_count>7</comment_count>
    <who name="Mark Watson">watsonm</who>
    <bug_when>2014-10-22 21:20:49 +0000</bug_when>
    <thetext>As per comment#6 there is no visible difference between the current specification and combining the dictionary definitions.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>