You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your code looks correct; the error is specific to the key you're using. Without having an example key, it's quite hard to figure out what the issue with it is exactly. How did you generate the key? Could you post an example key generated that way?
As you can see, in the example, we are using the dummy data ' Hello World' to encrypt and decrypt.
But in my real case, I have a public key and a private key, and a passphrase, I have a gpg file I need to decrypt as a txt file.
Any idea can I do that using this openpgpjs? If not, can you teach me how to do that in nodeJS?
Right now it's giving me error
Error encrypting message: Could not find valid key packet for signing in key ***************
The text was updated successfully, but these errors were encountered: