xml-crypto icon indicating copy to clipboard operation
xml-crypto copied to clipboard

Xml digital signature and encryption library for Node.js

Results 50 xml-crypto issues
Sort by recently updated
recently updated
newest added

xml-crypto doesnt seem to handle null checks well For example , for this function findattr under utils.js , `node.attributes.length` is used without checking if `node.attributes` is undefined. [https://github.com/yaronn/xml-crypto/blob/c19bcba71b6c7191756c56ae6d1637794bade3a4/lib/utils.js#L4](url) There might...

pr-welcome

I have a simple progrem on C#.NET, it allows to get C14N and EXC-C14N results from XML https://github.com/yaronn/xml-crypto/blob/master/test/canonicalization-unit-tests.js#L83-L89 I checked result for example from link. It has difference. Seems that...

pr-welcome

I noticed [here](https://github.com/yaronn/xml-crypto/blob/master/lib/signed-xml.js#L483) that the id attribute for elements is set. Can we change the hard-coded `"Id"` to `this.idAttributes[0]`? That way if one passes in `idAttribute` as an option to...

pr-welcome

Verify is true when i use this root Element in xml. var xml = builder.create('EnvioDTE', { encoding: 'ISO-8859-1' }) .att('version', '1.0') .att('xmlns', 'http://www.sii.cl/SiiDte') but not true when i use this...

pr-welcome

First off, thanks so much for this module, awesome! Next, I am not too familiar with XML singing and have had a difficult time actually verifying that the signature is...

pr-welcome

I have and error related to unmatching digests. After debugging some signature validation errors on SAML responses, I would like to discuss with you a couple of questions. The SAML...

pr-welcome

Couldn't find a way to sign the whole XML document and have the URL as an empty string while adding the reference ``` Reference URI="" ```

pr-welcome

After #325 this functionality was lost Trying same as #335 >This allow us to do >```ts >const C14nCanonicalization = require('xml-crypto').C14nCanonicalization >const ExclusiveCanonicalization= require('xml-crypto').ExclusiveCanonicalization > >// Use Example >const DOMParser =...

Changes in https://github.com/node-saml/xml-crypto/pull/445 was not reflected in the documentation. This PR attempts to fix it.

### Is your feature request related to a problem? Please describe... I would like to use xml-crypto in WinterCG environments like cloudflare workers. ### Describe teh solution you'd like... Replace...

enhancement