No subject


Fri Jun 12 00:51:43 UTC 2009


possible,<br>
so if we can stick to XML DSig, that&#39;s great.<br>
<br>
Now, here is another question then.<br>
<br>
If libraries with decent API becomes available to each language,<br>
written in that language, and is tested for compatibility to each other,<br=
>
would you be amiable to this constrained form of XML DSig?<br>
<br>
=3Dnat<br>
<br>
On Thu, 11 Jun 2009 16:14:56 +0200, David Garcia &lt;<a href=3D"mailto:davi=
d.garcia at tractis.com">david.garcia at tractis.com</a>&gt;<br>
wrote:<br>
<div><div></div><div class=3D"h5">&gt; Hi Hans,<br>
&gt;<br>
&gt; this project offers a set of wrappers over xmlsec library used on many=
<br>
c++<br>
&gt; envs. I used it a lot and their equivalent in Java for some years on<b=
r>
&gt; critical production envs and they&#39;re very mature.<br>
&gt;<br>
&gt; Dealing with xml data as opaque bits (a simplified xml version of CMS<=
br>
&gt; signature containers) instead of interpreting the infoset as proposed<=
br>
will<br>
&gt; be a much simpler approach because it eliminates the need of using c14=
n<br>
&gt; and<br>
&gt; transform algorithms (not mandatory but recommended on some scenarios)=
.<br>
&gt;<br>
&gt; Maybe this simpler approach will fit for message exchange.<br>
&gt;<br>
&gt; Best regards<br>
&gt;<br>
&gt; Dave Garcia<br>
&gt;<br>
&gt;<br>
&gt; 2009/6/11 Hans Granqvist &lt;<a href=3D"mailto:hans at granqvist.com">han=
s at granqvist.com</a>&gt;<br>
&gt;<br>
&gt;&gt; Perhaps someone from VeriSign (Barry? Gary?) can comment on the<br=
>
&gt; viability<br>
&gt;&gt; of<br>
&gt;&gt; <a href=3D"http://xmlsig.sourceforge.net/" target=3D"_blank">http:=
//xmlsig.sourceforge.net/</a><br>
&gt;&gt;<br>
&gt;&gt; Hans<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Jun 10, 2009 at 11:54 PM, John Panzer&lt;<a href=3D"mailto=
:jpanzer at acm.org">jpanzer at acm.org</a>&gt; wrote:<br>
&gt;&gt; &gt; My general impression is that something that requires two pie=
ces of<br>
&gt;&gt; software<br>
&gt;&gt; &gt; to agree on an exact, bit for bit infoset representation of a=
n XML<br>
&gt;&gt; document<br>
&gt;&gt; &gt; in order to get security to work is a poor idea. =A0I have se=
en no wide<br>
&gt;&gt; &gt; deployments/usage of DSig in Atom feeds -- despite it being p=
art of<br>
&gt; the<br>
&gt;&gt; spec<br>
&gt;&gt; &gt; -- and many complaints about how it&#39;s not possible to get=
 it to work<br>
&gt;&gt; &gt; reliably given the software stacks currently in use. =A0The d=
ifficulties<br>
&gt;&gt; with<br>
&gt;&gt; &gt; canonicalization-for-signing in OAuth implementations have al=
so<br>
&gt;&gt; reinforced<br>
&gt;&gt; &gt; my belief that it&#39;s much better to err on the side of the=
 robust and<br>
&gt;&gt; simple.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Signing a stream of uninterpreted bytes cuts out a whole slew=
 of<br>
&gt; failure<br>
&gt;&gt; &gt; modes, and the ones that remain are debuggable -- the bytes m=
atch or<br>
&gt; they<br>
&gt;&gt; &gt; don&#39;t, and standard tools can tell you which. =A0It means=
 it&#39;s possible<br>
&gt; to<br>
&gt;&gt; &gt; verify a signature with curl + a command line utility. =A0The=
se are all<br>
&gt;&gt; very<br>
&gt;&gt; &gt; good things.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; (As a side note, it would also make the content type orthogon=
al to the<br>
&gt;&gt; &gt; signature code -- this is a good thing.)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; So, +1 for the simplest form of signing that could possibly w=
ork.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; -John<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Johannes Ernst wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I proposed something I called XML-RSig for similar reasons a =
few years<br>
&gt;&gt; ago:<br>
&gt;&gt; &gt;<br>
&gt;&gt; <a href=3D"http://netmesh.info/jernst/Technical/really-simple-xml-=
signatures.html" target=3D"_blank">http://netmesh.info/jernst/Technical/rea=
lly-simple-xml-signatures.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; &quot;RSig&quot; for &quot;Really simple Signature&quot;.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The trouble for OpenID and XRD and so forth is that it is not=
 our core<br>
&gt;&gt; &gt; competency -- and shouldn&#39;t be -- to innovate around thin=
gs that<br>
&gt; really<br>
&gt;&gt; &gt; aren&#39;t our business. Signing XML documents isn&#39;t our =
business.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On the other hand, the people whose business it should be som=
ehow seem<br>
&gt; to<br>
&gt;&gt; be<br>
&gt;&gt; &gt; asleep at the wheel, as the problems are well-known and someh=
ow aren&#39;t<br>
&gt;&gt; being<br>
&gt;&gt; &gt; addressed, and haven&#39;t for years.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; It seems to me that the best way out of this conundrum is:<br=
>
&gt;&gt; &gt; 1. to foresee, architecturally, the use of several different =
ways of<br>
&gt;&gt; &gt; constructing signatures, as the matter clearly isn&#39;t sett=
led<br>
&gt;&gt; &gt; 2. to make sure that high-end approaches (like XML-DSIG) work=
 well,<br>
&gt; but<br>
&gt;&gt; &gt; low-end approaches (like XML-RSIG) work just as well<br>
&gt;&gt; &gt; 3. to maintain a best practices document that says &quot;toda=
y, choice X is<br>
&gt;&gt; your<br>
&gt;&gt; &gt; best bet, and we say that because based on our market researc=
h, X has<br>
&gt; the<br>
&gt;&gt; &gt; highest market share in terms of implementors today.&quot;<br=
>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; As we all know, any problem in computer science can be solved=
 by<br>
&gt; adding a<br>
&gt;&gt; &gt; level of indirection. This may well be one of those cases.<br=
>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Johannes Ernst<br>
&gt;&gt; &gt; NetMesh Inc.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ________________________________<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ________________________________<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; =A0<a href=3D"http://netmesh.info/jernst" target=3D"_blank">h=
ttp://netmesh.info/jernst</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ________________________________<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; specs mailing list<br>
&gt;&gt; &gt; <a href=3D"mailto:specs at openid.net">specs at openid.net</a><br>
&gt;&gt; &gt; <a href=3D"http://openid.net/mailman/listinfo/specs" target=
=3D"_blank">http://openid.net/mailman/listinfo/specs</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; specs mailing list<br>
&gt;&gt; &gt; <a href=3D"mailto:specs at openid.net">specs at openid.net</a><br>
&gt;&gt; &gt; <a href=3D"http://openid.net/mailman/listinfo/specs" target=
=3D"_blank">http://openid.net/mailman/listinfo/specs</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; specs mailing list<br>
&gt;&gt; <a href=3D"mailto:specs at openid.net">specs at openid.net</a><br>
&gt;&gt; <a href=3D"http://openid.net/mailman/listinfo/specs" target=3D"_bl=
ank">http://openid.net/mailman/listinfo/specs</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; David Garcia<br>
&gt; CTO<br>
&gt;<br>
&gt; Tractis - Online contracts you can enforce<br>
&gt; <a href=3D"http://www.tractis.com" target=3D"_blank">http://www.tracti=
s.com</a><br>
&gt; --<br>
&gt; Tel: (34) 93 551 96 60 (ext. 260)<br>
&gt;<br>
&gt; Email: <a href=3D"mailto:david.garcia at tractis.com">david.garcia at tracti=
s.com</a><br>
&gt; Blog: <a href=3D"http://blog.negonation.com" target=3D"_blank">http://=
blog.negonation.com</a><br>
&gt; Twitter: <a href=3D"http://twitter.com/tractis" target=3D"_blank">http=
://twitter.com/tractis</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><br>-- <br>David Garci=
a<br>CTO<br><br>Tractis - Online contracts you can enforce<br><a href=3D"ht=
tp://www.tractis.com">http://www.tractis.com</a><br>--<br>Tel: (34) 93 551 =
96 60 (ext. 260) <br>
<br>Email: <a href=3D"mailto:david.garcia at tractis.com">david.garcia at tractis=
.com</a><br>Blog: <a href=3D"http://blog.negonation.com">http://blog.negona=
tion.com</a><br>Twitter: <a href=3D"http://twitter.com/tractis">http://twit=
ter.com/tractis</a><br>


--000e0cd6ae5817e385046c22c783--


More information about the specs mailing list