Kiss Gabor (Bitman) wrote:

> E.g. is there a oneliner that counts keys in a file?
> I mean something like this:
> $ bzcat keydump-sks-0164.pgp.bz2 | SOME | COMMANDS | HERE
> 12346

I was going to suggestions somethig similar to Brian:

    bzcat keydump-sks-0164.pgp.bz2 | gpg - | grep -c ^pub

But Gnupg dies with on ‘mpi too large for this implementation’ hence the
count is wrong :-(
-- 
Kim Minh.
_______________________________________________
Sks-devel mailing list
Sks-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/sks-devel

Reply via email to