robrichards / xmlseclibs

A PHP library for XML Security
BSD 3-Clause "New" or "Revised" License
386 stars 180 forks source link

Signature has attribute removed #233

Open sabas opened 2 years ago

sabas commented 2 years ago

I noticed that in XMLSecurityDSig.php in some step I couldn't grasp the attribute for ds:Signature gets removed I suspect it's in the insertSignature() function

Expected <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"></ds:Signature>

Output <ds:Signature></ds:Signature>