Bug 94506

Summary: encrypted messages appear backwards
Product: [Unmaintained] kopete Reporter: Luke-Jr <luke-jr+kdebugs>
Component: Cryptography PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Luke-Jr 2004-12-05 23:42:10 UTC
Version:            (using KDE KDE 3.3.1)
Installed from:    Gentoo Packages

If PersonA sends "Hi", "What's new?" to PersonB, in that order, encrypted, PersonB will receive them in the opposite order sent if they are both received prior to the first being decrypted.
Comment 1 Charles Connell 2007-09-15 02:16:21 UTC
SVN trunk now uses gpg-agent and no native passphrase handling, coincidentally solving this bug. With pinentry on the screen, the Kopete thread is totally blocked (not just in an event loop, like before), so incoming packets are held queued by the kernel. This means that when pinentry goes away, Kopete resumes execution as if nothing had happened, and the incoming messages are handled perfectly. 
Comment 2 Luke-Jr 2007-09-15 02:27:10 UTC
That also means if I leave my computer and someone sends an encrypted message, I will have all my sessions timeout because I'm not there to enter my passphrase. But I suppose that's a new bug...
Comment 3 Charles Connell 2007-10-14 20:38:29 UTC
That has now been fixed by asynchronous decryption, thank you for pointing out the issue.