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

Delete credential if effective date == expiry date #679

Open
ianco opened this issue Jun 16, 2021 · 0 comments
Open

Delete credential if effective date == expiry date #679

ianco opened this issue Jun 16, 2021 · 0 comments
Assignees

Comments

@ianco
Copy link
Contributor

ianco commented Jun 16, 2021

When aries-vcr receives a new credential, it checks for an existing credential and updates the expiry date on the previous credential.

If the effective and expiry dates are the same on the credential, delete it (rather than storing a "zero-length" credential).

This is to support processing of data fixes in the BC Reg source data - if the BC Reg DBA's do a manual data fix, we can simply re-process the company, and any credentials in orgbook that are getting replaced will be automatically deleted.

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

No branches or pull requests

2 participants