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 :) .

3,068 comments to mcabber and OTR

  • Rand McNally Update – Update Your Rand McNally using Rand McNally Dock by just downloading it from http://www.randmcnally.com/dock and Enjoy Rand McNally Device.
    http://rand-mcnally-update.com/

  • Office.com/setup – Setup Your Office Retailcard by Entering 25 Digits Office Setup Key on the Website and Install Office Instantly in some Easy Steps.
    http://officesetupp.us/

  • Avast Login – Now Login to Avast Account and Access Avast Management Console in order to Manage Services like Subscriptions, Activation etc at my.avast.com”
    http://myavastlogin.com

  • Norton.com/setup – Instant Norton Setup at norton.com/setup. Just Enter Norton Setup Product Key and Get Started with Norton in some Simple Steps.
    http://www.norton-com-setup.me/

  • Very efficiently written information. It will be priceless to anybody who uses it, together with myself. Sustain the good work – for positive i will try extra posts.

  • The Hewlett Packard is a popular brand name in the world of printers. HP was one of the very first companies to bring out the laser printer among users. HP Printers are known for delivering outstanding features, easy to use applications, top quality prints and many other attractive features. While using HP Printers, users encounter certain issues. Call on our HP Printer Support today to resolve all your queries.

  • Penipro Is The Best Ayuevedic Sex Power Capsule & Penis Enlargement Pills Which Help You To Boost Your Libido.

  • Apple Safari Support – We provide you the best service for all your issues by experts & update and manage your Safari settings.

  • It occured to me recently after an entire afternoon at the Southwell vintner, had we tasted anything that could match the Malbecs we had on our most recent trip to Chile? When it comes to buying seafood, it just simply isn’t worth trying to save a few pounds choosing dredged over hand-caught scallops. Unless we send out a clear message to the Bob Diamonds and Howard Schultz’s of this world they will never learn!

  • seomaster

    I am always searching online for storys that can accommodate me. There is obviously a multiple to understand about this. I feel you made few salubrious points in Attributes moreover. Detain busy, awesome career! https://www.prizebondlucky.net

  • This is a great post you share here. I just love the way you write this post. Thank You for sharing this informative post with us. Keep this great job up!

  • IDM Crack Patch + Free Serial Key With Keygen Download 2019
    Download IDM Crack Patch

  • Our Sambhu Baba voyages generally in 4 nations like USA, UK, Canada, Germany, for the most part in these 4 nations, Khan Baba is dealing with the issues of individuals, on the off chance that you can remain anyplace and you can come, The arrangement can be explained by simply calling a solitary telephone, every one of a mind-blowing torments can be survived and that is the reason in the event that you are living in America and love issues are coming
    in your life You are not ready to wed your affection, your adoration ended up far off from you. It has a squabble among you and needs to part of the arrangement you need to wed that you need to wed, come to you and apologize to you ought to consent to get hitched with you or your relatives begin surrendering with you. To do a wide range of work,

  • If you are getting trouble in your hulu activation code Then you are at the best we will give you a complete guide of setup ing your Hulu Device instantly with out any problem for a complect guide call at our troll free number @ +1-888-500-9609 get a instant help and support.

    Visit to activate instructions: https://wwwhulucomactivate.com

    We are highly experienced and well trained Hulu Support in the USA. Our Hulu support technical team provide instant solutions to the problems related to Hulu sign in problems, Hulu com activate error, Hulu com/activate help, Hulu com activate not working, Hulu not working on Roku, Hulu not working on wifi and more. Our Hulu support number is the same for the USA and Canada.

    You can also ask for help for any kind of major to minor Hulu issue from our technical team using our toll-free Hulu customer service number.

  • I can’t help but wonder what Edward Snowden would think about this. Why bring back O-levels when dance still isn’t a compulsory part of science! Add that to the list of promises Obama has broken.

  • Visit office.com/myaccount to Enter product key, install or reinstall office, sign in or create new account, manage office 365 subscription or get technical support.

  • Are you looking for free SMS then we have the best platform for you? Start your free messaging with way2sms free SMS. You will get an easy way to send free SMS.

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>