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

Charly Avital shavital at gmail.com
Tue Jul 24 10:46:13 CEST 2012


Robert J. Hansen <500E5F28.4010802 at sixdemonbag.org> July 24, 2012
4:43:58 AM wrote:
> On Linux, FreeBSD, OS X, etc., you can do:
> 
> $ gpg2 --list-keys|grep "^pub"|wc -l

I've got 1618, some serious and urgent cleaning is required.

Thank you Robert.

Charly




More information about the Gnupg-users mailing list