Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import OTR key and fingerprints from Pidgin #30

Open
micahflee opened this issue Feb 19, 2013 · 6 comments
Open

Import OTR key and fingerprints from Pidgin #30

micahflee opened this issue Feb 19, 2013 · 6 comments
Milestone

Comments

@micahflee
Copy link

This is a feature request. It would be great the Gajim plugin configure window could have an "Import From Pidgin" button next to "Generate". It would see if these files exist:

~/.purple/otr.private_key
~/.purple/otr.fingerprints

If they do, it would load these, parse them, and convert the keys to Gajim .key3 and .fpr formats.

@micahflee
Copy link
Author

I wrote a script that converts Pidgin OTR keys to Gajim OTR keys: https://github.com/micahflee/pidgin2gajim

If you want to implement this feature, maybe this code will save you some time.

@afflux
Copy link
Contributor

afflux commented Feb 23, 2013

FYI, I'm pretty busy right now. Will work on this in a few weeks time.

@micahflee
Copy link
Author

Thank you!

@abeluck
Copy link

abeluck commented Mar 16, 2013

FYI, we have an otrfileconverter project aiming to convert between all otr formats+apps. It mostly works, but is somewhat raw. Needs some usability polish before we publish it as a standalone tool.

https://github.com/guardianproject/otrfileconverter/

If you're interested, we could rework the module API a bit so it could be integrated into an app as a library.

@micahflee
Copy link
Author

Hey Abel! Actually, I copied a bunch of code from otrfileconverter to make pidgin2gajim (https://github.com/micahflee/pidgin2gajim/blob/master/pidgin2gajim.py#L9). I think making it a library would be awesome, so that any OTR client can easily offer an import feature.

@eighthave
Copy link

I think it makes more sense to support key format conversion/importing outside of the IM apps. OTR File Converter handles format conversion, file syncing on the local system, and soon sync with Gibberbot over the network via OTR.

That said, I think a lot of the primitives for handling the different key formats should be pushed upstream as much as possible, and not in otrfileconverter. It currently uses a bunch of different python crypto libraries in order to support all of the required formats (x509, PKCS#8, etc.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants