Questions tagged [xmlsec]
112 questions
0
votes
0 answers
Getting security issue while upgrading apache santuario library from 1.5.6 to 3.0.1
while updating apache santuario library we are facing below error.
java.security.AccessControlException: access denied ("java.security.SecurityPermission" "org.apache.xml.security.register")
at…

vaibhav-hatkar
- 1
- 1
0
votes
1 answer
Error: Unable to find a match: xmlsec1-devel xmlsec1-openssl-devel On AlmaLinux:8
I am getting below error while installing xmlsec on AlmaLinux:
#15 92.42 Building wheel for xmlsec (PEP 517): started
#15 92.65 Building wheel for xmlsec (PEP 517): finished with status 'error'
#15 92.65 ERROR: Command errored out with exit…

Nilay Narlawar
- 15
- 8
0
votes
1 answer
GOST support. OpenSSL, xmlsec
Im writing xml signing utility using C++ to run on Linux (only). And I need support of GOST, GOST2012.
I'm using xmlSecOpenSSLKeyDataGost2001Id, xmlSecOpenSSLKeyDataGostR3410_2012_256Id, xmlSecOpenSSLKeyDataGostR3410_2012_512Id in…

Nem
- 336
- 3
- 8
- 22
0
votes
1 answer
Sign part of XML using xmlsec
I’m trying to sign a simple soap message. The message looks like this:
someData
…

TheFinalCutBG
- 43
- 1
- 6
0
votes
0 answers
SOAP API - Qname find fails with zeep and xmlsec on x509_data.find(QName(ns.DS, "X509Certificate")).text in centOS75 (python 3.8)
Versions I am using -
zeep==3.4.0
lxml==4.7.1
xmlsec==1.3.8
libxml2 = 2.9.2
Centos75
python 3.8.10
Error detail:
service_1 | Traceback (most recent call last):
service_1 | File "/app/wf_iccp/endpoints/home.py", line 59,…

Harsh
- 1
- 3
0
votes
1 answer
Can't Install xmlsec for Mac
I'm new to django. i am tring to implement python3-saml which requires Xmlsec. i am trying to install it Using "pip install xmlsec" on my virtal environment. but throwing this error.
Collecting xmlsec
Using cached xmlsec-1.3.12.tar.gz (64…

Jashwanth Neela
- 263
- 1
- 8
0
votes
1 answer
"xmlsec.exe stopped working" error when trying to execute command - is my xmlsec setup faulty?
So, I'm trying to sign an XML file through XmlSec, and when I press enter in order to execute this line written in Command Prompt:
xmlsec --sign --pkcs12 FISKAL.p12 --pwd password --trusted-pem root_ca.pem --id-attr:Id Request --id-attr:Id Reference…

Prothy
- 47
- 2
- 7
0
votes
1 answer
Trying to sign XML with XmlSec in command line, keep getting "missing file errors"?
No matter which order of commands I use, I keep getting similar error messages:
With
xmlsec --sign --output signedfile.xml --pkcs FISKAL.p12 --pwd Password --trusted-pem root_ca.pem --id-attr:Id file.xml
I get
Error: ⟨file⟩ parameter is required…

Prothy
- 47
- 2
- 7
0
votes
1 answer
Choose a library version between Jboss modules and project dependencies
I'm trying to make a sign operation with a XML file. In this process, I use the xmlSec 1.5 library. If I run the code in a local test the process finishes successfully.
However, if I deploy the code in a war in a Jboss 7.1, my dependency with…

tovarichML
- 119
- 1
- 2
- 9
0
votes
1 answer
Digest value generated in xmlsec and openssl are different
Hi I'm learning and working on digital signature verification and I tried using xmlsec library. Using xmlsec and the code from the example:
parser = etree.XMLParser(remove_blank_text=True)
template = etree.parse('test.xml',…

Fer-de-lance
- 375
- 5
- 23
0
votes
1 answer
Slow xmlsec package build with pip install
I'm using xmlsec 1.3.3 in my python web application.
Every time I run a clean pip install, this is the package it hangs on, for about 5 minutes.
The package size is 15KB and pip show a using cached... message, so I guess the time is taken by…

Cloud
- 458
- 1
- 13
- 34
0
votes
1 answer
Error installing xmlsec in linux server with python 3.4
started seeing this error today installing xmlsec in a linux server. I see part of the error says This lxml version requires Python 2.7, 3.5 or later. but I can't find any documentation of python v3.4 being dropped by this library or how to deal…

Javier Carmona
- 527
- 1
- 8
- 22
0
votes
1 answer
Tizen : GBS, error in initializing cryptographic library (xmlsec) when building tizen using gbs
When trying to build (generate rpms) for a tizen project using gbs, I set up gbs, install mic and set up the .gbs.conf file with the appropriate profiles, repos and urls.
when i try to build for target architecture (armv7l) using
sudo gbs build -A…

siddharthsn
- 1,709
- 1
- 21
- 32
0
votes
1 answer
Failed to sign xmlsec with named reference URI
I tried to use python-xmlsec to sign an xml document from a template. It works fine if URI="". However, if URI is not empty, then I got error "failed to sign"
python 3.6
xmlsec from https://github.com/mehcode/python-xmlsec
import…
0
votes
1 answer
xmlsec 2.0.4: Cannot Resolve method setSignatureSpecNSprefix
I updated from xmlsec 1.2.0 to 2.0.4 since I am moving from Java 7 to Java 8.
Now, the issue I am encountering is that the method setSignatureSpecNSprefix as being removed from org.apache.xml.security.utils.Constants.
I can't find any documentation…

acarlstein
- 1,799
- 2
- 13
- 21