Re: GPG key loading takes too long

Joachim Breitner <[email protected]> Tue, 23 Jan 2007 14:15:52 +0100
Newsgroups gmane.mail.cone
Message-ID <[email protected]>
Hi,

Am Dienstag, den 23.01.2007, 07:13 -0500 schrieb Sam Varshavchik:
> Joachim Breitner writes:
> > Am Sonntag, den 21.01.2007, 19:31 -0500 schrieb Sam Varshavchik:
> >> > I just had a look at cone and it looked very promising, especially the
> >> > IMAP support. One thing though annoys me a lot: When I start it, it
> >> > reads in all the keys in my public GPG keyring, which is rather large,
> >> > delaying the start-up too much. Can this be somehow cached, or loaded in
> >> > the background, or something else?
> >> 
> >> Feel free to submit patches.
> > 
> > I investigated the issue a bit further: The gpglib passes the
> > --list-sigs option to gpg, but does not use the sigs in any way (the
> > lines are ignored in dolist_callback). Changing that to --list-keys in
> > list.c on line 63 fixes this and makes the start considerably faster:
> > 
> > -      argvec[1]= secret ? "--list-secret-keys":"--list-sigs";
> > +      argvec[1]= secret ? "--list-secret-keys":"--list-keys";
> > 
> > I hope I didn’t miss anything, but I think this works just fine.
> 
> Not quite.  The signatures are shown when a gpg key is selected for 
> encrypting or signing.  Although they are for informational purposes only, 
> it is an important data that should not be swept under the rug.

Hmm, I can’t find it in the program, and neither can I find code that
parses the gpg output lines that start with "sig". What am I missing?

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
  mail: [email protected] | ICQ# 74513189 | GPG-Key: 4743206C
  JID: [email protected] | http://www.joachim-breitner.de/
  Debian Developer: [email protected]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-cone mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone