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

If there's software you need and you can't find, make a request for it.
Post Reply
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

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

Post 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
Image
Help to make Slackware easier Donate to Salix
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

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

Post by zAchAry »

Ping. This should be included in the repository.
Image
Help to make Slackware easier Donate to Salix
Quax
Posts: 36
Joined: 16. Sep 2009, 15:09
Location: Muelheim an der Ruhr, Germany
Contact:

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

Post by Quax »

post deleted,
sorry for not reading the topic carefully enough :oops:

Quax
Last edited by Quax on 17. Jul 2012, 06:37, edited 1 time in total.
Hole Deine Benutzer da ab, wo sie stehen,
nicht da, wo Du sie gerne stehen hättest...
-------------------------------------------------------------
Pick up the users where they really are
and not where you expect them to be...
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

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

Post by zAchAry »

This is about Python. pidgin-otr is an extension for Pidgin, not Gajim.
Image
Help to make Slackware easier Donate to Salix
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

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

Post 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.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

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

Post 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.
Image
Help to make Slackware easier Donate to Salix
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

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

Post 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? :?
Image
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

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

Post by zAchAry »

Yes, since I do not have the relevant component to make it to work. Am I missing anything here? :-P
Image
Help to make Slackware easier Donate to Salix
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

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

Post by zAchAry »

potr is now included by default in gotr. This thread is no longer relevant.
Image
Help to make Slackware easier Donate to Salix
Post Reply