<?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>26123</bug_id>
          
          <creation_ts>2014-06-17 22:19:40 +0000</creation_ts>
          <short_desc>Key ID definition should be aligned with JWK kid definition</short_desc>
          <delta_ts>2014-06-17 22:19: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>WebCrypto Key Discovery</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Mike Jones">Michael.Jones</reporter>
          <assigned_to name="Mark Watson">watsonm</assigned_to>
          <cc>public-webcrypto</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>107971</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Jones">Michael.Jones</who>
    <bug_when>2014-06-17 22:19:40 +0000</bug_when>
    <thetext>The Key Discovery draft currently includes this definition:

6.2 NamedKey interface
WebIDLinterface NamedKey : Key {
    readonly    attribute DOMString  name;
    readonly    attribute DOMString? id;
};

and says that the id should be the base64 encoded representation of a sequence of no more than 256 bytes.

Whereas, JWK defines the &quot;kid&quot; (Key ID) field as a case-sensitive string in http://tools.ietf.org/html/draft-ietf-jose-json-web-key-27#section-4.5.

These should be aligned.  Specifically, please change the name &quot;id&quot; in this structure to &quot;kid&quot; and state that its value is a case-sensitive string.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>