Difference between revisions of "Gajim"

From ArchWiki
Jump to: navigation, search
(gajim <= 0.13)
(Gajim >= 0.15 (or 0.14-hg))
Line 19: Line 19:
 
## (optional, at next times) Update plugins to newer versions: <pre>$ hg pull; hg up</pre>
 
## (optional, at next times) Update plugins to newer versions: <pre>$ hg pull; hg up</pre>
 
# [Re]Start gajim;
 
# [Re]Start gajim;
 +
 +
At first time, you also need to activate the plugin:
 
# Go to menu Edit => Modules;
 
# Go to menu Edit => Modules;
 
# Activate the "Off-the-record encryption" plugin;
 
# Activate the "Off-the-record encryption" plugin;
# (at first time) Click on plugin settings button, and generate your OTR key in gotr dialog.
+
# Click on plugin settings button, and generate your OTR key in gotr dialog.
# close dialogs to save the changes.
+
# Close dialogs to save the changes.
  
 
== gajim <= 0.13 ==
 
== gajim <= 0.13 ==

Revision as of 20:05, 13 August 2011

Gajim and OTR

OTR (off-the-record) encryption is strong end-to-end encryption protocol for instant messaging (read more). OTR hasn't any XMPP XEP, because OTR is of cross-protocol nature.

And Gajim is a powerful XMPP-client without OTR support out-of-the-box.

Gajim >= 0.15 (or 0.14-hg)

Since version 0.15, Gajim has powerful plugin system. The gotr plugin is an modern OTR implementation from Kjell Bradden. gotr depends on python-potr.

To install the plugin follow these simple steps:

  1. Be sure, that currently installed version of gajim >= 0.15. If 0.15 version is not available, install aur:gajim-hg;
  2. Install aur:python-potr;
  3. Install/update the gajim plugins from hg.
    1. Install mercurial:
      $ sudo pacman -S mercurial
    2. Go to gajim plugins directory:
      $ mkdir -p ~/.local/share/gajim/plugins/; cd ~/.local/share/gajim/plugins/
    3. (at first time) Download all plugins:
      $ hg clone http://hg.gajim.org/gajim-plugins/ .
    4. (optional, at next times) Update plugins to newer versions:
      $ hg pull; hg up
  4. [Re]Start gajim;

At first time, you also need to activate the plugin:

  1. Go to menu Edit => Modules;
  2. Activate the "Off-the-record encryption" plugin;
  3. Click on plugin settings button, and generate your OTR key in gotr dialog.
  4. Close dialogs to save the changes.

gajim <= 0.13

Note: gajim's otr-branch is unmaintained and obsoleted by gajim's plugin system (read above).

You can use aur:gajim-otr-hg PKGBUILD to build OTR-compatible 0.13 version of gajim. Main issues are:

  • Received otr-encrypted messages with HTML markup will be rendered raw, unformatted, with HTML tags;

The OTR setting will be located in the last tab of gajim parameters (Ctrl+P) -> Off-the-record encryption. At first time, you need to generate own key on this tab using "Generate" button (this will take some time).