| From | Sent On | Attachments |
|---|---|---|
| robe...@entrust.com | Mar 24, 2003 12:58 pm | |
| Gregor Karlinger | Mar 25, 2003 7:34 am | .bin |
| Trevor Perrin | Mar 25, 2003 11:30 am | |
| Nick Pope | Mar 25, 2003 11:35 am | |
| Nick Pope | Mar 25, 2003 12:23 pm | |
| Trevor Perrin | Mar 25, 2003 12:29 pm | |
| Trevor Perrin | Mar 25, 2003 12:33 pm | |
| jmessing | Mar 25, 2003 12:36 pm | |
| Trevor Perrin | Mar 25, 2003 1:18 pm | |
| Nick Pope | Mar 25, 2003 1:21 pm | |
| Nick Pope | Mar 25, 2003 1:21 pm | |
| Nick Pope | Mar 26, 2003 1:21 am | |
| kare...@esat.kuleuven.ac.be | Mar 26, 2003 4:02 am | |
| Nick Pope | Mar 26, 2003 5:22 am | |
| jmessing | Mar 26, 2003 5:26 am | |
| Trevor Perrin | Mar 26, 2003 10:49 am | |
| jmessing | Mar 26, 2003 10:57 am | |
| Trevor Perrin | Mar 26, 2003 11:11 am | |
| Rich Salz | Mar 26, 2003 11:24 am | |
| Trevor Perrin | Mar 26, 2003 1:15 pm | |
| Greg Alvord | Mar 27, 2003 4:37 am | |
| Gregor Karlinger | Mar 27, 2003 9:01 am | .bin |
| Trevor Perrin | Mar 27, 2003 1:17 pm | |
| Nick Pope | Mar 28, 2003 3:54 am | |
| Trevor Perrin | Mar 28, 2003 1:52 pm | |
| Nick Pope | Mar 29, 2003 9:35 am | |
| Rich Salz | Mar 29, 2003 10:10 am | |
| Trevor Perrin | Mar 29, 2003 10:14 am | |
| Rich Salz | Mar 29, 2003 10:36 am | |
| jmessing | Mar 29, 2003 11:19 am | |
| Rich Salz | Mar 29, 2003 11:26 am | |
| Trevor Perrin | Mar 29, 2003 11:46 am | |
| jmessing | Mar 29, 2003 12:31 pm | |
| Rich Salz | Mar 29, 2003 3:35 pm | |
| Trevor Perrin | Mar 30, 2003 1:49 am | |
| Gregor Karlinger | Mar 30, 2003 10:50 am | .bin |
| Gregor Karlinger | Mar 30, 2003 11:07 am | .bin |
| Gregor Karlinger | Mar 30, 2003 11:18 am | .bin |
| Gregor Karlinger | Mar 30, 2003 11:23 am | .bin |
| Gregor Karlinger | Mar 30, 2003 11:31 am | .bin |
| Gregor Karlinger | Mar 30, 2003 11:47 am | .bin |
| Gregor Karlinger | Mar 30, 2003 11:58 am | .bin |
| Gregor Karlinger | Mar 30, 2003 12:14 pm | .bin |
| Gregor Karlinger | Mar 30, 2003 12:23 pm | .bin |
| Rich Salz | Mar 30, 2003 2:25 pm | |
| Gregor Karlinger | Mar 30, 2003 11:14 pm | .bin |
| Gregor Karlinger | Mar 30, 2003 11:20 pm | .bin |
| Gregor Karlinger | Mar 30, 2003 11:26 pm | .bin |
| Gregor Karlinger | Mar 30, 2003 11:30 pm | .bin |
| Gregor Karlinger | Mar 30, 2003 11:37 pm | .bin |
| Trevor Perrin | Mar 31, 2003 1:41 am | |
| Gregor Karlinger | Mar 31, 2003 1:48 am | .bin |
| Gregor Karlinger | Mar 31, 2003 1:56 am | .bin |
| Nick Pope | Mar 31, 2003 4:02 am | |
| Anthony Nadalin | Mar 31, 2003 5:15 am | |
| Karel Wouters | Mar 31, 2003 6:30 am | |
| Gregor Karlinger | Mar 31, 2003 7:22 am | .bin |
| Trevor Perrin | Mar 31, 2003 8:46 am | |
| Gregor Karlinger | Mar 31, 2003 1:20 pm | .bin |
| Nick Pope | Apr 1, 2003 1:32 am | |
| Karel Wouters | Apr 1, 2003 2:52 am | |
| Nick Pope | Apr 1, 2003 2:52 am | |
| Nick Pope | Apr 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






.bin