Bug 146485 - Selecting the crypto key takes ages
Summary: Selecting the crypto key takes ages
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: Cryptography Plugin (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-07 13:24 UTC by Ralf Hildebrandt
Modified: 2007-08-16 23:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Hildebrandt 2007-06-07 13:24:37 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Ubuntu Packages

My gpg keyring is quite big. 

So, whenever I want to select the public key for a contact in kopete, it loads and successively parses the whole keyring. 

This takes ages. During that, I can enter the numeric key-id, but this doesn't stop the process.

My input is only ever accepted AFTER the whole keyring had been parsed and displayed :(
Comment 1 Charles Connell 2007-07-17 16:10:32 UTC
I am going to use different key selection code that should be faster and more responsive. Expect to see this fixed soon.
Comment 2 Charles Connell 2007-08-16 23:35:46 UTC
SVN commit 700964 by cconnell:

GUI:Recommend to user to have Kopete prompt for secret key passphrase on startup and to cache it forever. See bug 94506.
BUG:146485 Use libkleo class for metacontact public key selection, instead of borrowed KGPG code. This is asynchronous and therefore responsive.
Don't display message if it contains path of a "message cryptographic state icon." This prevents forgery of a signed or encrypted message.


 M  +2 -4      CMakeLists.txt  
 M  +1 -1      cryptographyconfig.cpp  
 M  +3 -3      cryptographyguiclient.cpp  
 M  +35 -40    cryptographyplugin.cpp  
 M  +2 -0      cryptographyplugin.h  
 M  +7 -5      cryptographypreferences.cpp  
 M  +1 -1      cryptographyprefsbase.ui  
 M  +18 -29    cryptographyselectuserkey.cpp  
 M  +14 -18    cryptographyselectuserkey.h  
 M  +3 -4      gpginterface.cpp  
 M  +1 -1      kopete_cryptography.desktop  
 D             popuppublic.cpp  
 D             popuppublic.h  
 D             popuppublicbase.ui