santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43239] - "No installed provider supports this key" when checking a RSA signature against a DSA key before RSA key
Date Tue, 04 Sep 2007 16:19:52 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43239>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43239





------- Additional Comments From matthias.germann@dvbern.ch  2007-09-04 09:19 -------
(In reply to comment #3)
> This exception has come up before and usually it is due to using a DSA key
> with an RSA signature or vice-versa. Can you post the signature AND the code
> you used to validate the signature?

The attached sample contains a complete test for reproducing the problem. It
contains a signature and the public keys. 

The problem occurs only if i try to validate a RSA signature against a DSA key
before validating it against the correct RSA key.

Please run the attached test.Test class. If you uncomment the first call to the
validate method (the one with the DSA key), the second validation succeeds.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message