Code Monkey home page Code Monkey logo

pyaxo's People

Contributors

felipedau avatar rxcomm avatar tych0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyaxo's Issues

ImportError: cannot import name attrs when running axotor.py

When I am runnign python axotor.py, I get this:

Traceback (most recent call last):
  File "axotor.py", line 10, in <module>
    from wh import WHMgr
  File "/home/matej/pyaxo/examples/wh.py", line 7, in <module>
    from wormhole.wormhole import wormhole
  File "/usr/local/lib/python2.7/dist-packages/wormhole/wormhole.py", line 3, in <module>
    from attr import attrs, attrib
ImportError: cannot import name attrs

Before that I did:

sudo apt-get install gcc libffi-dev libsodium-dev python-dev
sudo pip install pyaxo
git clone https://github.com/rxcomm/pyaxo
cd pyaxo
sudo python setup.py install
sudo pip install PySocks
sudo pip install stem
sudo pip install wormhole
sudo pip install txtorcon
sudo pip install magic-wormhole

cd examples/
python axotor.py

I am running Ubuntu 16.04.2 LTS, 64-bit.

newer magic-wormhole release is available

I noticed the comment on: 2218830 that said it depended upon an unreleased magic-wormhole API. Just wanted to let you know that we've made a magic-wormhole release since that point, so maybe you can update the comment if that seems accurate.

cheers,
-Brian

cannot install in virtualenv

When I try to install this in a virtualenv, I get an error culminating in error: could not create '/usr/share/pyaxo': Permission denied which I guess stems from the BASE_DIRECTORY stuff in setup.py? (That said, only the thing on PyPI can't install; if I clone and pip install --editable the master branch it seems to work.

Please fix python3 build

It prints these errors:

byte-compiling /usr/ports/security/py-pyaxo/work-py36/stage/usr/local/lib/python3.6/site-packages/pyaxo.py to pyaxo.cpython-36.pyc
  File "/usr/local/lib/python3.6/site-packages/pyaxo.py", line 127
    print 'Confirm ' + other_name + ' has identity key fingerprint:\n'
                   ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print 'Confirm ' + other_name + ' has identity key fingerprint:\n')?

writing byte-compilation script '/tmp/tmp0_bsh647.py'
/usr/local/bin/python3.6 /tmp/tmp0_bsh647.py
  File "/usr/local/lib/python3.6/site-packages/pyaxo.py", line 127
    print 'Confirm ' + other_name + ' has identity key fingerprint:\n'
                   ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print 'Confirm ' + other_name + ' has identity key fingerprint:\n')?

Project unmessage depends on both pyaxo and opuslib. opuslib is now pythin3-only, and pyaxo is pythin2-only. This makes unmessage broken.

Use of pbkdf2

Dear rxcomm,

Love your implementation of the Axolotl stuff, but was wondering on what information you based the derivation of the Rk, HKs etc. from the master key (lines 180+). The protocol v2 specification doesn't mention how these keys should be derived and the libaxolotl-java implementation doesn't use the header keys.
There are more differences between your implementation and the TextSecure implementation. On what specs do you base your code?

TIA

LeMoi

Tests fail in 0.8.0 and 0.8.1, but not in 0.7.7

Running tests with ${PYTHON_CMD} -m pytest on FreebSD 11.1

===>   py27-pyaxo-0.8.1 depends on file: /usr/local/bin/python2.7 - found
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/_pytest/config.py", line 379, in _importconftest
    mod = conftestpath.pyimport()
  File "/usr/local/lib/python2.7/site-packages/py/_path/local.py", line 680, in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
ImportMismatchError: ('tests.conftest', '/home/k0rx/pyaxo/tests/conftest.py', local('/usr/ports/security/py-pyaxo/work/pyaxo-0.8.1/tests/conftest.py'))
ERROR: could not load /usr/ports/security/py-pyaxo/work/pyaxo-0.8.1/tests/conftest.py

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.