<?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>24441</bug_id>
          
          <creation_ts>2014-01-29 21:42:11 +0000</creation_ts>
          <short_desc>Typos in usages to JWK mapping description</short_desc>
          <delta_ts>2014-02-20 20:54:14 +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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Ryan Sleevi">sleevi</assigned_to>
          <cc>watsonm</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>99439</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-01-29 21:42:11 +0000</bug_when>
    <thetext>1. &quot;then the WebCryto KeyUsages specified by this JWK shall be as specified in the following table&quot;

WebCryto -&gt; WebCrypto

2.
JWK use value	WebCrypto Key.usages value
enc	[ &quot;encrypt&quot;, &quot;decrypt&quot;, &quot;wrap&quot;, &quot;unwrap&quot; ]
sig	[ &quot;sign&quot;, &quot;verify&quot; ]

wrap-&gt;wrapKey
unwrap-&gt;unwrapKey

3. &quot;When importing a JWK format key into a WebCrypto Key object, if the key_ops member is present then the WebCryto KeyUsages specified by this JWK shall be equal to the values listed in key_ops where each JWK key_ops value maps to the WebCryto KeyUsage value of the same name&quot;

Except for wrap/unwrap, which have different names in JWK and in WebCrypto.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99939</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Watson">watsonm</who>
    <bug_when>2014-02-06 19:57:42 +0000</bug_when>
    <thetext>For (3), it looks like JOSE will align with our naming: http://www.ietf.org/mail-archive/web/jose/current/msg03919.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99947</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Watson">watsonm</who>
    <bug_when>2014-02-06 20:35:16 +0000</bug_when>
    <thetext>*** Bug 24489 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99970</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Watson">watsonm</who>
    <bug_when>2014-02-07 02:40:46 +0000</bug_when>
    <thetext>1) https://dvcs.w3.org/hg/webcrypto-api/rev/61c996d65ab0
2) https://dvcs.w3.org/hg/webcrypto-api/rev/a153a17a5884
3) Waiting on JOSE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101018</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Watson">watsonm</who>
    <bug_when>2014-02-20 20:54:14 +0000</bug_when>
    <thetext>JOSE have aligned with us and the mapping is now specified explicitly in the operation descriptions.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>