Bug 237050 - Kopete OTR private key won't generate
Summary: Kopete OTR private key won't generate
Status: RESOLVED NOT A BUG
Alias: None
Product: kopete
Classification: Applications
Component: OTR Plugin (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 02:25 UTC by James Roe
Modified: 2010-12-23 16:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Roe 2010-05-10 02:25:38 UTC
Version:           1.0.0 (using 4.4.2 (KDE 4.4.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.32-22-generic

This never used to be a problem, but now for some reason, when I enable the OTR plugin, then click the generate private key button to generate a key for my hotmail account, it takes forever to generate. More accurately, it takes so long that it has never finished generating for me, which means I can't use the plugin to encrypt the messages between one of my contacts.

When I started Kopete from the command line, on startup, it did have this weird error, however this error seems very obscure and possibly not even related..

kopete(5498)/libkopete Kopete::PluginManager::loadPluginInternal: Unable to find a plugin named ' "" '!

To reproduce, enable the plugin, and click generate to try to generate a new key.
Comment 1 James Roe 2010-11-06 07:29:22 UTC
Using KDE 4.5.3 x86_64 on Ubuntu 10.10 now, and the bug still exists.
Comment 2 Gard Spreemann 2010-11-20 00:39:26 UTC
It's actually not a bug. I don't know the details of how OTR works, but many cryptographic systems need to gather high-quality entropy to produce keys. This can mean gathering physical data such as keyboard activity, mouse movement and disk timings. 

I just generated a Kopete OTR key, and experienced the same thing you did. Here's how to get it working: Just leave the key generation dialog in the background and continue doing other work as usual (i.e. moving the mouse and using the keyboard). A few (like 5-10) minutes later it'll have enough entropy and the key generation will succeed.

I think the dialog should let the users know about this, though. I'll submit a patch.
Comment 3 Gard Spreemann 2010-11-20 01:03:42 UTC
See bug #257380.
Comment 4 James Roe 2010-12-23 16:19:26 UTC
Confirmed. Waiting ~10 minutes and it finally generates.