<?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>21879</bug_id>
          
          <creation_ts>2013-04-30 17:36:50 +0000</creation_ts>
          <short_desc>Unable to access certificate information in the API</short_desc>
          <delta_ts>2014-12-15 10:39:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebRTC Working Group</product>
          <component>WebRTC API</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>LATER</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>
          <dependson>27224</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Thomson">martin.thomson</reporter>
          <assigned_to name="Web RTC Working Group">public-webrtc</assigned_to>
          <cc>harald</cc>
    
    <cc>public-webrtc</cc>
    
    <cc>w3c-bugzilla</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87018</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Thomson">martin.thomson</who>
    <bug_when>2013-04-30 17:36:50 +0000</bug_when>
    <thetext>The identity of the peer for an RTCPeerConnection is valuable information.  Current work concentrates on the mechanisms for authenticating this peer and presenting identification information on browser chrome.  No API surface is provided for inspecting the certificate presented by the peer.  No API surface is provided for inspecting the certificate that will be presented to the peer.

Providing access to certificates allows an application to make in-content assertions about the peer identity, as well as provide additional checks.  For instance, an application might be unable to use peer identity, but can provide their own assurances about peer identity.

In terms of what information is provided, this doesn&apos;t need to be robust.  I don&apos;t know what the WebCrypto group has done so far on this, but taking advantage of any API defined there is probably sensible.  At a minimum, this should provide access to the CN, DER-encoded certificate and a couple of certificate fingerprints (SHA-1 and SHA-256 probably).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87020</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Thomson">martin.thomson</who>
    <bug_when>2013-04-30 17:41:57 +0000</bug_when>
    <thetext>(I forgot to add this.)  Certificate information should be available even if the peer identity doesn&apos;t carry an identity assertion from an IDP.  That means that the RTCIdentityAssertion probably isn&apos;t the right place to add this information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114171</commentid>
    <comment_count>2</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-10-28 19:01:37 +0000</bug_when>
    <thetext>Stats has defined stats items that allow access to certificates.
Would these satisfy the issue?
If so, we&apos;ll move this bug to be on stats.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114341</commentid>
    <comment_count>3</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-10-31 16:27:17 +0000</bug_when>
    <thetext>Included in RTPSender proposal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114458</commentid>
    <comment_count>4</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-11-03 23:21:38 +0000</bug_when>
    <thetext>The API suggested is on the Transports proposal: Bug 27224.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116328</commentid>
    <comment_count>5</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2014-12-15 10:39:41 +0000</bug_when>
    <thetext>WebRTC API bugs have been moved to github issues: https://github.com/w3c/webrtc-pc/issues

Please subscribe to the issues you want to keep watching.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>