Accidentally deleted ~/.gnupg/pubring.gpg

renws renws at protonmail.com
Sun Jul 5 16:30:57 CEST 2020


Hi,

I've accidentally deleted ~/.gnupg/pubring.gpg and now I'm not able to see any output from `gpg --list-keys' and `gpg --list-secret-keys'.

Is it possible to still use my private key to decrypt previously encrypted .gpg files? Are private keys stored in ~/.gnupg/private-keys-v1.d ? If so how can I make use of it?

gpg (GnuPG) 2.2.12
libgcrypt 1.8.4

Thank you in advance for your help.
Wenshan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20200705/6418e111/attachment-0001.html>


More information about the Gnupg-users mailing list