Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
Security Level: Public (Public issues, viewable by everyone)
-
None
Description
A Streaming Signature Validation RSA test-case is not working. See the first @Ignore'd test here:
I get the following error:
ests in error:
test_enveloping(org.apache.xml.security.test.stax.signature.RSASecurityTest): org.apache.xml.security.stax.ext.XMLSecurityException: The signature or decryption was invalid (Digest verification failed for URI #envelopedData)
At a guess, the namespace declarations in the reference are not being handled correctly:
<dsig:Object Id="envelopedData" xmlns="" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><FOO xmlns="http://www.foo.org/foo">
foo
</FOO></dsig:Object>
Colm.