1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
Off-the-Record messaging plugin for Psi
The plugin currently only runs with Psi+ (aka Psi-dev). If you don't have Psi+
installed on your computer, you can get it from http://code.google.com/p/psi-dev/
To compile the plugin you need to have installed the following libraries:
- Qt4 or Qt5 (http://qt.digia.com/)
- libotr2 (http://www.cypherpunks.ca/otr/)
- TidyLib (http://tidy.sourceforge.net/)
Perform the following steps:
- Get Psi+ and apply the patches to the latest sources of Psi. Therefor you can
use one of the scripts provided by Psi+.
- Make the Psi/Psi+ include files available to the plugin. To achieve this, copy
the psi-otr-X.X/ directory to the src/plugins/generic/ directory of your
patched Psi/Psi+ source tree.
- change to the psi-otr-X.X/ directory and run qmake to generate a Makefile:
$ qmake
- Then run make to compile everything:
$ make
The resulting binary is libotrplugin.so or otrplugin.dll. This file should be
copied to the plugins subdirectory of the Psi+ resources:
* /usr/lib/psi-plus/plugins/ or /usr/local/lib/psi-plus/plugins/ or
~/.local/share/psi+/plugins on Linux-based and FreeBSD systems
* C:\Program Files\Psi+\plugins\ or %PSI_PLUS_DIRECTORY%\plugins\
on MS Windows systems
Build and installation in Mac OS X is possible as well, but it requires some
magic.
If you have successfully installed OTR plugin, do the following steps when you
run Psi+ for the first time:
- Enable the plugin in the 'Options'-->'Plugins' dialog and click on 'Apply'.
- Set the OTR policy in the 'Config' Tab of the plugin options.
In most cases 'Automatically start private messaging' should be a good choice.
- There is no button etc. to generate your private key. It will be generated
when it's needed. I.e. when you start your first private conversation.
|