Is there a GnuPG command that shows the number of keys on a keyring?

Robert J. Hansen rjh at sixdemonbag.org
Tue Jul 24 10:39:04 CEST 2012


On 7/24/2012 4:33 AM, MFPA wrote:
> Is there a GnuPG command to show the number of keys on a keyring?

On Linux, FreeBSD, OS X, etc., you can do:

$ gpg2 --list-keys|grep "^pub"|wc -l



More information about the Gnupg-users mailing list