Accidentally deleted ~/.gnupg/pubring.gpg
Michał Górny
mgorny at gentoo.org
Sun Jul 5 21:08:51 CEST 2020
On Sun, 2020-07-05 at 14:30 +0000, renws via Gnupg-users wrote:
> 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?
>
Reimport your public key and things should start working again. You may
look if ~/.gnupg doesn't contain a backup copy, or fetch it from
keyservers, someone who used it, etc...
--
Best regards,
Michał Górny
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: This is a digitally signed message part
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20200705/cd06eed9/attachment.sig>
More information about the Gnupg-users
mailing list