Bug 146485

Summary: Selecting the crypto key takes ages
Product: [Unmaintained] kopete Reporter: Ralf Hildebrandt <ralf.hildebrandt>
Component: Cryptography PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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