-
Notifications
You must be signed in to change notification settings - Fork 132
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
credential-bbs #1408
base: next
Are you sure you want to change the base?
credential-bbs #1408
Conversation
Hi @nickreynolds. How do we proceed? |
@veromassera the test failure appears related to a dependency issue in browser.
I see that the package you're relying on that brings in this dependency should work in all environments, but there might be some resolution issue that needs to be addressed. Perhaps @mirceanis has more insight |
Hi @nickreynolds . You're right. I only saw the timeout log. |
Hey @nickreynolds, any updates on this? Did you get a chance to look it over? Does the implementation and design of the plugin look good to you?" |
@veromassera the implementation and design looks pretty much good, but we haven't had a chance to look into the dependency issue yet. Hopefully we can sometime this week, but if you make any progress on it, let us know |
@veromassera I took a quick look. Didn't find the solution, but I did notice that your |
Hi @nickreynolds. I've been reviewing the package.json configuration and I believe I've resolved the asn1 error. Please verify if the fix is correct. However, another error still remains: 'Conflicting values for 'process.env.NODE_ENV'. |
Hi @nickreynolds , I've tried everything I can think of to get the tests to pass, but I haven't been successful. In fact, to try and isolate the issues, I created a new PR called 'PR generated to test if all tests work' that has no code differences from the Next branch. I ran the tests on GitHub and they're failing as well. :( I would appreciate it if you could take a look at the tests when you have a chance, as I'm stuck at this point |
@veromassera the tests failing on |
f48ec4f
to
00c7a3f
Compare
Hi @nickreynolds , here's something I don't know why it's happening... just in case you can help me. In the "PR generated to test if all tests work" there is an error that also occurs in the credential-bbs PR, related to process.node_env in the "browser_test" tests The big difference is that after that error in your PR the entire test suite is then executed, but in my PR (credential-bbs) the tests are not executed. Any suggestions? It must be related to React Native compatibility) |
@veromassera the error about ReactDOM.render being deprecated does not cause issues and can be ignored (but I can put up a PR to remove that error anyways). I believe the process.env error is the only one you should be concerned with since that's the only difference in the logs |
The process env error also occurs in the next branch... and in PR generated to test if all tests work line 143 of "run browser test" log However, after that error, the tests run on your branches and are not executed on the credential-bbs PR. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
What issue is this PR fixing
This plugin implements a verifiable credential provider with BBS signature.
This provider enables the issuing of credentials and the generation of presentations from BBS signatures.
It also offers the ability to verify credentials and presentations.
This type of credential allows the holder to share credentials containing only a selected portion of the original VC data through selective disclosure, giving the holders real control over which data is shared.
The plugin extends the Veramo agent with the functionality of createSelectiveDisclosureCredentialBbs and verifyDerivedProofBbs.
This implementation is built on top of the jsonld-signatures-bbs libraries provided by mattrglobal https://github.com/mattrglobal/jsonld-signatures-bbs
Quality
Check all that apply:
pnpm i
,pnpm build
,pnpm test
,pnpm test:browser
locally.