-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code examples in readme #159
Comments
You'll want to refer to the documentation provided by the crypto suite that is of interest to you: https://github.com/digitalbazaar/jsonld-signatures#usage https://github.com/digitalbazaar/ed25519-signature-2020#usage https://github.com/digitalbazaar/ed25519-signature-2020/tree/main/test |
Thanks. I tried to piece together the examples you cited:
But I get the following error:
|
This should get you going: https://gist.github.com/mattcollier/75042d08b5b911df80676ea8b2b0c739 Support for pure ESM in Node.js is problematic and the |
Thanks, I'm starting to understand how this works now. I wasn't able to find any examples using |
It's proving difficult for me to integrate this solution into my project using |
@DePasqualeOrg - try out the DCC fork of this library, over at https://github.com/digitalcredentials/jsonld-signatures (which has been refactored to not use the |
Thanks! This fork and others from DCC solved this problem for me, but I noticed that there are some NPM warnings about outdated/insecure dependancies when I install them. |
I'm new to JSON-LD signatures, and I'm finding it difficult to get started in this space. Could you provide some code examples for signing JSON-LD documents in the readme?
The text was updated successfully, but these errors were encountered: