aries-framework-go GitHub

PR #2760 refactor: cleanup JSON-LD contexts
This PR: * simplifies new JSON-LD document loader: - support for `WithContextFS` was removed (in practice it didn't justify itself) - "core" set of embedded contexts was defined (extra contexts can be preloaded using `WithExtraContexts`) * replaces the following contexts: - `https://trustbloc.github.io/context/vc/credentials-v1.jsonld` -> `https://w3id.org/security/jws/v1` - `https://trustbloc.github.io/context/vc/examples-v1.jsonld` -> `https://w3id.org/vc-revocation-list-2020/v1` (only in BDD tests - this allows to remove it from the main embedded set) Closes #2751 Signed-off-by: Andriy Holovko <andriy.holovko@gmail.com>
Created At 2021-04-27 10:57:07 +0000 UTC
PR #2759 feat: vc wallet EDV storage
- if wallet user provides EDV settings during profile creation for storage then wallet will create internal EDV client instance for storing wallet contents - for now, encryption and MAC key IDs has to be provided by client user during profile creation/update - closes #2757 Signed-off-by: sudesh.shetty <sudesh.shetty@securekey.com>
Created At 2021-04-26 22:46:32 +0000 UTC
PR #2755 fix: presentation-exchange schema.uri matching
aip 2.0bug The `schema.uri` in presentation definitions should be the full URI to the type's definition (jsonschema or jsonld), not just the context. [Reference](https://github.com/decentralized-identity/presentation-exchange/issues/134#issuecomment-721624167). TODO - #2756 Signed-off-by: George Aristy <george.aristy@securekey.com>
Created At 2021-04-26 15:13:52 +0000 UTC
PR #2753 fix: presexch - CreateVP() matching schema URI algo
aip 2.0bug CreateVP() was matching the definitions schema.uri against the VC's credentialSchema property instead of the context. Reference: [this thread](https://github.com/decentralized-identity/presentation-exchange/issues/134#issuecomment-721624167). Signed-off-by: George Aristy <george.aristy@securekey.com>
Created At 2021-04-22 19:28:30 +0000 UTC
PR #2750 chore(deps): bump ssri from 6.0.1 to 6.0.2 in /cmd/aries-js-worker
dependencies Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
Changelog

Sourced from ssri's changelog.

6.0.2 (2021-04-07)

Bug Fixes

  • backport regex change from 8.0.1 (b30dfdb), closes #19

Commits
Maintainer changes

This version was pushed to npm by nlf, a new releaser for ssri since your current version.


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ssri&package-manager=npm_and_yarn&previous-version=6.0.1&new-version=6.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/hyperledger/aries-framework-go/network/alerts).
Created At 2021-04-22 13:27:53 +0000 UTC
PR #2749 feat: auth based access wallet store
- for upcoming EDV integration, wallet interfaces expectes auth token for accessing wallet contents too. - `storage.openStore()` occurs during `wallet.Open()` and `store.cloe()` occurs during `wallet.Close()` - wallet open will unlock key manager and open database. - wallet close will remove keyemaner and close database. - all wallet interfaces now requires auth token. - wallet content based VDR will expect auth token. - Closes #2745 Signed-off-by: sudesh.shetty <sudesh.shetty@securekey.com>
Created At 2021-04-22 11:34:43 +0000 UTC
PR #2748 feat: Add error messages to providers that don't support query options
- These new error messages will help ensure that someone won't get unexpected results when using those options in a Query on a storage provider that doesn't support them. - The unit tests have been updated to avoid calling the new common storage Query tests that use those unsupported options. Signed-off-by: Derek Trider <Derek.Trider@securekey.com>
Created At 2021-04-21 21:44:09 +0000 UTC
PR #2747 test: Add common storage tests for sort order and initial page options
Signed-off-by: Derek Trider <Derek.Trider@securekey.com>
Created At 2021-04-21 18:00:20 +0000 UTC
PR #2746 feat: Storage interface support for sort order and initial page options
Signed-off-by: Derek Trider <Derek.Trider@securekey.com>
Created At 2021-04-21 14:35:22 +0000 UTC