-
Notifications
You must be signed in to change notification settings - Fork 52
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
Update to latest crypto-ld and jsigs api. #83
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 tasks
it looks like this has lint issues causing the test suite to fail. EDIT: actually it looks like tests are failing in this branch. my local verify API (presentations)
1) verifies a valid signed presentation
2) verifies an unsigned presentation
tests for multiple credentials
3) cause error when credentials are tampered
4) should not cause error when credentials are correct
5) cause error when credentials are tampered
6) should not cause error when credentials are correct
7) cause error when credentials are tampered
8) should not cause error when credentials are correct
9) cause error when credentials are tampered
10) should not cause error when credentials are correct
18 passing (2s)
10 failing
1) verify API (presentations)
verifies a valid signed presentation:
VerificationError: Verification error(s).
at Object.verify (node_modules/jsonld-signatures/lib/jsonld-signatures.js:124:22)
at _verifyPresentation (lib/vc.js:436:30)
at Context.<anonymous> (tests/10-verify.spec.js:319:20)
2) verify API (presentations)
verifies an unsigned presentation:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (tests/10-verify.spec.js:350:31)
3) tests for multiple credentials
cause error when credentials are tampered:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (tests/10-verify.spec.js:396:39)
4) tests for multiple credentials
should not cause error when credentials are correct:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (tests/10-verify.spec.js:419:33)
5) tests for multiple credentials
cause error when credentials are tampered:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (tests/10-verify.spec.js:396:39)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
6) tests for multiple credentials
should not cause error when credentials are correct:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (tests/10-verify.spec.js:419:33)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
7) tests for multiple credentials
cause error when credentials are tampered:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (tests/10-verify.spec.js:396:39)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
8) tests for multiple credentials
should not cause error when credentials are correct:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (tests/10-verify.spec.js:419:33)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
9) tests for multiple credentials
cause error when credentials are tampered:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (tests/10-verify.spec.js:396:39)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
10) tests for multiple credentials
should not cause error when credentials are correct:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (tests/10-verify.spec.js:419:33)
at processTicksAndRejections (internal/process/task_queues.js:93:5) and with the test suites in
|
This was referenced Mar 18, 2021
- Remove CI env. - Add timeouts. - Add and use Node.js 14.x.
- Add null fallbacks for unneeded libraries.
- Include .ts files. - Use globstar patterns.
- Rename uses of `vc-js` to `@digitalbazaar/vc`. - Update changelog. - Update README. - Update badges.
davidlehn
approved these changes
Apr 21, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Depends on:
Enables: