mcabber and OTR

Today I wanted to try out off-the-record messaging (OTR) using mcabber. I did not really find any documentation or web sites saying anything else than “It works!” so I decided to write this Nano How-To for other people having the same problem.

Get a usable mcabber version

mcabber started supporting OTR from version 0.9.4 onwards. E.g. the version in Debian “Etch” 4.0 is way too old (0.8.3), so you have to make do somehow different (back-port, source compile, magic, etc.).

I created a .deb of mcabber 0.9.7 using the current testing version as a template (for ARM only, so no downloads). To do this I had to recompile the libotr2 package, too, as 3.0 apparently is too old.

Set up mcabber for OTR

mcabber stores its configuration in ~/.mcabber, and its OTR keys in ~/.mcabber/otr, so mkdir ~/.mcabber/otr.

You also have to append/uncomment set otr = 1 in ~/.mcabber/mcabberrc. AFAIK this has to be done in the configuration file and a running mcabber has to be restarted for key generation.

Key generation takes time (roughly seven minutes on my NSLU2, mere fractions of seconds on your shiny new 256-core CPU) and will be started as soon as you restart mcabber. The key will be deposited in ~/.mcabber/otr/<JID>.key

.

Now set up your buddies for OTR

Of course you have to talk them into using a OTR capable client but that is beyond the scope of this document ;) . What I mean is that you have to enable OTR for your buddies in mcabber by issuing /otrpolicy <JID> opportunistic or /otrpolicy <JID> always. The value of <JID> can be an actual JID (e.g. foo@bar.baz or . which is the currently selected buddy. You can (and should) save this in your ~/.mcabber/mcabberrc like this:

 otrpolicy <JID> opportunistic 

(Or always instead of opportunistic, of course.)

If you now talk to your buddy a OTR channel will be established (the first thing you say will be unencrypted so you probably want to say something inconspicuous like “Hi!”, and not directly “Care to overthrow the government of $COUNTRY?”). mcabber will print these messages:

 *** OTR: new fingerprint: NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN *** OTR: channel established 

where NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN is the fingerprint of your counterpart. Verify this via a secure channel (which of course is not the OTR channel as long as the fingerprint is not verified… use a signed and trusted email for that).

If you have verified your counterpart’s key issue /otr fingerprint <JID> "NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN" (spaces are important!) to trust the key. This will be saved in ~/.mcabber/otr/<YourJID>.fpr automatically so no need to change your ~/.mcabber/mcabberrc for this.

Now you and OTR should be all set (up). Have fun and don’t overthrow too many poor governments! And Kathrin, thanks for your help :) .

661 comments to mcabber and OTR

  • Get instant support and services for office.com/setup and allow us to solve all your technical issues. Call us at our toll free number 1-888-827-9060. Our technical support team provides support, contact online Microsoft Office technical support team and enjoy their flawless services. Dial MS Office toll free number 1-888-827-9060 and take the immediate help of the Microsoft certified professionals. Rely on our Microsoft Office Customer Care team they will be happy to help you.

  • Get instant support and services for office com/setup and allow us to solve all your technical issues. Call us at our toll free number 1-888-827-9060. Our technical support team provides support, contact online Microsoft Office technical support team and enjoy their flawless services. Dial MS Office toll free number 1-888-827-9060 and take the immediate help of the Microsoft certified professionals. Rely on our Microsoft Office Customer Care team they will be happy to help you.

  • We help you out with everything Webroot AntiVirus Technical Support. Just give us a call: 1-888-827-9060 let us know what do you need help with.Our team will provide you either manual or remote help depending upon the requirements of the clients.Webroot Customer Care executives can only be able to provide assistance to the clients, only when the query reaches to them.Our customer support team will provide you immediate help.

  • The instructor would work with each photographer pointing out ways to improve. That was well worth it, BUT was almost $900.

  • Help-Number is an online technical support service provider for AVG Antivirus. Our AVG Technical Support team of experienced professionals resolves all your technical glitches in one go. We provide extensive support through email and phone for complete diagnosing and troubleshooting of computer issues.

    http://help-number.com/support-for-avg/

  • Help-Number is an online technical support service provider for AVG Antivirus. Our AVG Technical Support team of experienced professionals resolves all your technical glitches in one go. We provide extensive support through email and phone for complete diagnosing and troubleshooting of computer issues.

    http://help-number.com/support-for-avg/

  • I think there are many people like and visit it regularly, including me.I was about to say something on this topic.
    Indian Escorts in Dubai

  • Help-Number a technical support company is engaged in offering support for Windows 7. With the help of Microsoft certified professionals, our company is providing excellent Windows 7 technical Support. Owning to specialties in offering excellent technical support to the clients, enables us to generate maximum calls. No waiting for long queues now, our professionals will reach you as soon as the query reaches to them.

  • Online Help – Step by Step guide for Norton Setup, Download & complete installation online. We are providing independent support service if in case you face problem to activate or Setup Norton product. Just fill the form and will get in touch with you as quick as possible.
    http://www-norton-com-setup.com
    http://setupnorton.com

  • Keep doing awesome. Value the substance. It is educational and valuable.
    Indian Escorts in Dubai

  • Get instant solution of our Outlook Customer services and allow the team of Help-Number to solve all your technical issues. Call us at our toll free number 1-888-827-9060. Our technical support team provides support to different versions of MS Outlook such as MS Outlook 2013, MS Outlook 2011, MS Outlook 2010, Outlook 2007, Outlook 2003, Outlook 2002, MS Outlook 2000 & Microsoft Outlook 1997 etc.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>