Replies: 1 comment
-
The issue got resolved by the following code:
The issue was with the private key it was containing the public key and the private key was encrypted. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @twiss I am also getting error Unexpected packet type: 6 while decrypting.
and changed my code to readKeys instead of readPrivateKey as you have suggested, Now getting a different error
throw new Error('No key or password specified.').
Error: Error decrypting message: No key or password specified.
Here is my code snippet
using "openpgp": "^5.11.1",
Originally posted by @packcode in #1735 (comment)
Beta Was this translation helpful? Give feedback.
All reactions