Page MenuHomeFreeBSD

[NEW PORT] security/py-pyaxo: Python implementation of the Axolotl ratchet protocol
ClosedPublic

Authored by ultima on Sep 10 2017, 9:52 PM.

Details

Summary

The Double Ratchet Algorithm is a protocol (similar to OTR) that provides for
perfect forward secrecy in (a)synchronous communications. It uses triple
Diffie-Hellman for authentication and ECDHE for perfect forward secrecy. The
protocol is lighter and more robust than the OTR protocol - providing better
forward and future secrecy, as well as deniability.

The protocol was developed by Trevor Perrin and Moxie Marlinspike. Its chief
use currently is in the Open Whisper Systems Signal package.

WWW: https://github.com/rxcomm/pyaxo

PR\: 222040
Submitted by\: Yuri Victorovich (maintainer)
Reviewed by\: lifanov (mentor), matthew (mentor)
Approved by\: lifanov (mentor), matthew (mentor)
Differential Revision\: https://reviews.freebsd.org/DXXXXX

Test Plan

portlint:
looks fine.

poudriere:
103i386
103amd64
110i386
110amd64
12i386
12amd64

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ultima created this revision.Sep 10 2017, 9:52 PM
ultima added a subscriber: Python.Sep 10 2017, 10:04 PM
koobs accepted this revision.Sep 11 2017, 5:47 AM
koobs added a subscriber: koobs.

USES=python implies this package supports and has been tested with Python 3.x, however upstream trove classifiers do not explicitly mention which versions are supported, and packaging (poudriere) tests for Python 3.x are not apparent in TEST PLAN

I see Yuri has requested clarification upstream

Approved, pending confirmation/QA of Python3 support

security/py-pyaxo/Makefile
14 ↗(On Diff #32904)

Add LICENSE_FILE where one exists in the source distribution (one does: COPYING)

This revision is now accepted and ready to land.Sep 11 2017, 5:47 AM

You haven't shown the update to the category Makefile. Other than that, and Koob's comments looks fine.

USES=python implies this package supports and has been tested with Python 3.x, however upstream trove classifiers do not explicitly mention which versions are supported, and packaging (poudriere) tests for Python 3.x are not apparent in TEST PLAN

I see Yuri has requested clarification upstream

Approved, pending confirmation/QA of Python3 support

12amd64-python36 I'm not positive it is supported, It does build successfully in poudriere which is why it isn't defined, however there is an error: SyntaxError: Missing parentheses in call to 'print' during the build twice.

matthew accepted this revision.Sep 11 2017, 1:10 PM

Subject to adding LICENSE_FILE but this

lgtm

sunpoet added inline comments.
security/py-pyaxo/Makefile
19 ↗(On Diff #32904)

Please add "concurrent" if this port support both Python 2 and 3.
And please sort it.
That is "USE_PYTHON=autoplist concurrent distutils".

lifanov accepted this revision.Sep 11 2017, 1:32 PM

Approved! Make sure you either try this port with python 3 or wait for that github issue or do USES=python:2 instead.

ultima added a comment.EditedSep 11 2017, 9:10 PM

I rather play it safe, readded python:2.7, will wait for clarification and sorted USE_PYTHON. && adding LICENSE_FILE

This revision was automatically updated to reflect the committed changes.