- From: John Boyer <jboyer@PureEdge.com>
- Date: Wed, 4 Oct 2000 12:02:05 -0700
- To: <merlin@baltimore.ie>
- Cc: "XML DSig" <w3c-ietf-xmldsig@w3.org>
Hi Merlin, Actually, you can get the exact characters for each c14n example by downloading the spec and opening it in a text editor. Be careful to download it as a binary file. For example, use IE and you go to the c14n spec, then right click the link to the c14n spec and choose 'Save Target As...", note that you have to choose 'All files' in the 'Save as type' popup so that IE will not rewrite the HTML for you as it comes down. Inside, there are comments containing the intended XML for each example (except possibly the use of \r\n line delimiters). As well, the actual HTML for producing the examples contains <br/> commands to indicate line breaks and nbsp; for the specific number of spaces whenever multiple consecutive spaces are needed. Finally, note that the input for ex.3.6 requires a version number, and example 3.4 needs to have the leading and trailing space removed from the id attribute in the normId element (both previously found by Gregor Karlinger, and the latter reported more recently by Doug Bunting). As well, note that the normId element in 3.4 intentionally doesn't work on validating processors. When I tweak this example (soon), I will add a line that demonstrates almost all the same functionality for validating processors. Regards, John Boyer -----Original Message----- From: merlin@baltimore.ie [mailto:merlin@baltimore.ie] Sent: Wednesday, October 04, 2000 11:26 AM To: Joseph M. Reagle Jr. Cc: Gregor Karlinger; xmldsig-interop@pothole.com; John Boyer Subject: Re: AW: Status of Implementations Hi, I've attached a gzipped tarchive containing the usual suspects: signature-enveloped-dsa.xml signature-enveloping-b64-dsa.xml signature-enveloping-dsa.xml signature-enveloping-hmac-sha1-40.xml signature-enveloping-hmac-sha1.xml signature-enveloping-rsa.xml signature-external-b64-dsa.xml signature-external-dsa.xml Of minor interest is signature-enveloping-b64-dsa.xml which performs a base 64 decode step over an Object containing some base 64 data. In addition, there is a subdirectory containing the c14n stages of each signature. The largest change was in this aspect of the spec so this is where I believe most problems will occur. Major caveat: I've only managed to put a few hours into this, and my c14n with namespace axis is not happy. Fortunately, my greatest enemy is XPath and that is not represented here. So, while I can't say that I think I've tracked the latest specs, i don't think I'm too far off. Gregor: I could not verify your examples. Can you fire against mine and see if the problem is mutual? Perhaps we should compare c14n offline? Joseph: I'll try to produce a c14n stress signature. We also need a bunch more tests of the implicit comment stripping, etc. John: Do you have a copy of the c14n examples outside of an HTML document. I've had a hard time getting some of the weirder ones to work.. Merlin r/reagle@w3.org/2000.10.04/11:17:42 >At 16:32 10/4/2000 +0200, Gregor Karlinger wrote: >> > 1. I never advertised the updated matrix[1], so if {IBM, Done360, MS, >> > Baltimore, and anyone else} are at a similar level where exchanging >>Is there a more detailed test case description than the matrix you refer in >>[1]? > >Not yet, though I plan to put together a new version of the matrix today or >tomorrow that references the latest specs. Of course, to fill in the matrix >one of the implementors needs to send a batch of examples to the list (and >are automatically archived by the list mechanism) that I can reference and >others folks can test against and then tell me how to fill in the table for >their implementation. > >>Are there any other interop examples available than those provided by Merlin? > >Not yet. Just need someone who thinks they've tracked the latest specs to >put their examples out there. If you want to respond and send your examples, >I think that'd be great. Kent mentioned he should have his new code by the >end of the week. > >On the Canonicalization front, maybe we could take the examples from the >spec and put them in a separate directory, then sign every one of them (X >references for the X files/examples). This would be a really easy way to >test that spec. > > >__ >Joseph Reagle Jr. >W3C Policy Analyst mailto:reagle@w3.org >IETF/W3C XML-Signature Co-Chair http://www.w3.org/People/Reagle/ >
Received on Wednesday, 4 October 2000 15:42:54 UTC