pure-python-otr: Off-the-Record Messaging encryption
Posted: 25. Jan 2011, 14:48
Homepage: https://github.com/afflux/pure-python-otr
akurei / My-PKGBUILDS / python-potr
Gajim OTR http://gajim-otr.pentabarf.de/ Is now included in the official plugin repository of Gajim.
More about OTR: http://www.cypherpunks.ca/otr/
http://www.cypherpunks.ca/otr/help/3.2. ... hp?lang=en
akurei / My-PKGBUILDS / python-potr
Code: Select all
# Maintainer: Michael Duell <mail@akurei.me> PGP-Key: 0AFF4FA1
# Fingerprint: 3D07 E732 2E26 30A8 A77E F267 1216 6164 0AFF 4FA1
pkgname=python-potr
pkgver=1.0.0beta5
pkgrel=1
pkgdesc="This is a pure Python OTR implementation; it does not bind to libotr."
arch=(any)
url="https://github.com/afflux/pure-python-otr"
license=('LGPL')
depends=('python2')
conflicts=('python-potr-git')
options=(!emptydirs)
source=("https://github.com/afflux/pure-python-otr/tarball/${pkgver}")
PYTHON=`which python2`
build() {
cd $srcdir/afflux*
set_python2
$PYTHON ./setup.py build
}
package() {
cd $srcdir/afflux*
$PYTHON ./setup.py install --root=$pkgdir/
}
# To use python2 instead of default python v3.
set_python2() {
for file in $(find . -name '*.py' -print); do
sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' "${file}"
sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' "${file}"
done
}
# vim:set ts=2 sw=2 et:
sha512sums=('fc5695d4a47e074a0776fa685ca0f33ad7428558eece1391391732b3e9aab110d68ef05c0704668ec32f5d36d8bb151b502c3d0283915d987e2c70db348b5617')
More about OTR: http://www.cypherpunks.ca/otr/
Realization/Illustration of OTR in action:
- Off-the-Record (OTR) Messaging allows you to have private conversations over instant messaging by providing:
- Encryption
No one else can read your instant messages.- Authentication
You are assured the correspondent is who you think it is.- Deniability
The messages you send do not have digital signatures that are checkable by a third party. Anyone can forge messages after a conversation to make them look like they came from you. However, during a conversation, your correspondent is assured the messages he sees are authentic and unmodified.- Perfect forward secrecy
If you lose control of your private keys, no previous conversation is compromised.
http://www.cypherpunks.ca/otr/help/3.2. ... hp?lang=en