Differences between revisions 5 and 13 (spanning 8 versions)
Revision 5 as of 2010-06-15 16:07:29
Size: 518
Editor: ds87-230-82-22
Comment:
Revision 13 as of 2012-03-07 16:03:21
Size: 2524
Editor: a89-182-210-102
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Bitlbee has no native support for OTR but there are custom versions that include OTR functionality (sadly you have to compile your own bitlbee)
Line 4: Line 3:
some versions that include OTR Support: Versions 3.0 and newer have bitlbee-otr merged in.
Line 6: Line 5:
  *One current version http://github.com/abbe/bitlbee-otr
    *and its corresponding blog (?) http://wahjava.wordpress.com/tag/bitlbee-otr/
  *Original (outdated!) http://khjk.org/bitlbee-otr/
When using distro packages, there is hopefully a bitlbee-plugin-otr package you can install. When compiling your own !BitlBee, pass --otr=1 or --otr=plugin to the configure script. Make sure that you have libotr (libotr2-dev on Debian) installed, version 3.2.0 or higher!
Line 10: Line 7:
== Ongoing progress on getting OTR upstream == Note that this requires running your own !BitlBee. OTR functionality should not ever be offered on any public server as it only gives a false sense of security!
Line 12: Line 9:
  http://bugs.bitlbee.org/bitlbee/ticket/115 For more information on how to use OTR, see "help otr" and other existing documentation.

== OTR-related settings ==

 * {{{otr_policy}}} (global) - see {{{help set otr_policy}}}
 * {{{otr_color_encrypted}}} makes OTR-Communication colored
 * {{{otr_does_html}}} if true, bitlbee will strip html in OTR messages
 * Any others?

(And if anyone could update this Wiki page with more useful info on how to use thing thing that'd be great...)

== Simple Question and Answer Response ==

Assuming that you are using a OTR build (see http://geekyschmidt.com/2011/01/02/bitlbee-and-otr-then-add-some-tor if not) then the following steps will walk you through authentication an OTR session:

 1. otr connect $buddy
 1.
  i. otr smpq $buddy 2+2 4
  i. otr smp $buddy bigsecret
 1. If your buddy knows your answer or secret then they will reply correctly
 1. Your buddy being a smart cookie will then ask for you to respond to a question: otr smp $buddy answer
 1. Done!

In step 2 the breakout is question then answer. So if we wanted to do a “Where did we eat lunch 1 Jan” “Taco Bell” then you could do that also. I used 2+2 for simplicity. It is important to note that if you have logging turned on for BitlBee then your OTR messages are in vain. Also they could trace your connections via your network connection.

== Issues ==

OTR does NOT work (well) with offline messages. This scenario was tested using Ubuntu (Oneiric Ocelot/11.10) pidgin-otr-3.2.0-5 and bitlbee-plugin-otr-3.0.3.

Without previous or future chat-session, offline messages from either party will not be passed on and no notification will be sent.
OTR messages are only being delivered in these scenarios:

 1. User "A" and "B" are in an OTR session, when "B" is disconnecting. Messages from "A" are being delivered after "B" reconnects.
 1. User "A" is attempting an OTR session with the offline-user "B", when "B" is connecting while "A" is still online.


== Wiki-Suggestions ==

Get OTR to work with bitlbee

Versions 3.0 and newer have bitlbee-otr merged in.

When using distro packages, there is hopefully a bitlbee-plugin-otr package you can install. When compiling your own BitlBee, pass --otr=1 or --otr=plugin to the configure script. Make sure that you have libotr (libotr2-dev on Debian) installed, version 3.2.0 or higher!

Note that this requires running your own BitlBee. OTR functionality should not ever be offered on any public server as it only gives a false sense of security!

For more information on how to use OTR, see "help otr" and other existing documentation.

  • otr_policy (global) - see help set otr_policy

  • otr_color_encrypted makes OTR-Communication colored

  • otr_does_html if true, bitlbee will strip html in OTR messages

  • Any others?

(And if anyone could update this Wiki page with more useful info on how to use thing thing that'd be great...)

Simple Question and Answer Response

Assuming that you are using a OTR build (see http://geekyschmidt.com/2011/01/02/bitlbee-and-otr-then-add-some-tor if not) then the following steps will walk you through authentication an OTR session:

  1. otr connect $buddy
    1. otr smpq $buddy 2+2 4
    2. otr smp $buddy bigsecret
  2. If your buddy knows your answer or secret then they will reply correctly
  3. Your buddy being a smart cookie will then ask for you to respond to a question: otr smp $buddy answer
  4. Done!

In step 2 the breakout is question then answer. So if we wanted to do a “Where did we eat lunch 1 Jan” “Taco Bell” then you could do that also. I used 2+2 for simplicity. It is important to note that if you have logging turned on for BitlBee then your OTR messages are in vain. Also they could trace your connections via your network connection.

Issues

OTR does NOT work (well) with offline messages. This scenario was tested using Ubuntu (Oneiric Ocelot/11.10) pidgin-otr-3.2.0-5 and bitlbee-plugin-otr-3.0.3.

Without previous or future chat-session, offline messages from either party will not be passed on and no notification will be sent. OTR messages are only being delivered in these scenarios:

  1. User "A" and "B" are in an OTR session, when "B" is disconnecting. Messages from "A" are being delivered after "B" reconnects.
  2. User "A" is attempting an OTR session with the offline-user "B", when "B" is connecting while "A" is still online.

Wiki-Suggestions

BitlBee Wiki: bitlbee-otr (last edited 2018-02-12 21:07:46 by dx)