Questions tagged [xmlsec]

112 questions
1
vote
1 answer

Getting: "ERROR: Failed building wheel for xmlsec" when using docker to containerize flask app

I am working to containerize my Flask app with docker, and am getting the following error when I run docker-compose build The app runs fine on my local machine. I have tried upgrading pip, using brew to uninstall/reinstall Libxmlsec1 and pkg-config,…
ianwt
  • 89
  • 1
  • 9
1
vote
0 answers

I tried to use zeep library to make SOAP reuests and had trouble with ImportError:

>>> from zeep import Client >>> from zeep.wsse.signature import Signature >>> client = Client( ... 'http://www.webservicex.net/ConvertSpeed.asmx?WSDL', ... wsse=Signature( ... private_key_filename, public_key_filename, ... …
Irene
  • 33
  • 8
1
vote
0 answers

Docker: Move LibXMLSec settings / dependencies into executable directory

So. I'm trying to get my Dockerfile to run. Dockerfile is complicated, and doing things somewhat wrong for Python. The important part, though, is that it was working before I added XMLSec to the dependencies. (via the onelogin…
Dylan Brams
  • 2,089
  • 1
  • 19
  • 36
1
vote
1 answer

System error: null argument to internal routine in xmlsec

I am trying to implement SSO in a Django application. I have a ubuntu 16.04 OS, Apache and WSGI and python 3.5.2 The packages that I installed: xlmsec 1.3.3 lxml 4.5.1 pkg-config 1.5.1 python3-saml 1.9.0 And all the dependencies for xmlsec:…
1
vote
1 answer

xmlsec is broken in new version due to __init__.pyi file

I was using xmlsec in my project, which was using latest release, with new release today, it's failing. # .tox/unittest/bin/pip install xmlsec Collecting xmlsec Using cached xmlsec-1.3.7.tar.gz (59 kB) …
Nilesh
  • 20,521
  • 16
  • 92
  • 148
1
vote
1 answer

examples or tutorials about santuario (Java)?

I need to encrypt an XML and Santuario looks to be the tool to do that with. Problem is, I've got no idea how to get started with it. From the FAQ (which seems to be really outdated), I got…
Friso
  • 1,080
  • 6
  • 37
1
vote
1 answer

ImportError: Interpreter change detected while importing xmlsec

I have a Django service and I recently added OneLogin SSO in it. Everying is working fine on local machine, but on server, login view throws this ImportError on each request. ImportError: Interpreter change detected - this module can only be loaded…
Dhirendra
  • 780
  • 9
  • 26
1
vote
0 answers

AssertionError: Unknown node type: 3 when encrypting SOAP body content with dm.xmlsec.binding

I'm getting an error when I try to encrypt the body of a SOAP XML message using https://pypi.org/project/dm.xmlsec.binding/. Traceback (most recent call last): File "./manage.py", line 14, in execute_from_command_line(sys.argv) …
romeroqj
  • 829
  • 3
  • 10
  • 21
1
vote
1 answer

xmlsec1 saml signing: failed to find default node with name="Signature"

I am having a bit of trouble signing the following saml message:
imaibou
  • 122
  • 1
  • 10
1
vote
1 answer

how to implement Detached XML Signatures with XML Security component in apache camel?

H I have doubts with the implementation of Detached XML Signatures, I have mostly followed the example that appears here. My doubt is related to the validation that is done with the schema "test.xsd", I have not managed to generate it according to…
ctoledo
  • 21
  • 3
1
vote
0 answers

Java - Problems Using Santuario/xmlsec to Sign XML Document

I'm having some trouble using the Apache xmlsec library to digitally sign an XML Document. Based on scant documentation and a few examples on the web, I've thrown together the following code: public class SOAPTester { private static final…
javaeeguy
  • 51
  • 1
  • 7
1
vote
1 answer

Java XML DOM - how to use Element.getAttributeNS

I have XML node: .... What values should I pass to…
Dustin Sun
  • 5,292
  • 9
  • 49
  • 87
1
vote
1 answer

xmlsec1 sign failed - id

In the SignInfo node I have ... It refers to the node below: Command: xmlsec1 --sign…
Dustin Sun
  • 5,292
  • 9
  • 49
  • 87
1
vote
1 answer

XML - Why are relative namespaces considered to be invalid?

I have a piece of XML that I am attempting to sign then verify which uses relative namespaces: name
smokedice
  • 900
  • 2
  • 10
  • 25
1
vote
0 answers

apache POI creates invalid signature for stream xlsx file

I am trying to create and add a valid regular cryptographic signature to a xlsx file i am creating. In addition, i am trying to do it in-memory. This seems to cause problems for me. This code creates the file but in windows excel states that the…