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

If there's software you need and you can't find, make a request for it.

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

Postby zAchAry » 25. Jan 2011, 14:48

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

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

Postby zAchAry » 15. Jul 2012, 12:42

Ping. This should be included in the repository.
User avatar
zAchAry
 
Posts: 634
Joined: 11. May 2010, 09:02
Location: Israel

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

Postby Quax » 15. Jul 2012, 17:47

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
Quax
 
Posts: 36
Joined: 16. Sep 2009, 15:09
Location: Muelheim an der Ruhr, Germany

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

Postby zAchAry » 16. Jul 2012, 12:11

This is about Python. pidgin-otr is an extension for Pidgin, not Gajim.
User avatar
zAchAry
 
Posts: 634
Joined: 11. May 2010, 09:02
Location: Israel

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

Postby thenktor » 16. Jul 2012, 13:51

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)
last.fm (my last.fm profile)
User avatar
thenktor
Salix Wizard
 
Posts: 2393
Joined: 6. Jun 2009, 14:47
Location: Franconia

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

Postby zAchAry » 16. Jul 2012, 17:37

If you try to enable the OTR plugin while python-otr is not installed, a Plugin Error message will appear python-otr is missing.
User avatar
zAchAry
 
Posts: 634
Joined: 11. May 2010, 09:02
Location: Israel

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

Postby Shador » 16. Jul 2012, 20:47

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
Shador
Salix Warrior
 
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

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

Postby zAchAry » 18. Jul 2012, 14:15

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

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

Postby zAchAry » 20. Aug 2012, 18:30

potr is now included by default in gotr. This thread is no longer relevant.
User avatar
zAchAry
 
Posts: 634
Joined: 11. May 2010, 09:02
Location: Israel


Return to Package requests