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

Allow schema id to be used during anoncreds issuance #3497

Merged
merged 7 commits into from
Feb 12, 2025

Conversation

jamshale
Copy link
Contributor

@jamshale jamshale commented Feb 7, 2025

The schema is needed during issuance to check whether the correct attributes were supplied. This original implementation was attempting to get the schema from local storage but the issuer does not need to be the agent that created the schema. This allows an agent to supply the schema_id in the filter options. It will first use the registry to look it up on the data registry. If its not provided then it will attempt to get the schema from local storage and assume that it created the schema.

@jamshale jamshale linked an issue Feb 7, 2025 that may be closed by this pull request
@jamshale jamshale requested review from esune, dbluhm and ff137 February 10, 2025 17:08
ff137
ff137 previously approved these changes Feb 12, 2025
Copy link
Contributor

@ff137 ff137 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@jamshale jamshale merged commit 3b8d91e into openwallet-foundation:main Feb 12, 2025
11 checks passed
ff137 pushed a commit to didx-xyz/acapy that referenced this pull request Feb 13, 2025
…dation#3497)

* Allow schema id to be used during anoncreds issuance

Signed-off-by: jamshale <[email protected]>

* Fix scenario test

Signed-off-by: jamshale <[email protected]>

* Fix mistake in handler / Add unit tests

Signed-off-by: jamshale <[email protected]>

* Try a sleep in between upgrades. Issue with github actions

Signed-off-by: jamshale <[email protected]>

* Refactor based on PR review comments

Signed-off-by: jamshale <[email protected]>

* Repair _fetch_schema_attr_names function call

Signed-off-by: jamshale <[email protected]>

* Remove unnessecary self usage

Signed-off-by: jamshale <[email protected]>

---------

Signed-off-by: jamshale <[email protected]>
ff137 pushed a commit to didx-xyz/acapy that referenced this pull request Feb 13, 2025
…dation#3497)

* Allow schema id to be used during anoncreds issuance

Signed-off-by: jamshale <[email protected]>

* Fix scenario test

Signed-off-by: jamshale <[email protected]>

* Fix mistake in handler / Add unit tests

Signed-off-by: jamshale <[email protected]>

* Try a sleep in between upgrades. Issue with github actions

Signed-off-by: jamshale <[email protected]>

* Refactor based on PR review comments

Signed-off-by: jamshale <[email protected]>

* Repair _fetch_schema_attr_names function call

Signed-off-by: jamshale <[email protected]>

* Remove unnessecary self usage

Signed-off-by: jamshale <[email protected]>

---------

Signed-off-by: jamshale <[email protected]>
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 this pull request may close these issues.

Unexpected behavior during the issuance of anoncreds.
3 participants