Comments (2)
- What version of
jsonld-signatures
and Node.js? - Just to check, you're saying that installing
jsonld-signatures
in addition to all those packages causes problems? - Does this happen even if you don't call anything in
jsonld-signatures
? Is it just while starting up? - If you are calling something, what is it?
- Can you narrow it down to a simple test case project you could share?
- Causing segfaults is not a common thing in Node.js. However, the one thing we have found that will almost certainly cause non-deterministic segfaults is mixing native ESM use with the esm.js package. It's terrible.
- I'd check
npm explain esm
to see if you are using theesm
package anywhere. If you are, that's a very likely cause. The solution is to tear outesm
from everything, or ensure you are not also using native ESM code. This can be a difficult ask, butesm
is unmaintained and obsolete so it needs to be removed at some point. - You'll notice
jsonld-signatures
is just ComonJS, not ESM, but that doesn't stop this bug from happening for reasons I don't understand. It's a very odd bug that be triggered in odd ways, and it may be that some module loading patternjsonld-signatures
uses triggers the problem. - If you're not using esm.js, then it's difficult to help without more details or, ideally, test code to run. You could run node in gdb to try and catch the stack traces. That's how I find these esm.js issues. It'll crash in some import or require stack.
from jsonld-signatures.
Closing as not an issue with this library.
from jsonld-signatures.
Related Issues (20)
- Frame call which drops properties causes issues with signature validation when relying on non JSON-LD documents HOT 1
- Check DID doc ID against controller ID when doing DID doc-based optimization in ControllerProofPurpose
- Is it possible to remove the vulnerability introduced by xmldom? HOT 1
- Allow `purpose.match` to supply a reason it did not match HOT 1
- Code examples in readme HOT 7
- ActivityStreams context URL doesn't resolve to JSON-LD HOT 10
- Security vulnerability in dependent package version - node-forge-0.9.2.tgz HOT 1
- How to generate a proof of posession
- jsonld-signatures python package
- security-context package uses runtime file loading HOT 4
- Verification does not catch tampered VC HOT 13
- Pass existing `proofSet` to `suite.createProof`
- Improve local test suite
- RSA Proof wrong canonicalization
- How to export jsonld signed credentials HOT 2
- Context overriding before canonicalization HOT 3
- Add suggested help to error text when no proofs match in a document during verification
- Deprecate this package once `data-integrity` has new primitives and no longer depends on this
- Add / check for `previousProof` option when adding a proof to a proof set
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 jsonld-signatures.