You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "sean.mullan (JIRA)" <ji...@apache.org> on 2011/06/21 20:29:47 UTC
[jira] [Closed] (SANTUARIO-281) Invalid signature value when using
XMLSignature in two EJB modules on AS
[ https://issues.apache.org/jira/browse/SANTUARIO-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sean.mullan closed SANTUARIO-281.
---------------------------------
Resolution: Not A Problem
Assignee: sean.mullan (was: Colm O hEigeartaigh)
I assume you are referring to the SignatureValue element of an XMLSignature? This is not a bug. When you are using DSA, the signature bytes can be different each time you sign. I think it has something to do with the padding.
> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
> Key: SANTUARIO-281
> URL: https://issues.apache.org/jira/browse/SANTUARIO-281
> Project: Santuario
> Issue Type: Bug
> Components: Java
> Affects Versions: Java 1.4.5
> Environment: JBoss 5.1, 6.0
> Reporter: Tomasz Juchniewicz
> Assignee: sean.mullan
> Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira