If you look at the XML DSig spec there is no association with any content of the signed XML Doc itself. But I must admit my knowledge of XML DSig is pretty rusty.<br><br><div class="gmail_quote">On Sun, Nov 1, 2009 at 8:55 PM, Peter Williams <span dir="ltr">&lt;<a href="mailto:home_pw@msn.com">home_pw@msn.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">








<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">The xml:id in the attribute grammar for the XRD element is still
needed for the optional digital signing feature. (Using xml:id is how xml dig
sig resolvers work, by default; so the library know which bit of the XML document
they are typically a part of they need to hash). On these grounds, it’s
not a ROTFL issue (*). </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">One has to be careful when signing things playing the role of certificates
(vs any other class of signed type). One needs to get the references right. (Go
see how in XRI 2.0 the xml:id is in both the certified name as well as in  signature’s
own metadata referring to the XMl element to be signed).</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">When I did the XRI/XRD trusted resolver coding (basically, just
finishing off what someone else had mostly already done in the openxri java source
tree), I used the default resolver of the apache dig sig library to resolve the
xml:id field in the DOM tree representing the XRD typed value.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">When I did later experimented with my own resolvers built on the
above success (and obviously no conforming to any standard), I used the http
resolver from the apache dig sig library, initially. This is when I started
wondering… well is the fragment on that http URI essentially playing the
role of xpointer (which can point to such as xml:id in an incoming stream)?</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Then I got into semweb, which teaches not to fall into the
xpointer type of trap, and let metadata describe what that http name is all
about. Don’t point at format level constructs by address; do refer to
semantic constructs by name.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">This all made sense (since dig sigs typically are semantically-unaware,
and properly act on serialization formats (i.e. its propert to use an xml:id class
reference). But, then I got into “higher” xml-design issues address
semantic-security claims - where the blob signer signs not the value in
question but merely a outlier value tied to the signature. It then refers to X.
X are commonly security tokens bound to SOAP headers (see the ws-security world).
But… X can be also be seen as a descriptor – i.e. metadata that describes
external resources using resource description frameworks (be they XRDs, or
RDFs).So it became fun to sign an XRD, where the XRD describes the
semantic-security of other XRDs. But, I was just playing around. So…
ignore!</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">(*) xml dsig is a ROTFL matter, since it was born out of
rejection of the 2 paragraphs ISO took to specify how to canonicalize BER-encoded
TLVs. The DARPA folks trained in cold war doctrine hated it (mostly because it
was ISO defined, where ISO was evil by definition, since it included evil
commie contributions). SO… the mindset helped engender what we now have…in
the xml dsig world (where it takes entire books to explain its canonicalization
process …based on pattern matching). While it would make sense if anyone
used xmldsig in “intelligent mode”, it doesn’t in practice
make sense: as folks only typically use Xml-dsig for purposes identical with
the thing that took ISO 2 paragraphs to describe!</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">But I think it’s all ultimately working out for the
better. It is time we dumped the ASN.1-signed cert, and moved to a signed XRD  that
looks like at least something design during the lifetime of the web! Ideally we
would move straight to a signed graph, but I dont see much evidence of that
happening soon (because of canoncalization issues, again!)</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">

<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> Santosh Rajan [mailto:<a href="mailto:santrajan@gmail.com" target="_blank">santrajan@gmail.com</a>] <br>

<b>Sent:</b> Sunday, November 01, 2009 6:24 AM<br>
<b>To:</b> Peter Williams<br>
<b>Cc:</b> <a href="mailto:general@openid.net" target="_blank">general@openid.net</a><br>
<b>Subject:</b> Re: [OpenID] host-meta and &quot;acct:&quot;</span></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal" style="margin-left:.5in"> </p>

<p class="MsoNormal" style="margin-left:.5in">Hehe Peter, another worm out of the
XRD can. Why does XRD 1.0 need to define a xml:id for XRD, given that it is the
root element of the XRD, there can only be one?</p>

<div>

<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">ROTFL if anyone has forgotten this acronym, it is
&quot;Rolling ON The Floor Laughing&quot;.</p>

<div>

<p class="MsoNormal" style="margin-left:.5in">On Sun, Nov 1, 2009 at 3:15 AM,
Peter Williams &lt;<a href="mailto:home_pw@msn.com" target="_blank">home_pw@msn.com</a>&gt;
wrote:</p>

<p class="MsoNormal" style="margin-left:.5in"><br>
Im tempted to say that the xml:id they used (in the abandoned initiative) a<br>
relic of the days when folks were still thinking about simplifing a sequence<br>
of XRDs, and the file recovered might need the locator to point out a<br>
particular one of several i the file (by denoting the xml:id on the XRD<br>
level element.)<br>
<br>
Be interesting to see if LRDD or webfinger has a non HTTP locator concept<br>
(based on that kind of xpointer-like URI). presumably it would only point to<br>
such as a &quot;see also other XRD&quot; location, rather than point out a
sub-element<br>
(such as a particular link). This could retain from the XRI days something<br>
of what used to be attached to the old ref (vs redirect) signal - and be<br>
used to the same management/authority transfer issues.</p>

<div>

<div>

<p class="MsoNormal" style="margin-left:.5in"><br>
<br>
<br>
Peter Williams wrote:<br>
&gt;<br>
&gt; I compared the work product you referenced with<br>
&gt; <a href="http://xrds-simple.net/core/1.0/" target="_blank">http://xrds-simple.net/core/1.0/</a>
(an abandoned work).<br>
&gt;<br>
&gt; Just note the sheer difference in writing style! While staying within the<br>
&gt; scope of the IETF work item, the I-D will ideally go back to the mixed<br>
&gt; description/specification style of the pro-genitor work.<br>
&gt;<br>
&gt; Once one becomes a formal WG chair, it&#39;s tempting to be so concise and<br>
&gt; embue such logical correctness into English terms while specification<br>
&gt; writing that it ends up sounding like one of those immortal OSI standards<br>
&gt; from CCITT/ISO - written in a technical language that only 3 people in the<br>
&gt; world could speak natively. And they all sat on the committee.<br>
&gt;<br>
&gt; The earlier work I cited does address an issue I dont understand - once<br>
&gt; cast into current XRD 1.0 and host-meta terms. See<br>
&gt; <a href="http://xrds-simple.net/core/1.0/#go_fetch" target="_blank">http://xrds-simple.net/core/1.0/#go_fetch</a>
(last paragraph). The topic is<br>
&gt; refering to elements of an XRD, given the locator url and its fragments.<br>
&gt;<br>
&gt; The problem I had initially with your criticism, if you recall, had<br>
&gt; ignorant ol&#39; me focussing on the XRD.Link.Subject (vs XRD.Subject). I<br>
&gt; wanted the URI (with fragment) to refer to a particular link element, in<br>
&gt; order that the metadata in the link acted as descriptor for that (naming)<br>
&gt; URI. This seemed to align XRD and openid identifiers with semweb. This<br>
&gt; would allow us all to observe only 1 religion about names and addresses.<br>
&gt;<br>
&gt; In the abandoned work, fragments on (I think) &quot;returned&quot;
locators in such<br>
&gt; as the HTTP Response X-XRDS-Locator URI (or a meta&#39;s http-equiv content<br>
&gt; value) could have fragments, which might have pointed to a particular<br>
&gt; element link within the XRD, once retrieved. The fragments had seemingly<br>
&gt; special relationship to the xml:id value (an XML construct) on the link<br>
&gt; element rather than the link.subject (an XRD construct) in the link<br>
&gt; markup.<br>
&gt;<br>
&gt; For my part, I now struggle on that topic with the current proposal: what<br>
&gt; concepts got dropped or recast in new form? Things start to swirl.<br>
&gt;<br>
&gt; Was the XRDS-Locator different to a 301, 302 or 303, in some subtle way?<br>
&gt; Was there some inner subtlety about using xml:id (given its relationship<br>
&gt; to DOM3 trees)? Was there a hookup with issues of xml dsig signing (and<br>
&gt; its default resolvers)? Did the whole issue just disappear? if so, why and<br>
&gt; what cost?<br>
&gt;<br>
&gt; Some of this context is what the IETF I-D needs to bring back, rather than<br>
&gt; be so parsimonious and doctrinal about domains are XRi-like authorities,<br>
&gt; authorities in URI schemes are an embodiment of XRI-like authorities,<br>
&gt; domains and domain-names have a mystical relationships to authority<br>
&gt; fields scheme (and thence to the authorites governing an RDF graph<br>
&gt; node)..... cocnepts that only the higher initiates in the identity gang<br>
&gt; can comprehend.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; <a href="http://xrds-simple.net/core/1.0/" target="_blank">http://xrds-simple.net/core/1.0/</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Santosh Rajan wrote:<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://www.ietf.org/id/draft-hammer-hostmeta-01.txt" target="_blank">http://www.ietf.org/id/draft-hammer-hostmeta-01.txt</a><br>
&gt;&gt;<br>
&gt;&gt; If you have read the spec above, you will wonder where did the
&quot;acct:&quot;<br>
&gt;&gt; scheme come from. It came from webfinger. The host-meta spec has been<br>
&gt;&gt; work in progress for a while now. Its predecessor was the
&quot;site-meta&quot;<br>
&gt;&gt; spec. The idea of webfinger came later, in may 2009,and the idea of<br>
&gt;&gt; &quot;acct:&quot; about two months back. Given that webfinger is to
follow<br>
&gt;&gt; host-meta, the question is &quot;How come host-meta is following<br>
&gt;&gt; webfinger?&quot;.<br>
&gt;&gt;<br>
&gt;&gt; Think about it. There is an obvious attempt to legitimize the
&quot;acct:&quot;<br>
&gt;&gt; scheme here. That is not a bad idea. I like it actually. Consider<br>
&gt;&gt; this. If I type &quot;<a href="mailto:acct%3Asantrajan@gmail.com" target="_blank">acct:santrajan@gmail.com</a><br>
&gt;&gt; &lt;<a href="mailto:acct%253Asantrajan@gmail.com" target="_blank">acct%3Asantrajan@gmail.com</a>&gt;&quot;
into my browser location bar, my browser<br>
&gt;&gt; would retrieve my XRD. Now this is an extreme example. But I hope you<br>
&gt;&gt; get the idea. If not please ask me.<br>
&gt;&gt;<br>
&gt;&gt; Unfortunately I have a problem with this idea, even though I like it,<br>
&gt;&gt; this is not the way to do it. The problem is that if you want to<br>
&gt;&gt; legitimize &quot;acct:&quot; you need to be a software engineer
contortionist.<br>
&gt;&gt; You need to &quot;Reject&quot; Subject from the host-meta, and you
need to add<br>
&gt;&gt; &quot;Scope&quot; into the host-meta.<br>
&gt;&gt;<br>
&gt;&gt; My contention is that if you really want to this, (and I like the<br>
&gt;&gt; idea), let us get all the DNS, w3c folk on board and do it. Doing it<br>
&gt;&gt; via the &quot;backdoor&quot; is going to cause more harm to the
&quot;identity<br>
&gt;&gt; movement&quot; than good.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; <a href="http://hi.im/santosh" target="_blank">http://hi.im/santosh</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; general mailing list<br>
&gt;&gt; <a href="mailto:general@lists.openid.net" target="_blank">general@lists.openid.net</a><br>
&gt;&gt; <a href="http://lists.openid.net/mailman/listinfo/openid-general" target="_blank">http://lists.openid.net/mailman/listinfo/openid-general</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; -----<br>
&gt;&gt;<br>
&gt;&gt; Santosh Rajan<br>
&gt;&gt; <a href="http://santrajan.blogspot.com" target="_blank">http://santrajan.blogspot.com</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
<br>
--</p>

</div>

</div>

<p class="MsoNormal" style="margin-left:.5in">View this message in context: <a href="http://old.nabble.com/host-meta-and-%22acct%3A%22-tp26079872p26146197.html" target="_blank">http://old.nabble.com/host-meta-and-%22acct%3A%22-tp26079872p26146197.html</a></p>


<div>

<div>

<p class="MsoNormal" style="margin-left:.5in">Sent from the OpenID - General
mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
general mailing list<br>
<a href="mailto:general@lists.openid.net" target="_blank">general@lists.openid.net</a><br>
<a href="http://lists.openid.net/mailman/listinfo/openid-general" target="_blank">http://lists.openid.net/mailman/listinfo/openid-general</a></p>

</div>

</div>

</div>

<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in"><br>
<br clear="all">
<br>
-- <br>
<a href="http://hi.im/santosh" target="_blank">http://hi.im/santosh</a><br>
<br>
</p>

</div>

</div></div></div>

</div>


</blockquote></div><br><br clear="all"><br>-- <br><a href="http://hi.im/santosh">http://hi.im/santosh</a><br><br><br>