atom feed63 messages in org.oasis-open.lists.dssRE: [dss] Groups - dss-requirements-1...
FromSent OnAttachments
robe...@entrust.comMar 24, 2003 12:58 pm 
Gregor KarlingerMar 25, 2003 7:34 am.bin
Trevor PerrinMar 25, 2003 11:30 am 
Nick PopeMar 25, 2003 11:35 am 
Nick PopeMar 25, 2003 12:23 pm 
Trevor PerrinMar 25, 2003 12:29 pm 
Trevor PerrinMar 25, 2003 12:33 pm 
jmessingMar 25, 2003 12:36 pm 
Trevor PerrinMar 25, 2003 1:18 pm 
Nick PopeMar 25, 2003 1:21 pm 
Nick PopeMar 25, 2003 1:21 pm 
Nick PopeMar 26, 2003 1:21 am 
kare...@esat.kuleuven.ac.beMar 26, 2003 4:02 am 
Nick PopeMar 26, 2003 5:22 am 
jmessingMar 26, 2003 5:26 am 
Trevor PerrinMar 26, 2003 10:49 am 
jmessingMar 26, 2003 10:57 am 
Trevor PerrinMar 26, 2003 11:11 am 
Rich SalzMar 26, 2003 11:24 am 
Trevor PerrinMar 26, 2003 1:15 pm 
Greg AlvordMar 27, 2003 4:37 am 
Gregor KarlingerMar 27, 2003 9:01 am.bin
Trevor PerrinMar 27, 2003 1:17 pm 
Nick PopeMar 28, 2003 3:54 am 
Trevor PerrinMar 28, 2003 1:52 pm 
Nick PopeMar 29, 2003 9:35 am 
Rich SalzMar 29, 2003 10:10 am 
Trevor PerrinMar 29, 2003 10:14 am 
Rich SalzMar 29, 2003 10:36 am 
jmessingMar 29, 2003 11:19 am 
Rich SalzMar 29, 2003 11:26 am 
Trevor PerrinMar 29, 2003 11:46 am 
jmessingMar 29, 2003 12:31 pm 
Rich SalzMar 29, 2003 3:35 pm 
Trevor PerrinMar 30, 2003 1:49 am 
Gregor KarlingerMar 30, 2003 10:50 am.bin
Gregor KarlingerMar 30, 2003 11:07 am.bin
Gregor KarlingerMar 30, 2003 11:18 am.bin
Gregor KarlingerMar 30, 2003 11:23 am.bin
Gregor KarlingerMar 30, 2003 11:31 am.bin
Gregor KarlingerMar 30, 2003 11:47 am.bin
Gregor KarlingerMar 30, 2003 11:58 am.bin
Gregor KarlingerMar 30, 2003 12:14 pm.bin
Gregor KarlingerMar 30, 2003 12:23 pm.bin
Rich SalzMar 30, 2003 2:25 pm 
Gregor KarlingerMar 30, 2003 11:14 pm.bin
Gregor KarlingerMar 30, 2003 11:20 pm.bin
Gregor KarlingerMar 30, 2003 11:26 pm.bin
Gregor KarlingerMar 30, 2003 11:30 pm.bin
Gregor KarlingerMar 30, 2003 11:37 pm.bin
Trevor PerrinMar 31, 2003 1:41 am 
Gregor KarlingerMar 31, 2003 1:48 am.bin
Gregor KarlingerMar 31, 2003 1:56 am.bin
Nick PopeMar 31, 2003 4:02 am 
Anthony NadalinMar 31, 2003 5:15 am 
Karel WoutersMar 31, 2003 6:30 am 
Gregor KarlingerMar 31, 2003 7:22 am.bin
Trevor PerrinMar 31, 2003 8:46 am 
Gregor KarlingerMar 31, 2003 1:20 pm.bin
Nick PopeApr 1, 2003 1:32 am 
Karel WoutersApr 1, 2003 2:52 am 
Nick PopeApr 1, 2003 2:52 am 
Nick PopeApr 1, 2003 3:03 am 
Subject:RE: [dss] Groups - dss-requirements-1.0-draft-02.doc uploaded
From:Trevor Perrin (tre@trevp.net)
Date:Mar 26, 2003 10:49:10 am
List:org.oasis-open.lists.dss

At 12:11 PM 3/26/2003 +0000, kare@esat.kuleuven.ac.be wrote:

[...] IMHO, the XML and the transform should be signed, and the rest should be left to be specified by people who adopt this standard.

I think it's better to sign 2 references, one to the raw document, one that applies transform(s) to make the raw document human-readable:

<Reference URI="#SomeDocument"> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <DigestValue>j6lwx3rvEPO0vKtMup4NbeVu8nk=</DigestValue> </Reference> <Reference URI="#SomeDocument"> <Transforms> <Transform Algorithm="http://www.someplace.org/SomeTransform"/> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <DigestValue>Q52xy4a9289mvDl1up4sbEVU89x=</DigestValue> </Reference>

Looking at the XML-DSIG spec, I don't see any mention of signing transforms. Instead, usually transforms shouldn't need to be signed/verified, since the data is signed after going through them, so a change/corruption of the transform will invalidate the signature.

I guess you're proposing something like this?, where both the document and transform are signed? -

<Reference URI="#SomeDocument"> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <DigestValue>j6lwx3rvEPO0vKtMup4NbeVu8nk=</DigestValue> </Reference> <Reference URI="#http://www.w3.org/SomeTransform"> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <DigestValue>Q52xy4a9289mvDl1up4sbEVU89x=</DigestValue> </Reference>

However in this case, suppose multiple documents (#SomeDocument1, #SomeDocument2, etc.) were signed. And suppose there are multiple transforms. How would it be clear which transforms apply to which documents? Moreover, if you sign only the transforms, not the transformed data, then there's wiggle-room for the signer to try to claim that he applied the transform differently than the verifier (suppose the transform references time-sensitive data somehow).

Also, what about in the case above, where the transform might not be a stylesheet, but might be described algorithmically by a text document referenced by a URI that may not even be a URL - i.e. there may not be data describing the transform that is signable. Even if there is, it may be a human-readable document subject to revisions (which would invalidate a signature), or it may be quite large, which would make signing/verifying unwieldy, and in any case add a network dependency, since the verifier will only be able to verify the document as long as the site stays up.

So I think signing data after it's transformed is much more in accord with how XML-DSIG was designed to work, and in the case where we want to sign both human-readable and machine-readable views on some data, it's easiest to do that with different ds:References, each applying whatever transforms are appropriate to the same underlying data.

Trevor