You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAICT, the only times corruption is identified is when either FileBackingStore::line_has_user or FileBackingStore::hash_is_locked discover that a line is missing a password. (v0.8.0 has another case, which I added in 0.8.0 and took back out in a71ae76 because it's not very important.)
At that point, both of them return BackingStoreError::MissingData, which is correct. We could rename it to DataCorruption if you like, but otherwise, I think we're set.
If either of them find a bad line, the rest of the database is suspect anyway, so barfing is the right thing to do.
We need a better error for corruption in the password DB
The text was updated successfully, but these errors were encountered: