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

Remove the duplicate UID check as it is not needed. #26

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

gorrdy
Copy link
Contributor

@gorrdy gorrdy commented Oct 4, 2023

The card UID is not so important to be UNIQUE in the database. The reason I created this PR is because this is completely useless and sometimes uses delete their card (and its keys) because of this check. Then they're not able to rewrite the card because they deleted the keys. Ofc they can wipe the card and then pair it again but.. this is not the reality.

Also it (kind of) fixes #3 , orphaned cards that are not able to pair if the wallet is deleted because this cannot happen again. It would be better to fix the #3 as suggested in #3 by cascade delete of the bolt cards but this is not the main purpose of this PR.

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.

Orphaned cards, when a wallet is deleted - burning uids on the server
1 participant