Page 1 of 1

pure-python-otr: Off-the-Record Messaging encryption

Posted: 25. Jan 2011, 14:48
by zAchAry
Homepage: https://github.com/afflux/pure-python-otr
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')
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/
  • 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.
Realization/Illustration of OTR in action:
http://www.cypherpunks.ca/otr/help/3.2. ... hp?lang=en

Re: pure-python-otr: Off-the-Record Messaging encryption

Posted: 15. Jul 2012, 12:42
by zAchAry
Ping. This should be included in the repository.

Re: pure-python-otr: Off-the-Record Messaging encryption

Posted: 15. Jul 2012, 17:47
by Quax
post deleted,
sorry for not reading the topic carefully enough :oops:

Quax

Re: pure-python-otr: Off-the-Record Messaging encryption

Posted: 16. Jul 2012, 12:11
by zAchAry
This is about Python. pidgin-otr is an extension for Pidgin, not Gajim.

Re: pure-python-otr: Off-the-Record Messaging encryption

Posted: 16. Jul 2012, 13:51
by thenktor
zAchAry wrote:This is about Python. pidgin-otr is an extension for Pidgin, not Gajim.
You are talking about python and Gajim, but you've missed the most important information here:
Python OTR
This is a pure Python OTR implementation; it does not bind to libotr.

Included in this package is a Gajim Python plugin to enable OTR support in the Gajim XMPP/Jabber client. This plugin is called gotr.

Re: pure-python-otr: Off-the-Record Messaging encryption

Posted: 16. Jul 2012, 17:37
by zAchAry
If you try to enable the OTR plugin while python-otr is not installed, a Plugin Error message will appear python-otr is missing.

Re: pure-python-otr: Off-the-Record Messaging encryption

Posted: 16. Jul 2012, 20:47
by Shador
zAchAry wrote:If you try to enable the OTR plugin while python-otr is not installed, a Plugin Error message will appear python-otr is missing.
So what? Isn't that what one would expect to happen? :?

Re: pure-python-otr: Off-the-Record Messaging encryption

Posted: 18. Jul 2012, 14:15
by zAchAry
Yes, since I do not have the relevant component to make it to work. Am I missing anything here? :-P

[OBSOLETE] Re: pure-python-otr: OTR Messaging encryption

Posted: 20. Aug 2012, 18:30
by zAchAry
potr is now included by default in gotr. This thread is no longer relevant.