xmlsec1 library fails when using node-gyp with higher node js versions
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.7k
- Forks
- 1.9k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 5
Description
- Node Version: v10.21.0 and v6.14.4
- Platform: Linux platform 3.10.0-862.11.6.el7.x86_64 #1 SMP Tue Aug 14 21:49:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
- Compiler: gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
- Module: xmlsec1
Verbose output (from npm or node-gyp):
```node IntegTest.js func=xmlSecDSigCtxProcessKeyInfoNode:file=xmldsig.c:line=889:obj=unknown:subj=unknown:error=45:key is not found: func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=581:obj=unknown:subj=xmlSecDSigCtxProcessKeyInfoNode:error=1:xmlsec library function failed: func=xmlSecDSigCtxSign:file=xmldsig.c:line=319:obj=unknown:subj=xmlSecDSigCtxSignatureProcessNode:error=1:xmlsec library function failed: Error: signature failed ```node-gyp succeeds building the module sign.node but when trying to run sign.node thru IntegTest.js I see the above error. The same sign.node built on node v6.6.0 works fine and produces signed XML output.
IntegTest.js is the program that calls the functions within sign.node
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the xmlsec1 native-module failure using the reported Node v10.21.0, Linux platform, GCC 4.8.5, and IntegTest.js, then compare it with the working Node v6.6.0 build. Inspect the generated sign.node behavior and the reported xmlsec errors; done means the newer Node build produces signed XML successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100