<br><br><div class="gmail_quote">On Fri, Jul 10, 2009 at 11:46 AM, Peter Williams <span dir="ltr">&lt;<a href="mailto:pwilliams@rapattoni.com">pwilliams@rapattoni.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
There is a relationship between 2 https urls (which have their own trust chains of certs), and there is a chain of certs in the xrd.<br>
<br>
Is there a writeup of the validation logic, combining all the trust signals for the signing keys?<br>
</blockquote><div><br></div><div>There is something here: <a href="https://sites.google.com/site/oauthgoog/fedlogininterp/openiddiscovery">https://sites.google.com/site/oauthgoog/fedlogininterp/openiddiscovery</a>, but mostly this has been a discussion on the XRI TC.</div>
<div> </div><div>But anyway, the point wasn&#39;t really to ask whether the discovery mechanism makes sense (that discussion is happening in the XRI TC), but which XML namespaces to use in a proof-of-concept implementation that is supposed to showcase the state of the discussion before the spec is gelled down.</div>
<div><br>Dirk.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Its looks rather like its setup for a saml hok type validation logic, where the ssl client has to show knowledge of a secret.if that secret is derived (properly) from the ssl master secret, such that uer-sr ssl session can validate the hok secret, folk are on the right track. But folkshave to disclose the crypto used to link the 2 ssl sessions. If the crypto for that leverages the key in the xrd&#39;s own certs, then I can see how it would all work - and I see how that can also serve as a &quot;custom&quot; association handle (rather than using the awful inband dh).<br>

<br>
<br>
<br>
<br>
________________________________<br>
From: Dirk Balfanz &lt;<a href="mailto:balfanz@google.com">balfanz@google.com</a>&gt;<br>
Sent: Friday, July 10, 2009 11:26 AM<br>
To: <a href="mailto:specs@openid.net">specs@openid.net</a> &lt;<a href="mailto:specs@openid.net">specs@openid.net</a>&gt;; <a href="mailto:general@openid.net">general@openid.net</a> List &lt;<a href="mailto:general@openid.net">general@openid.net</a>&gt;<br>

Subject: Re: [OpenID] experimental namespace for <a href="http://openid.net" target="_blank">openid.net</a><br>
<br>
[+<a href="mailto:general@openid.net">general@openid.net</a>&lt;mailto:<a href="mailto:general@openid.net">general@openid.net</a>&gt; for a broader audience]<br>
<div class="im"><br>
On Thu, Jul 9, 2009 at 4:45 PM, Dirk Balfanz &lt;<a href="mailto:balfanz@google.com">balfanz@google.com</a>&lt;mailto:<a href="mailto:balfanz@google.com">balfanz@google.com</a>&gt;&gt; wrote:<br>
Hi guys,<br>
<br>
Google would like to launch a feature in which we&#39;re allowing our Google Apps hosted domains to become OpenID providers. The authentication part of it is pretty simple - Google is already logging in users to their apps, so we can also host an OP endpoint for those domains and send assertions back to Relying Parties. What is more difficult is the discovery part. We have been working with the XRI TC to define a XRD-based discovery protocol that would allow this kind of hosting of discovery documents on behalf of our customers.<br>

<br>
We believe that providing proof-of-concept implementations drives standardization processes forward, so in this spirit we want to launch this feature in the near future, using a discovery protocol that as far as we can tell meets all the requirements of what the XRI TC is currently converging on, but which has not been vetted as an official standard (it&#39;s a chicken and egg thing - without PoC no standards, without standards by definition no standards-compliant implementations).<br>

<br>
</div>While we were tossing around ideas &lt;<a href="http://markmail.org/message/ixc5led2lobdwij2" target="_blank">http://markmail.org/message/ixc5led2lobdwij2</a>&gt; in the standardization committees we just used random identifiers for new XML namespaces, etc. that we would need for this discovery protocol. Now that we&#39;re about to launch we need to decide what to call these things. We would like to use a namespace in <a href="http://specs.openid.net/." target="_blank">http://specs.openid.net/.</a>.. because we want this kind of discovery protocol to be part of OpenID, but we can&#39;t really use them because we don&#39;t have a next-generation discovery protocol yet.<br>

<div class="im"><br>
So what should we use? How about <a href="http://experimental.openid.net/." target="_blank">http://experimental.openid.net/.</a>.. ? That way, Relying Parties know that what we&#39;re trying to do is be a part of the OpenID community and bring the protocol forward. On the other hand, this would also be a signal to the RP that they&#39;re using a feature that has not been vetted as a standard yet.<br>

<br>
</div>For example, a discovery document for a domain <a href="http://balfanz.net" target="_blank">balfanz.net</a>&lt;<a href="http://balfanz.net" target="_blank">http://balfanz.net</a>&gt; at Google might look like this (notice the &quot;experimental&quot; namespace and the XML elements using it):<br>

<div class="im"><br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;xrds:XRDS xmlns:xrds=&quot;xri://$xrds&quot; xmlns=&quot;xri://$xrd*($v*2.0)&quot;&gt;<br>
  &lt;ds:Signature xmlns:ds=&quot;<a href="http://www.w3.org/2000/09/xmldsig#" target="_blank">http://www.w3.org/2000/09/xmldsig#</a>&quot;&gt;<br>
  &lt;ds:SignedInfo&gt;<br>
  &lt;ds:CanonicalizationMethod Algorithm=&quot;<a href="http://docs.oasis-open.org/xri/xrd/2009/01#canonicalize-raw-octets" target="_blank">http://docs.oasis-open.org/xri/xrd/2009/01#canonicalize-raw-octets</a>&quot; /&gt;<br>

  &lt;ds:SignatureMethod Algorithm=&quot;<a href="http://www.w3.org/2000/09/xmldsig#rsa-sha1" target="_blank">http://www.w3.org/2000/09/xmldsig#rsa-sha1</a>&quot; /&gt;<br>
  &lt;/ds:SignedInfo&gt;<br>
  &lt;ds:KeyInfo&gt;<br>
  &lt;ds:X509Data&gt;<br>
  &lt;ds:X509Certificate&gt;<br>
  MIICgjCCA...<br>
  &lt;/ds:X509Certificate&gt;<br>
  &lt;ds:X509Certificate&gt;<br>
  MIICsDCCAhmgAwIB...<br>
  &lt;/ds:X509Certificate&gt;<br>
  &lt;/ds:X509Data&gt;<br>
  &lt;/ds:KeyInfo&gt;<br>
  &lt;/ds:Signature&gt;<br>
  &lt;XRD&gt;<br>
</div>  &lt;CanonicalID&gt;<a href="http://balfanz.net" target="_blank">balfanz.net</a>&lt;<a href="http://balfanz.net" target="_blank">http://balfanz.net</a>&gt;&lt;/CanonicalID&gt;<br>
<div class="im">  &lt;Service priority=&quot;0&quot;&gt;<br>
  &lt;Type&gt;<a href="http://specs.openid.net/auth/2.0/server" target="_blank">http://specs.openid.net/auth/2.0/server</a>&lt;/Type&gt;<br>
  &lt;Type&gt;<a href="http://openid.net/srv/ax/1.0" target="_blank">http://openid.net/srv/ax/1.0</a>&lt;/Type&gt;<br>
  &lt;Type&gt;<a href="http://specs.openid.net/extensions/pape/1.0" target="_blank">http://specs.openid.net/extensions/pape/1.0</a>&lt;/Type&gt;<br>
  &lt;URI&gt;<a href="https://www.google.com/a/balfanz.net/o8/ud?be=o8" target="_blank">https://www.google.com/a/balfanz.net/o8/ud?be=o8</a>&lt;/URI&gt;<br>
  &lt;/Service&gt;<br>
  &lt;Service priority=&quot;0&quot; xmlns:experimental=&quot;<a href="http://experimental.openid.net/google/2009/07/xmlns/" target="_blank">http://experimental.openid.net/google/2009/07/xmlns/</a>&quot;&gt;<br>
  &lt;Type&gt;<a href="http://www.iana.org/assignments/relation/describedby" target="_blank">http://www.iana.org/assignments/relation/describedby</a>&lt;/Type&gt;<br>
  &lt;MediaType&gt;application/xrds+xml&lt;/MediaType&gt;<br>
</div>  &lt;experimental:URITemplate&gt;<a href="https://www.google.com/accounts/o8/user-xrds?uri={%uri}" target="_blank">https://www.google.com/accounts/o8/user-xrds?uri={%uri}</a>&lt;<a href="https://www.google.com/accounts/o8/user-xrds?uri=%7B%uri%7D" target="_blank">https://www.google.com/accounts/o8/user-xrds?uri=%7B%uri%7D</a>&gt;&lt;/experimental:URITemplate&gt;<br>

  &lt;experimental:NextAuthority&gt;<a href="http://hosted-id.google.com" target="_blank">hosted-id.google.com</a>&lt;<a href="http://hosted-id.google.com" target="_blank">http://hosted-id.google.com</a>&gt;&lt;/experimental:NextAuthority&gt;<br>

<div><div></div><div class="h5">  &lt;/Service&gt;<br>
  &lt;/XRD&gt;<br>
&lt;/xrds:XRDS&gt;<br>
<br>
What do you guys think?<br>
<br>
Dirk.<br>
<br>
</div></div></blockquote></div><br>