Won't recognize my secret key
psusi at ubuntu.com
Fri Jun 22 14:50:15 CEST 2018
On 6/21/2018 10:41 PM, NIIBE Yutaka wrote:
> Basically, secring.gpg only has the information of expiration when it's
> created. After changing expiration, it is only recorded in pubring.gpg.
> So, it is recommended to do somthing like:
> $ gpg --homedir ~/.gnupg.old --export-secret-keys | \
> gpg --homedir ~/.gnupg --import
> (instead of doing --import ~/.gnupg/secring.gpg directly.)
> However, in gnupg/g10/migrate.c, GnuPG itself does that (!). This
> should be fixed.
The first thing I did was delete ~/.gnupg.old and re-import just like
that ( which of course, did not work ). I re-imported only the public
key today with --recv-keys and that got the updated selfsig.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: OpenPGP digital signature
More information about the Gnupg-users