Closed smirandamedallia closed 3 years ago
@mariuszmagdziarz pointed out in issue #22 that older PGP software didn't include usage flags when generating keys. Looks like that's the case for this key. Try loading it with the org.c02e.jpgpj.key.KeyForVerification
class instead of the base Key
class.
Thanks
Hello Team - I tried loading the following public key using the below code but jpgpj thinks it is cannot be used for verification/encryption, the command line thinks otherwise
Using the command line following is displayed
Using the below code to read the key
Let me know how this should be handled since it is resulting in the Decryptor failing since it cannot find the appropriate verification key in the Ring