Is there a GnuPG command that shows the number of keys on a keyring?
MFPA
expires2012 at rocketmail.com
Tue Jul 24 20:02:14 CEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi
On Tuesday 24 July 2012 at 9:39:04 AM, in
<mid:500E5F28.4010802 at sixdemonbag.org>, 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|grep "^pub"|wc -l
Thanks Rob. On PGPNET I was also given the answer
"gpg --export -a|gpg --import"
which gives me an answer more directly on Windows than your way does.
- --
Best regards
MFPA mailto:expires2012 at rocketmail.com
There is no job so simple that it cannot be done wrong
-----BEGIN PGP SIGNATURE-----
iQCVAwUBUA7jLKipC46tDG5pAQpLcAP/f2DqzLiwI0er24yTk0X24xs5a9M6098m
3U1ZtTF5QyIKkz2d8Ua1zUn92nZBR6dp2RIYmkp55JHzN54O+pYYRpbMJbbeHz8i
Yvs1ilydqWMX5vR0DYkFGv4pveSJdSfX2uOVLxjlUhVYQdZajJE5oUpi8dwhACV2
T06oKhivw8c=
=JC0U
-----END PGP SIGNATURE-----
More information about the Gnupg-users
mailing list