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

Anoncreds - Send full registry list when getting revocation states #2946

Merged
merged 1 commit into from
May 14, 2024

Conversation

jamshale
Copy link
Contributor

@jamshale jamshale commented May 13, 2024

See #2934.

So this ended up being a one line fix. The anoncreds legacy_indy implementation for the holder, was getting the revocation list (registry) from the ledger. Then it was removing index 0, which doesn't actually represent a credential but is expected by anoncreds-rs when getting the revocation state. See hyperledger/anoncreds-rs#336.

This is a bit weird and will need to be remembered when other implementations get added.

I have tested with the demo and manually. I still want to make an integration test for this scenario.

Copy link

sonarcloud bot commented May 13, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@jamshale jamshale marked this pull request as ready for review May 13, 2024 21:43
Copy link
Contributor

@swcurran swcurran 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 to me. Crazy about this fix and the “1” start. I wonder how that decision got made, many years ago...

@jamshale jamshale added the 1.0.0 To be addressed for the ACA-Py 1.0.0 release label May 14, 2024
@jamshale jamshale merged commit 0da1552 into openwallet-foundation:main May 14, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.0.0 To be addressed for the ACA-Py 1.0.0 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants