Won't recognize my secret key
Phillip Susi
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:
Makes sense.
> $ 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...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180622/f3e4dac1/attachment-0001.sig>
More information about the Gnupg-users
mailing list