Closed
Description
Please agree to the following
- I have searched existing issues for duplicates
- I agree to follow this project's Code of Conduct
Summary
When trying to unlock a vault with FaceID, I got an error message saying "unlock cancelled" when the app was really unable to renew the session with the cloud storage provider.
System Setup
- iOS: 15.5 (19F77)
- Cryptomator: 2.3.0 (967)
Cloud Type
OneDrive
Steps to Reproduce
- Add a vault on OneDrive (other services may behave the same and have even shorter living sessions?)
- Don't access the vault for several weeks (according to my logs, > 4-6 weeks?)
- Try to access the vault after the session timed out
Expected Behavior
- Ideally, Cryptomator can refresh the session itself
- Alternatively, it should show a meaningful error AND allow to manually re-login to existing accounts (as you probably don't want to logout and remove corresponding vaults)
Actual Behavior
Unlock fails with generic error message (can't recall the exact text).
Furthermore, there is no obvious way to renew the session. Even in the main app under cloud services, the account doesn't show up as expired.
Reproducibility
Intermittent
Relevant Log Output
# file provider:
2022/07/14 19:25:01:873 enumerateItems getAdapter failed with: biometricalUnlockCanceled(biometryName: "Face ID") for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
# main app:
2022/07/14 19:26:10:787 Error: unauthorized
Anything else?
Workaround: No need to log out and in again on OneDrive. Instead, just add the same account a second time. The app is able to merge this. This way, you can keep the vaults.