Hello,

https://issues.apache.org/jira/browse/SANTUARIO-379

I have created a demo project for reproducing the bug. Also attached a keystore 
and an xml file.

Best regards,
Marin


 >-------- Оригинално писмо --------
 >От:  Sean Mullan 
 >Относно: Re: Signing XML with SHA1 with DSA throws exception when key is 
 >larger
 than 1024.
 >До: [email protected]
 >Изпратено на: Сряда, 2014, Март 12 18:51:07 EET
 >
 >
 >I'm not sure what the problem is. Can you please file a bug with a 
 >reproducible test case?
 >
 >https://issues.apache.org/jira/browse/SANTUARIO/fixforversion/12325592/?selectedTab=com.atlassian.jira.jira-projects-plugin:version-summary-panel
 >
 >Thanks,
 >Sean
 >
 >On 03/12/2014 11:24 AM, M. D. wrote:
 >>   Hello,
 >>
 >> I'm getting the following exception when trying to sign an XML with a 2048 
 >> bytes DSA key (sha1 digested).
 >>
 >> Caused by: org.apache.xml.security.signature.XMLSignatureException: Invalid 
 >> ASN.1 format of DSA signature
 >> Original Exception was java.io.IOException: Invalid ASN.1 format of DSA 
 >> signature
 >>     at 
 >> org.apache.xml.security.algorithms.implementations.SignatureDSA.engineSign(SignatureDSA.java:167)
 >>     at 
 >> org.apache.xml.security.algorithms.SignatureAlgorithm.sign(SignatureAlgorithm.java:139)
 >>     at 
 >> org.apache.xml.security.signature.XMLSignature.sign(XMLSignature.java:515)
 >>
 >> I'm using the latest release 1.5.6 bundle.
 >>
 >> Any help will be appreciated!
 >>
 >> Best regards,
 >> Marin
 >>
 >
 >

Reply via email to