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
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users