keydb_search failed: Invalid argument

ಚಿರಾಗ್ ನಟರಾಜ್ mailinglist at chiraag.me
Fri Jun 4 01:34:23 CEST 2021


12021/03/32 08:63.22 ನಲ್ಲಿ, NIIBE Yutaka <gniibe at fsij.org> ಬರೆದರು:
> Hello,
> 
> ಚಿರಾಗ್ ನಟರಾಜ್ wrote:
> > I'm getting this error/warning even when I just decrypt an encrypted
> > file using plain gpg.
> 
> If you keep using ~/.gnupg/pubring.gpg, I think this is the cause of
> your problem.
> 
> In this case, see this comment in the bug tracker of GnuPG:
> 
> 	https://dev.gnupg.org/T5409#145906
> 
> To excerpt the solution from the comment, it's:
> --------------------------
> cd ~/.gnupg
> gpg --export-options backup --export >allkeys.gpg
> mv pubring.gpg pubring.gpg-saved
> gpg --import-options restore --import <allkeys.gpg
> rm allkeys.gpg
> --------------------------
> --

That worked perfectly, thank you!

Sincerely,

Chiraag
-- 
ಚಿರಾಗ್ ನಟರಾಜ್
Pronouns: he/him/his
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - mailinglist at chiraag.me - b0c8d720.asc
Type: application/pgp-keys
Size: 713 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210603/ff0fb05d/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210603/ff0fb05d/attachment-0001.sig>


More information about the Gnupg-users mailing list