Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting issue in decrypting with own private key #11

Open
Naveenkhasyap opened this issue Apr 4, 2024 · 2 comments
Open

Getting issue in decrypting with own private key #11

Naveenkhasyap opened this issue Apr 4, 2024 · 2 comments

Comments

@Naveenkhasyap
Copy link

Naveenkhasyap commented Apr 4, 2024

Hi @jchavannes ,
thanks for creating such a useful package,
while trying encrypt_test
I just replaced the content with my public and private gpg keys but getting error while decoding in my case as below

Error reading message: openpgp: incorrect key and decrypted message is empty , I checked the encrypted data ,looks fine.
help appriciated .

[Note] have exported gpg keys from same linux machine with below commands
Public Key - gpg --armor --export <keyid>
Private Key - gpg --armor --export-secret-keys <keyid>

@jchavannes
Copy link
Owner

Hi @Naveenkhasyap I'm not sure why you might be having that issue. Unfortunately I have not used this repo in awhile and don't have more info that could help.

@Naveenkhasyap
Copy link
Author

No issues, thanks for the prompt reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants