[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-users
Subject:    Re: --list-keys slow
From:       Ingo =?iso-8859-1?q?Kl=F6cker?= <ingo.kloecker () epost ! de>
Date:       2001-07-16 21:23:55
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday, 12. July 2001 22:31, Malte Starostik wrote:
> Every time I run gpg --list-keys (or KMail runs it to get the
> available public keys), it takes horribly long. My pubring.gpg
> contains some 400 keys. There is a noticeable delay before one of the
> keys is output, which is especially long (3360). Unfortunately
> --fast-list-mode can't be used as the names and addresses are needed.
> Someone told me gpg also does some verification while listing the
> keys.

AFAIK this verification is only done in --with-colons mode because in 
this mode the trust level is calculated and shown.

> Would it be possible to implement something like
> --fast-list-mode but with additionally outputting name/comment/email
> or would that take as long?

Actually --list-keys doesn't seem to be any faster in --fast-list-mode.
Here's a small test:
- --------
ingo@erwin:~ > time for a in `seq 1 10`; do gpg --list-keys >/dev/null; 
done
real    0m12.115s
user    0m11.430s
sys     0m0.190s

ingo@erwin:~ > time for a in `seq 1 10`; do gpg --list-keys 
- --fast-list-mode >/dev/null; done
real    0m12.076s
user    0m11.400s
sys     0m0.180s

ingo@erwin:~ > time for a in `seq 1 10`; do gpg --list-keys 
- --with-colons >/dev/null; done
real    0m27.226s
user    0m15.770s
sys     0m9.800s

ingo@erwin:~ > time for a in `seq 1 10`; do gpg --list-keys 
- --with-colons --fast-list-mode >/dev/null; done
real    0m11.948s
user    0m11.430s
sys     0m0.120s
- ---------
As you can see the --fast-list-mode option makes no difference for a 
simple --list-keys. Only if you also use the --with-colons option you 
can save a lot of time by using --fast-list-mode.

Regards,
Ingo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7U1trGnR+RTDgudgRAr1ZAKCgYH7S/qS30bR6qKXh4JP33DNvNACeL37+
yr+SscEl4SxoTF5KORDuJ8Q=
=rBeY
-----END PGP SIGNATURE-----

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic