Comments (3)
@kmiloaguilar Can you please share on which version of Python this occured? Also, the output of pip freeze
. I just reran the Travis tests and was unable to reproduce the issue there or locally in a Python 3.4 virtualenv.
from py-wsse.
Python version = 2.7.13
OS: macOS 10.12.2
Pip freeze? is the same one in here since I created a virtualenv just for this.
from py-wsse.
It's the same for me.
Python version = 2.7.10
OS: macOS = 10.12.3
platform darwin -- Python 2.7.10 -- py-1.4.30 -- pytest-2.7.2
rootdir: /Users/misa/development/webpaysoap/env/lib/python2.7/site-packages/wsse/py-wsse, inifile:
collected 1 items
test/test_signing.py F
================================================================================================= FAILURES =================================================================================================
___________________________________________________________________________________________ test_sign_and_verify ___________________________________________________________________________________________
test/test_signing.py:20: in test_sign_and_verify
signed = signing.sign(envelope, key_path, cert_path)
wsse/signing.py:139: in sign
ctx.sign(signature)
src/xmlsec/ds.pyx:79: in xmlsec.ds.SignatureContext.sign (src/xmlsec/ds.c:1966)
???
E Error: (u'sign failed with return value', -1)
But I tested also with a linux platform and the test passed, so the problem maybe is in a library which is different in mac OS.
(.venv) asim@ubuntu:~/py-wsse$ python runtests.py
=========================================================================================== test session starts ============================================================================================
platform linux2 -- Python 2.7.12, pytest-3.0.6, py-1.4.32, pluggy-0.4.0
rootdir: /home/asim/py-wsse, inifile:
collected 1 items
test/test_signing.py .
========================================================================================= 1 passed in 0.34 seconds =========================================================================================
from py-wsse.
Related Issues (16)
- Requiring python-xmlsec 0.6.0 instead of vendoring patched 0.3.1 HOT 1
- No crypto property file supplied for decryption Error
- Encrypt/Decrypt not working (maybe wrong usage?) HOT 2
- py-wsse installation issue in windows 10 64 bit HOT 1
- undefined symbol: _Py_ZeroStruct
- libxmlsec1-openssl.so.1: cannot open shared object file: No such file or directory HOT 1
- wsse.signing.sign does not allow passphrase HOT 1
- Move to suds-community?
- ERROR: Could not build wheels for py-wsse, which is required to install pyproject.toml-based projects
- Error installing py-wsse: python setup.py egg_info did not run successfully.
- Does Py-WSSE support WS-SecureConversation? HOT 1
- Exception in: lxml.etree._Element.__dealloc__ HOT 1
- py-wsse cannot been installed HOT 2
- error: pkg-config is not installed HOT 1
- documentation py-wsse
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py-wsse.