Re: Accidentally deleted ~/.gnupg/pubring.gpg

2020-08-18 Thread renws via Gnupg-users
It worked, and it was much easier than I expected, thank you so much! WS ‐‐‐ Original Message ‐‐‐ On Monday, August 17, 2020 6:31 PM, Werner Koch wrote: > On Sun, 16 Aug 2020 04:33, renws said: > > > And I don't have any backup of my public key, so I would like to know > > whether it's

Re: Accidentally deleted ~/.gnupg/pubring.gpg

2020-08-16 Thread renws via Gnupg-users
BG: FIXME: No way to print secret key packets here ➜ .gnupg gpg 6906A68A85C4AEAC gpg: WARNING: no command supplied. Trying to guess what you mean ... gpg: can't open '6906A68A85C4AEAC' Regards, Wenshan ‐‐‐ Original Message ‐‐‐ On Tuesday, August 11, 2020 7:50 AM, wr

Re: Accidentally deleted ~/.gnupg/pubring.gpg

2020-08-08 Thread renws via Gnupg-users
Hi, I tried --try-all-secrets but it didn't work: $ gpg -d --try-all-secrets myfile.txt.gpg gpg: encrypted with RSA key, ID x gpg: decryption failed: No secret key I guess I'll have to create a new public key with the same fingerprint? I've searched "gpg create public key with same

Re: Accidentally deleted ~/.gnupg/pubring.gpg

2020-07-06 Thread renws via Gnupg-users
Hi Michał, Thanks for your reply. However I've never uploaded the public key to any keyservers, is it possible to recover the public key from the private key (I still have ~/.gnupg/private-keys-v1.d)? Regards, Wenshan ___ Gnupg-users mailing list Gnu

Accidentally deleted ~/.gnupg/pubring.gpg

2020-07-05 Thread renws via Gnupg-users
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