Off-the-Record Messaging

Off-the-Record Messaging (OTR) is a cryptographic protocol that provides encryption for instant messaging conversations. OTR uses a combination of AES symmetric-key algorithm with 128 bits key length, the Diffie–Hellman key exchange with 1536 bits group size, and the SHA-1 hash function. In addition to authentication and encryption, OTR provides forward secrecy and malleable encryption.

The primary motivation behind the protocol was providing deniable authentication for the conversation participants while keeping conversations confidential, like a private conversation in real life, or off the record in journalism sourcing. This is in contrast with other cryptography tools that produce output which can be later used as a verifiable record of the communication event and the identities of the participants. The initial introductory paper was named "Off-the-Record Communication, or, Why Not To Use PGP".[1]

The OTR protocol was designed by cryptographers Ian Goldberg and Nikita Borisov and released on 26 October 2004.[2] They provide a client library to facilitate support for instant messaging client developers who want to implement the protocol. A Pidgin and Kopete plugin exists that allows OTR to be used over any IM protocol supported by Pidgin or Kopete, offering an auto-detection feature that starts the OTR session with the buddies that have it enabled, without interfering with regular, unencrypted conversations.

Implementation

In addition to providing encryption and authentication — features also provided by typical public-key cryptography suites, such as PGP, GnuPG, and X.509 (S/MIME) — OTR also offers some less common features:

Authentication

As of OTR 3.1, the protocol supports mutual authentication of users using a shared secret through the socialist millionaire protocol. This feature makes it possible for users to verify the identity of the remote party and avoid a man-in-the-middle attack without the inconvenience of manually comparing public key fingerprints through an outside channel.

Limitations

Due to limitations of the protocol, OTR does not support multi-user group chat as of 2009[3] but may be implemented in the future. As of version 3[4] of the protocol specification, an extra symmetric key is derived during authenticated key exchanges that can be used for secure communication (e.g., encrypted file transfers) over a different channel. Support for encrypted audio or video is not planned. (SRTP with ZRTP exists for that purpose.)

Since OTR protocol v3 (pidgin-otr 4.0.0 and libotr 4.0.0) the plugin supports multiple OTR conversations with the same buddy who is logged in at multiple locations.[5]

Client support

libotr
Developer(s) OTR Development Team
Stable release 4.0.1 / 21 October 2014
Development status active
Written in C
Operating system Cross-platform
Type Software Library
License LGPL v2.1+[6]
Website https://otr.cypherpunks.ca/index.php#downloads

Native

These clients support Off-the-Record Messaging out of the box.

Via plug-in

Off-The-Record authentication in Pidgin using Socialist millionaires protocol

The following clients require a plug-in to use Off-the-Record Messaging.

Not in Google Talk

Although Gmail's Google Talk uses the term "off the record", the feature has no connection to the Off-the-Record Messaging protocol described in this article, its chats are not encrypted in the way described above - and could be logged internally by Google even if not accessible by end-users.[25][26]

References

  1. Nikita Borisov, Ian Goldberg, Eric Brewer (2004-10-28). "Off-the-Record Communication, or, Why Not To Use PGP" (PDF). Workshop on Privacy in the Electronic Society. Retrieved 2014-03-06.
  2. Ian Goldberg (2014-10-26). [OTR-users] Happy 10th anniversary!. Retrieved 2015-04-27.
  3. Ian Goldberg (May 27, 2009). "multi-party OTR communications? (and other OTR details)". OTR-users mailing list.
  4. "Off-the-Record Messaging Protocol version 3".
  5. Ian Goldberg (September 4, 2012). "pidgin-otr and libotr 4.0.0 released!". OTR-announce mailing list.
  6. "Off-the-Record Messaging".
  7. "BitlBee Wiki". Wiki.bitlbee.org. 2014-01-25. Retrieved 2014-05-15.
  8. "Kadu 1.0 Release Notes".
  9. "kopete-otr in KDE for 4.1".
  10. "kopete-otr review request".
  11. 0xd34df00d. "OTR Plugin". Github.com. Retrieved 2014-05-15.
  12. "Short description". Leechcraft.org. Retrieved 2014-05-15.
  13. "source code". Mcabber.com. 2013-10-25. Retrieved 2014-05-15.
  14. "OTR Plugin". Github.com. Retrieved 2014-05-15.
  15. "Psi+ snapshots". Github.com. Retrieved 2014-05-15.
  16. "OTR plugin for Gajim".
  17. "Gajim Wiki".
  18. gajim-otr project: This software is experimental and potentially insecure. Do not rely on it
  19. "irssi-otr / xchat-otr plugin".
  20. "Miranda OTR Plugin".
  21. "OTR plugin for pidgin".
  22. "Psi-Patches and OTR-Plugin on". Tfh-berlin.de. Retrieved 2014-05-15.
  23. "Tkabber OTR Plugin".
  24. "OTR plugin for WeeChat".
  25. "Chatting off the record - Talk Help".
  26. "Google Talk - Privacy Policy".

Further reading

External links