124 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
2
answers
125
views
Why do I get verification failure in my xmlsec example?
I have to sign an xml file using xmlsec in python.
In the following there is a complete example, including all needed stuff:
The raw xml consists of elements Header and Body and (as a requirement) the ...
1
vote
1
answer
105
views
Which Windows certificate store does xmlSecKeysMngrFindKey() search - LocalMachine or CurrentUser?
I'm working on an older project that's using xmlsec v1.2.18, and when calling xmlSecKeysMngrFindKey(), it looks for certs in the Local Computer store. The project is expecting that behavior and it ...
vengy's user avatar
- 2,477
0
votes
0
answers
58
views
XML document XAdES with Apache Santuario XML Security - ReferenceNotInitializedException
I want to build an XAdES signer in Java by using Apache Santuario XML security but when trying to sing the document I get the following excpetion:
Exception in thread "main" org.apache.xml....
0
votes
1
answer
166
views
xmlsec reference with URI
I'm using the XMLSec library to sign a file. I need to use the specific algorithms listed below and include the invoice identification number in the reference URI. However, when the URI parameter is ...
0
votes
1
answer
52
views
Authentication of Signature from xml file and pem file
I have a .pem file which contains my certificate and xml file which also has details regarding the signature. Following is the piece of code I am using to verify
# Parse the XML document
template = ...
0
votes
0
answers
420
views
java.lang.InstantiationError: org.apache.xml.security.signature.XMLSignatureInput
getting the below error message with Apache POI and the xmlsec
java.lang.InstantiationError: org.apache.xml.security.signature.XMLSignatureInput
at org.apache.poi.poifs.crypt.dsig.services....
0
votes
1
answer
3k
views
How to solve the xmlsec Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
I am facing the following error when deploying my Django (version 4.1) Backend, I have the following Dockerfile (some non-relevant parts omitted) and need to install python3-saml (which has ...
1
vote
0
answers
79
views
Trying to solve SAML interop issue between .NET and org.apache.santuario.xmlsec (specifically, Ping Federate)
The issue is fairly well documented, however a solution from either Microsoft, or the community does not seem forthcoming.
When an identity provider platform utilising org.apache.santuario.xmlsec ...
1
vote
1
answer
4k
views
I encounter the error xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch')
When I run sentry devserver --workers on my computer, I encounter the error:
xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version
mismatch')
My computer is running MacOS m3 pro, ...
2
votes
0
answers
210
views
Encrypt SOAP XML message with X509SubjectKeyIdentifier in Python
I want to encrypt the body of the SOAP XML document. It works perfectly fine with SoapUI, where I use certificate, Subject Key Identifier as Key Identifier Type, AES256-CBC encoding and RSA 1_5 ...
0
votes
0
answers
93
views
problem in SOAP requests using zeep in Docker container
Developed an APIRest with FastAPI and Python 11. I am using the library zeep to sign a request to consume a SOAP API and in my local environment it works correctly. When the application runs on a ...
1
vote
0
answers
55
views
Cannot Load OpenSSL in IIS
I am using xmlsec to sign XML documents. This works fine on my development machine when I'm running a local executable. However when I compile this to run as an ISAPI dll (under a local instance of ...
1
vote
1
answer
209
views
How should I solve the problem with the xmlsec1 library that I compiled myself for iOS - transformCtx.first is NULL after xmlSecTransformCtxPrepare()
I have built xmlsec1 on my own for iOS and when I test it it seems as if my build is not quite successful :)
I have the code that worked fine on Mac OS with xmlsec I got via macports.
But since there ...
2
votes
1
answer
351
views
Signing XML in Django view renders Nginx 502 bad gateway for newly built docker images, but not for old images
All views of my Django application work as intended, except views relating to signed XML's.
These views, in particular my SAML metadata view, returns a 502 Bad Gateway error, when running on new ...
0
votes
0
answers
361
views
XML Digital Signature Failure: Works Locally, Fails on Preproduction Environment
I'm encountering an issue with XML Digital Signature when attempting to sign an XML file using the xmlsec1 command. The script works flawlessly on my local environment, but fails on the preproduction ...