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

fix: unqualified indy revRegDefId in migration #1887

Merged

Conversation

genaris
Copy link
Contributor

@genaris genaris commented Jun 2, 2024

Sadly, the fix done in 0.5.3 for Indy credentials migration was not enough for some Indy revocable credentials, since it is failing to apply qualified/unqualified revocation registry identifier tags into Credential Exchange record and, therefore, not effectively updating its bindings to the W3C credential.

This happens, for instance, when migrating from 0.4.2 to 0.5.3 the credentials received in BCGov Showcase and attempting to delete the credentials associated to a credential exchange.

Fixes #1882

cc @wadeking98 @bryce-mcmath

Signed-off-by: Ariel Gentile <gentilester@gmail.com>
@bryce-mcmath
Copy link
Contributor

I added a patch with these changes today and so far deleting credentials appears to be working flawlessly now! Thank you for this, much appreciated

Copy link
Contributor

@TimoGlastra TimoGlastra left a comment

Choose a reason for hiding this comment

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

Seems to be some nasty bugs related to the unqualified/qualified identifiers and migration of anoncreds credentials.

Sorry for the inconvenience from our side in releasing this code too soon before it was properly tested, lesson learned!

Thanks for looking into this @genaris! 🙌

@TimoGlastra
Copy link
Contributor

Hmm seems the DCO check is not working (also not in Askar repo)

genaris added 2 commits June 4, 2024 10:10
Signed-off-by: Ariel Gentile <gentilester@gmail.com>
Signed-off-by: Ariel Gentile <gentilester@gmail.com>
@genaris
Copy link
Contributor Author

genaris commented Jun 5, 2024

**DCO ** Expected — Waiting for status to be reported

It seems this problem should be fixed shortly: dcoapp/app#211

Signed-off-by: Ariel Gentile <gentilester@gmail.com>
@genaris genaris merged commit 3ff33e4 into openwallet-foundation:main Jun 5, 2024
12 checks passed
@genaris genaris deleted the fix/unqualified-revregdefid branch June 5, 2024 21:12
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.

Error deleting AnonCreds credentials after upgrading from 0.4.2 to 0.5.3
3 participants