Bug 214474

Summary: kopete_otr should save the fingerprints for each client-id (XMPP) individually
Product: [Unmaintained] kopete Reporter: meyerm
Component: OTR PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: mzanetti
Priority: NOR    
Version First Reported In: 0.80.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description meyerm 2009-11-14 02:18:55 UTC
Version:           0.80.2 (using 4.3.1 (KDE 4.3.1) "release 6", openSUSE 11.2)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31.5-0.1-default

Currently each fingerprint kopete_otr receives is saved connected to an account inside the fingerprints-file. It would be desirable to save them in connection to the client-id, too. So f.ex. not just

user@jabber.org       ABC123
user@gmail.com        ABC123

but

user@jabber.org/Home  ABC123
user@jabber.org/Univ  DEF456
user@gmail.com/Home   ABC123
user@gmail.com/Univ   DEF456

. In this example, the user configured each account to have the same private key. But is using a different key on each client. If the user wishes to use the same key on each client, he's free to do that, of course.
Comment 1 Michael Zanetti 2010-02-21 22:08:52 UTC
This isn't needed as the fingerprints for both resources are stored (not overwritten). If a user has two different resources, your fingerprints file looks like this:

user1@foo.org ABCDEF
user1@foo.org 123456

You can verify both fingerprints and your buddy is authenticated on both clients. There is no need to keep also the resource name. In fact, doing so would break your keys as soon as your buddy changes the resource.