Mailing List Archive

What is supposed to happen after I refresh keys?
FreeBSD 11.4 / amd64
gpg (GnuPG) 2.2.20
libgcrypt 1.8.5

This is probably a stupid question, but precisely what is supposed
to happen after running "gpg2 --refresh-keys"?

This is the log file created from running the above command:

https://www.seibercom.net/logs/RefreshKeys.txt

If I run the same command immediately after it completes its
first invocation, the same log file is created. I thought that
running 'refresh-keys" would remove deleted keys and update those that
had new expirations dates or other modifications. Obviously, I must be
in error. So, precisely what does the command accomplish?

Thanks!

--
Jerry
Re: What is supposed to happen after I refresh keys? [ In reply to ]
It pulls all of your keys from the keyserver, which will update their expirations and get new signatures and revocations.

I do not believe it should _delete_ keys from your keyring. Just tell you if the owner has revoked them.

From the man page:

> --refresh-keys
> Request updates from a keyserver for keys that already exist on the local keyring. This is useful for updating a key with the
> latest signatures, user IDs, etc. Calling this with no arguments will refresh the entire keyring.

On 2020-07-08T11:54:53-0400 Jerry <jerry@seibercom.net> wrote 1.9K bytes:

> FreeBSD 11.4 / amd64
> gpg (GnuPG) 2.2.20
> libgcrypt 1.8.5
>
> This is probably a stupid question, but precisely what is supposed
> to happen after running "gpg2 --refresh-keys"?
>
> This is the log file created from running the above command:
>
> https://www.seibercom.net/logs/RefreshKeys.txt
>
> If I run the same command immediately after it completes its
> first invocation, the same log file is created. I thought that
> running 'refresh-keys" would remove deleted keys and update those that
> had new expirations dates or other modifications. Obviously, I must be
> in error. So, precisely what does the command accomplish?
>
> Thanks!
>
> --
> Jerry



> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users