-
Notifications
You must be signed in to change notification settings - Fork 66
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
All FIDO2 credentials gone #1233
Comments
@nekromant: I was trying to reproduce the issue based on step by step, but unfortunately I am unable to do that. |
Got it. Should wiping a profile clean and starting with a new spare smartcard be enough to reset thre device's state? |
a blank card will be enough to initialize a new profile :) |
A little update: I couldn't reproduce the issue, but then out of a sudden I stumbled upon it again. Now with notes. Device originally contained only 2 notes: '2fa-backup' and TODO. I can access data in 2fa-backup, but not in todo which gives me: Here are the relevant pieces from the log:
There's definitely mysterious data corruption happening, but it's gonna be a very hard catch if it's happening once in a few months. |
that's baffling, especially given we have several algorithms that check for data corruption before writing anything to the DB. can you maybe tell us how you typically use the mini ble? I'm trying to find events that could create this situation. |
I keep 3 devices (1 original, 2 diy clones) in sync via nextcloud using moolticute, so import/export happens very often. I use USB connection all the time, no bluetooth. I currently have 2 hypothesis:
I have yet to dive into moolticute code to see if guess #2 is possible. Meanwhile, I keep an eye on any other possible issues with the database. P.S. We DO need a plaintext backup for the whole device database. If not for debugging - at least for the sake of fast batch import of passwords during onboarding. |
just to make sure we're aligned: what you may be seeing is when a database import occurs, files get duplicated and can't be accessed anymore? |
I'm not 100% sure what caused that. At some point I noticed that the entries were duplicated (i don't access notes often). Import issue is just my guess. |
Expected behavior
No added FIDO2 credentials vanish from the database, unless explicitly deleted
Actual behavior
After a day or two migrating to mooltipass and adding credentials, FIDO2 and credentials tab went empty. Credentials were brought back via running an integrity check, but not FIDO2. I had to manually reset keys and re-add them for all accounts.
Step by step guide to reproduce the problem
Add data for vk social network. It uses vk.com, vk.ru, vkontakte.com, id.vk.ru and id.vk.com domains at the same time weirdly redirecting duing login. Link credentials for id.vk[.com,.ru] and vkontakte.com, add the FIDO2 key. At some moment you'll add up with a broken database.
Moolticute Version
1.04.0 / 1.03.0
Operating System
Mention if you are using either:
Mooltipass Device
The text was updated successfully, but these errors were encountered: