Questions tagged [xmlsec]

112 questions
2
votes
1 answer

Websphere: Shared libraries in common classloader earlier on classpath than application modules, even with parent last policy

Background: I have the following problem: I have several WAR files I need to have deployed on same Websphere server. The WAR files use libraries that depend on having a specific version of XMLSec regisered as the XML Signature Provider (with the…
Morty
  • 1,706
  • 1
  • 12
  • 25
2
votes
2 answers

Is xmldsig apache santuario provider incompatible with jdk provider?

I'm creating a xml digital signature the same way it is mentioned in nearly all examples I have found: String providerName = System.getProperty("jsr105Provider", "org.jcp.xml.dsig.internal.dom.XMLDSigRI"); XMLSignatureFactory fac…
soilworker
  • 1,317
  • 1
  • 15
  • 32
2
votes
2 answers

xmlsec on el capitan

I'm trying to install xmlsec on El Capitan and i'm not able to do so. I'm following instructions on this page: https://github.com/concordusapps/python-xmlsec when I do pip install xmlsec I get: Downloading xmlsec-0.3.1.tar.gz Complete output from…
KVISH
  • 12,923
  • 17
  • 86
  • 162
2
votes
0 answers

Getting runtime error:9 features not implemented error while using XmlSec Static library

I am facing one runtime error "CryptoAppInit:error=9:feauter is not implemented: Crypto initialization failed while using XmlSec static library. I made the xmlsec static library using Qt creator on Ubuntu(Linux). The other dependency libraries also…
2
votes
2 answers

Verifying Windows 8 inapp-purchase receipt signature in Python

I'm trying to validate Windows 8 receipt XML signature using pyxmlsec. My receipt (receipt.xml) looks like this:
DrTyrsa
  • 31,014
  • 7
  • 86
  • 86
2
votes
1 answer

Verifying Windows 8 inapp-purchase receipt with xmlsec1

How can I verify Win8 inapp-purchase receipt, using xmlsec1? Here is what I'm tyring to do: My sample receipt (saved in file receipt.xml):
DrTyrsa
  • 31,014
  • 7
  • 86
  • 86
2
votes
0 answers

Getting java.lang.NoSuchMethodError. mvn dependency:tree shows correct dependency being used

I am getting java.lang.NoSuchMethodError: org.apache.xml.security.algorithms.JCEMapper.translateURItoJCEID(Ljava/lang/String;)Ljava/lang/String; I have added dependency org.apache.cxf
TastyCode
  • 5,679
  • 4
  • 37
  • 42
2
votes
2 answers

spring-ws-security dependency conflict

I'd like to use spring-ws-security in order to secure my web service with Wss4jSecurityInterceptor and signatures. But there is a dependency conflict which make this system unworkable. The spring-ws-security:2.1.2.RELEASE seems to be not workable as…
darkled
  • 257
  • 2
  • 11
2
votes
3 answers

Create "Windows installer" for Python lib

I have compiled a PyXMLSec lib successful on Ubuntu. I want to create a windows-installer for this lib (i.e PyXMLSec-win32-python27.exe). Can I create it from my Ubuntu or it must be from Win32? How can I create it? I prefer from Ubuntu because in…
Kristine T
  • 101
  • 8
2
votes
1 answer

same message digest but different signature value

I have 2 signature file that only different in namespace. Both these file provide the same message digest. I use the same key to sign with the same algo RSA-SHA1. But there are 2 different signature. I think that as long as the message digest, key…
Kristine T
  • 101
  • 8
1
vote
1 answer

Why does Python cryptography and xmlsec1 produce different signatures

I am working on an integration with an xml based API. I am able to sign xml requests successfully using xmlsec1 like this... xmlsec1 --sign --lax-key-search --privkey-pem test_privkey.pem,test_cert.pem --output xml/signed.xml…
Bafsky
  • 761
  • 1
  • 7
  • 16
1
vote
0 answers

xmlsec library version mismatch Ubunto 20.04

Currently installed: xmlsec: 1.3.13 lxml:4.9.1 Exception in thread django-main-thread: Traceback (most recent call last): from onelogin.saml2.auth import OneLogin_Saml2_Auth File…
1
vote
1 answer

Signed payload is not valid when using signxml but xmlsec one is valid

Could you help me to find out why the two libraries (signxml and xmlsec) do not sign the same. The signature accepted by the server is xmlsec. Code sign signxml: signer = XMLSigner( method=methods.enveloped, signature_algorithm="rsa-sha1", …
Krish V
  • 486
  • 1
  • 5
  • 19
1
vote
0 answers

Signature Error with xmlsec on Windows with django_saml2_auth

I am following this tutorial to set up a SSO Login on Django. I have installed the xmlsec library from this link and everything seems correct but when testing the endpoint with Azure it throws this error: check_sig:…
Senén P.
  • 11
  • 3
1
vote
3 answers

Error installing PyPI xmlsec==1.3.3 Python2

I am using arch and installing this xmlsec package using pip 20.3.4 in virtualenv (python 2.7) Although official pages (github and pypi) doesn't specifically include arch dependencies, still I think I have installed all of them. I have…
Ashwani Tanwar
  • 171
  • 2
  • 11