Berin Lautenbach wrote:
Vishal,
Firstly - with thanks for the patch! The reason KeyInfo still has a TODO is we are using the KeyInfo classes from Signature, which built on the fly, whereas the Encryption classes martial the XML. The plan is to clean all that up over time.
Just on the errors below - I've run your patch through ant test on my system, and all is goodness. So I'd be interested to find out what is failing in the Baltimore tests on your system.
I was able to resolve the problem. I fetched the Unlimited Strength JCE Policy Files for my JDK and then all the tests passed.
Thanks, Vishal
If you run "ant test_xenc" you should get some more output from the two encryption test sets. Also, if you set the printsummary attribute to "withOutAndError" (instead of "on") for the test target in build.xml there might be some interesting output.
Cheers, Berin
Vishal Mahajan wrote:
Axl,
I had run the test target before sending the patch. There was no difference in the results with my patch, though there were some tests already failing. Here's their description:
[junit] Running org.apache.xml.security.test.encryption.BaltimoreEncTest
[junit] Tests run: 10, Failures: 0, Errors: 4, Time elapsed: 8.777 sec
[junit] TEST org.apache.xml.security.test.encryption.BaltimoreEncTest FAILED [junit] Running org.apache.xml.security.test.encryption.XMLCipherTester
[junit] Tests run: 9, Failures: 4, Errors: 0, Time elapsed: 30.753 sec
[junit] TEST org.apache.xml.security.test.encryption.XMLCipherTester FAILED
- Vishal