Skip to content
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

[feat] Implement AnoncredsLedgerRead for cheqd #1306

Closed
gmulhearn opened this issue Dec 2, 2024 · 1 comment · Fixed by #1308
Closed

[feat] Implement AnoncredsLedgerRead for cheqd #1306

gmulhearn opened this issue Dec 2, 2024 · 1 comment · Fixed by #1308
Assignees

Comments

@gmulhearn
Copy link
Contributor

https://docs.cheqd.io/product/advanced/anoncreds

Implement the AnoncredsLedgerRead trait using the cheqd method in aries_vcx_ledger, as a feature. Should utilize & expand the resolver established in #1305 . System testing may be hard without a paired registrar - perhaps some sample testnet data can be found

@gmulhearn
Copy link
Contributor Author

TODO - also consider creating a multi-anoncreds-ledger-read aggregator. i.e. one that switches between multiple AnoncredsLedgerRead impls depending on the identified type

@gmulhearn gmulhearn self-assigned this Dec 2, 2024
gmulhearn added a commit that referenced this issue Dec 17, 2024
* try permissions in CI

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* new crate

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* resolution working

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* check in the proto types and have a standalone generator helper (rather than generate at build time)

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* regen lock

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* cheqd did parser

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* cheqd did url tests

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* re-gen lock

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* resolver system tests are working

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* run int tests in CI

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* clippy

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* resolution with contexts

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* finish some TODOs, and add doc metadata

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* update readme

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* try bumping rust ver on vdrproxy

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* lock auto update

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* readme updates

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* remove some debugs

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* more error info

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* updated hyper in did:web. fixes clients

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* fix up tls. works on android

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* some cleaning

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* begin. schema & cred def working in edge agent test

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* temporarily include new format vers

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* issuer id

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* move delta -> status list conversion as a ledger responsibility

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* cheqd get rev status list

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* return metadata

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* rev status list and resource query working

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* some bounds and comments

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* fmt typing

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* optimize with metadata

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* multi ledger aggregation

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* some more testing and todos

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* rm aliases

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* test and CI fixing

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* fmt

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* clippys and fmts

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* wrap sys tests in cheqd feature

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* refine did-url handling (percent encoding queries)

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* add deprecated flag for rev reg delta

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* dev note on multi ledger

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* fmt

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* try arc wrapper

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* more generic trait

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* whoops!

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* pipe thru schema to prover store credential

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* type the schema id to avoid parsing issues with legacy identifiers

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* move around schema id a bit

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

* comment on weird typing

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>

---------

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
Co-authored-by: George Mulhearn <gmulhearn@anonyome.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant