[guardian-dev] [Help] OTR file converter Jitsi

Hans-Christoph Steiner hans at guardianproject.info
Mon Jul 29 14:49:13 EDT 2013


Hey Mohamed,

Sorry for the slow response.  Responses inline below:

On 07/22/2013 02:22 PM, Mohamed Akram Tabka wrote:
> Hello Hans,
> 
> 
> 
> While working on Jitsi-OTR plugin and otrfileconverter , I noticed the
> problem when converting to Jitsi is due to a mistake in jitsi.py script.
> Otrfileconverter attempts to put Jabber in  most instant messaging
> client like GoogleTalk, Facebook, ICQ and others.
> 
> So, the exported line is written  this way (ex for gmail account):
> 
> net.java.sip.communicator.plugin.otr.Jabber_user1_gmail_com_gmail_com_publicKey
> = ...
> 
> while it should be like this
> 
> net.java.sip.communicator.plugin.otr.Google_Talk_user1_gmail_com_gmail_com_publicKey
> = ...
> 
> I tried to fix the problem and it works well.


This is great!  Much of what is there for Jitsi is quite rough, so your
improvements are sorely needed.  I haven't really used Jitsi, so I don't know
much about how it handles all the different account types.  Sounds like you
know.  Can you submit a patch, on this list is fine.


> Now Another thing, I wonder why otrfileconverter should check if the
> configuration file in the Homefolder of the exported format exists or
> not? it should be created instead.


Right now, otrfileconverter does not overwrite the apps' config files in their
home directory because this process has not been thoroughly tested yet.  I
would have to have it mess up all the config files of someone's laptop, so
they couldn't use any IM.  I think we can certainly improve this process while
keeping a backup.  I think it could swap in the new files, and rename the
current one to keep as a backup.

The tricky part there is that apps like Jitsi will overwrite their config file
when they close.  So in order for otrfileconverter to successfully install a
new config file, either the IM app needs to be closed first, or we need to
find a signal to send the app to tell it to reload its config files.

.hc

> 
> All bests,
> 
> 
> 
> On 17/07/13 23:27, Mohamed Akram Tabka wrote:
>> good step to start with. I will focus on it.
> 
>> thank you for your support A.
> 
>> On 17/07/13 20:10, Hans-Christoph Steiner wrote:
>>>
>>> The first place to start is with getting jitsi to store that
>>> fingerprint data. We have a low noise dev list, it would be a
>>> good place to discuss this work going forward:
>>>
>>> https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>>
>>> .hc
>>>
>>> On 07/17/2013 12:55 PM, Mohamed Akram Tabka wrote:
>>>> Hello,
>>>>
>>>> Thanks for you answer. I'm from the Tunisian Office of
>>>> Accessnow , so I'm based in Tunis. I'm working actually on
>>>> developping a solution for Jitsi to be more flexible and
>>>> support OTR converted file format from Pidgin, Gibberbot, and
>>>> other IM clients. And I found that the Otrfileconverter is
>>>> very interesting.
>>>>
>>>> A.
>>>>
>>>>
>>>> On 15/07/13 19:45, Hans-Christoph Steiner wrote:
>>>>>
>>>>> Hey Mohamed,
>>>>>
>>>>> I never received an answer from them, unfortunately.  I
>>>>> haven't followed up, so I don't know if they fixed it.  I'd
>>>>> love to see it happen, so I'll help you where I can.
>>>>>
>>>>> otrfileconverter can read everything from jitsi and export it
>>>>> fine.  Its not well tested, so there could be bugs.
>>>>> Gibberbot, Pidgin, and Adium do not have any limitations like
>>>>> jitsi, so two-way sync is possible.
>>>>>
>>>>> Are you based in NYC?  If so, our office is a block down from
>>>>> yours, so we could meet up sometime to hammer this out.
>>>>>
>>>>> .hc
>>>>>
>>>>> On 07/15/2013 01:26 PM, Mohamed Akram Tabka wrote:
>>>>>> Hello Hans,
>>>>>>
>>>>>> I'm working on an OTR-key plugin importer on Jitsi and I
>>>>>> have found your message on the link below:
>>>>>>
>>>>>> https://java.net/projects/jitsi/lists/dev/archive/2012-10/message/86
>>>>>>
>>>>>>
>>>>>>
> would you mind tell me if the problem is solved ?
>>>>>>
>>>>>> Because, when I tried to convert an OTR file from Pigin to
>>>>>> Jitsi with Otrfileconverter the file is exported into
>>>>>> sip-communicator.properties file but it doesn't work when I
>>>>>> integrate it to jitsi (ie if I put in / home/user/.jitsi).
>>>>>>
>>>>>> Does Otrfileconverter work properly when I convert from
>>>>>> Pidgin to Jitsi ,Still there any problem with the
>>>>>> compatibility between Jitsi and  other file formats?
>>>>>>
>>>>>>
>>>>>> All the best to you A.
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
> 
> 
> 
> 
> 

-- 
PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 939 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20130729/4199a77c/attachment.pgp>


More information about the Guardian-dev mailing list