The message implies that it's not a DSA key being passed to the verify
routine. Are you sure the keyid on the signature and the keyid on the
key match?
Regards,
David
On Wed, 2009-12-09 at 15:30 +0100,
[hidden email] wrote:
> Hi.
> I have to decrypt, with Bouncy Castle, a file signed and encrypted with PGP
> v. 6.5.8.
>
> I get the following error message:
>
> ...
> org.bouncycastle.openpgp.PGPException: invalid key
> Underlying exception: java.security.InvalidKeyException: can't recognise
> key
> type in DSA based signer.
>
> As well not recognize a DSA key, right? How can I fix this?
>
> Thanks in advance.
> Regards.
>