Comments (13)
To remove the prefix you can pass a new prefix as parameter to class.
$objDSig = new XMLSecurityDSig('');
from xmlseclibs.
Wdf..
Not helpfull..Y do u suggest nonsense..
from xmlseclibs.
I've also added the node <RSAKeyValue>
Original comment by atiruz
on 20 Sep 2012 at 9:47
- Added labels: ****
- Removed labels: ****
from xmlseclibs.
Issue 12 has been merged into this issue.
Original comment by [email protected]
on 19 Jun 2013 at 7:58
- Added labels: ****
- Removed labels: ****
from xmlseclibs.
Hello,
This patch doesn't seem to be functionnal.
Neither the internal method (verify) nor external one validate the signature
generated without prefix 'ns', the signature seems to be broken.
Which is the right way to generate XML-DSig without any prefix ?
Cédric
Original comment by [email protected]
on 12 Aug 2013 at 12:30
- Added labels: ****
- Removed labels: ****
from xmlseclibs.
I need to go through the entire code base as adding the support will require
changes in numerous places as I need to make sure that it doesn't break BC
Original comment by [email protected]
on 12 Aug 2013 at 1:30
- Added labels: ****
- Removed labels: ****
from xmlseclibs.
This is in attached file the effective patch that seems to validate both sides
(works fine for us in production environnement).
Best regards,
Cédric
Original comment by [email protected]
on 12 Aug 2013 at 1:46
- Added labels: ****
- Removed labels: ****
Attachments:
from xmlseclibs.
Thank you, Cédric!
It was wery helpfull for me. =)
Original comment by [email protected]
on 16 Sep 2013 at 3:56
- Added labels: ****
- Removed labels: ****
from xmlseclibs.
Thank you Cedric!
Original comment by [email protected]
on 6 Feb 2015 at 7:33
- Added labels: ****
- Removed labels: ****
from xmlseclibs.
how to add <RSAKeyValue> node???
Original comment by [email protected]
on 25 Mar 2015 at 9:00
- Added labels: ****
- Removed labels: ****
from xmlseclibs.
The constructor for the XMLSecurityDSig now takes an optional argument for defining the prefix, if any, to be used. When not passed it uses default behavior. When set to an empty string or null, it won't use a prefix, otherwise it will use the prefix passed in. See the xml-sign-prefix.phpt test for an example
from xmlseclibs.
@rodrigoferra Thank you!
from xmlseclibs.
Thanks @rodrigoferra for the tip. Solved my problem here!
from xmlseclibs.
Related Issues (20)
- Set URI attribute with a fixed value HOT 4
- When Need To Set Attribute URI = '' HOT 1
- X509IssuerName wrong oid 2.5.4.97
- Suggestion: a developer friendly, secure API HOT 4
- Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in C:\laragon\www\ft_bni_lkpd\config\app.php on line 83 HOT 3
- X509Certificate DUPLICATED
- can not verify signature from xmlseclibs with python signxml library - simplesaml compatibility issue
- Unsupported Signature HOT 4
- I have to digitally sign an XML document with the xmlseclibs library in Codeigniter4 HOT 2
- Signatures done with XMLSecurityDSig do not pass C# DOTNET validation
- Missing some docs on simply parsing and visualizing an XMLDSig
- Getting the "openssl_x509_read(): supplied parameter cannot be coerced into an X509 certificate! in nextcloud server SAML auth. HOT 9
- openssl_verify() failure with PHP 8.1 (works with 7.4) HOT 15
- How to use XMLSecEnc to implement data encryption? HOT 1
- There is an invalid signature error HOT 2
- Reference validation failed after (minor!) PHP update from 8.2.7 to 8.2.8 HOT 8
- I am getting the error : signature failed validation - installation details may have been altered
- Signature Validation Failed using Java HOT 1
- Use of RSA Algorithm without OAEP HOT 2
- Uncaught Error: Undefined constant "RobRichards\XMLSecLibs\OPENSSL_PKCS1_PADDING" // Library not detecting openssl extension HOT 10
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 xmlseclibs.