Re: Ill-desiged transform sequences

Christian Geuer-Pollmann <[email protected]>
Newsgroups gmane.ietf.xmldsig
Message-ID <9132231.1020162534@crypto>
Hi Gregor,

I would say that this sequence is ILLEGAL and/or simply does not work 
because c14n trashes the here() context and is therefore not allowed. XPath 
or enveloped-signature requires re-parsing and then here() is evaluated 
against a different document.

Apache impl throws exception in that case...

Regards,
Christian

--On Dienstag, 30. April 2002 09:33 +0200 Gregor Karlinger 
<[email protected]> wrote:

> Recently I had a discussion with a customer regarding
> the legality of an XML signature bearing a reference
> that has the following structure (which does not make
> sense at all, but should demonstrate the problem):
>
>   1. The URI attribute contains the empty string "";
>   2. The first transform is a C14N transform;
>   3. The second transform is an enveloped sig. tf.
>
> I argued that such a signature is not legal regarding
> the processing model of XMLDSIG, since it is impossible
> to cut out the signature from a node set which, due
> to the intermediate C14N transform, does not represent
> the original XML document bearing the XML signature.
>
> A similar problem occurs, if the env. sig. tf. is re-
> placed by an XPath transform using the here() function.
>
> Any opinions?
>
> Regards, Gregor
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.