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

2012-07-25 Thread MFPA
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi On Tuesday 24 July 2012 at 11:37:24 AM, in , Werner Koch wrote: > In case you want to put this into a HOWTO, you better > write: > gpg2 --with-colons --list-keys|grep "^pub:"|wc -l > As usual this also works with gpg. And your comment in

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

2012-07-25 Thread Mika Suomalainen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 24.07.2012 13:37, Werner Koch wrote: > On Tue, 24 Jul 2012 10:39, r...@sixdemonbag.org said: > >>> $ gpg2 --list-keys|grep "^pub"|wc -l > In case you want to put this into a HOWTO, you better write: > > gpg2 --with-colons --list-keys|grep "^pub:

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

2012-07-24 Thread MFPA
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi On Tuesday 24 July 2012 at 9:39:04 AM, in , Robert J. Hansen wrote: > 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|gr

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

2012-07-24 Thread Werner Koch
On Tue, 24 Jul 2012 10:39, r...@sixdemonbag.org said: > $ gpg2 --list-keys|grep "^pub"|wc -l In case you want to put this into a HOWTO, you better write: gpg2 --with-colons --list-keys|grep "^pub:"|wc -l As usual this also works with gpg. Shalom-Salam, Werner -- Die Gedanken sind frei

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

2012-07-24 Thread Charly Avital
Robert J. Hansen <500e5f28.4010...@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 _

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

2012-07-24 Thread Robert J. Hansen
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 ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.

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

2012-07-24 Thread MFPA
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi Is there a GnuPG command to show the number of keys on a keyring? Or one which includes this as part of its output? I have looked through the gpg.man file and also at the output from gpg --dump-options for this and nothing leaps out at me. I k