ios icon indicating copy to clipboard operation
ios copied to clipboard

I am able to navigate the folder structure before the password dialog appears

Open biziosan opened this issue 1 week ago • 3 comments

Summary

If I tap on an encrypted folder before the unlock dialog appears, I am able to navigate it and also see some cached content.

Please agree to the following

System Setup

  • iOS: 26.1
  • Cryptomator: 2.7.3
  • iPad Pro

Cloud Type

iCloud Drive

Steps to Reproduce

  1. Tap on the "Folder" icon
  2. Tap on the Cryptomator Location
  3. Quickly tap on an encrypted (cached?) folder before the unlock dialog shows up

Expected Behavior

No content should be rendered. The Unlock Dialog is the only available option.

Actual Behavior

It's possible to tap deeper into the folder structure. The cached content of the encrypted folder is rendered.

Reproducibility

Always

Relevant Log Output


Anything else?

No response

biziosan avatar Dec 09 '25 14:12 biziosan

I think that's the nature of how caching is done in the files app by Apple. We already invalidate the working set as soon as the vault gets locked so that recent files do not appear in the spotlight search on iOS.

Do you also see this behavior if you manually lock the vault and you are currently not inside the vault in the files app?

phil1995 avatar Dec 09 '25 16:12 phil1995

That's correct. I can navigate the vault even when it's locked. I also tested it by clearing the cache inside the Cryptomator settings, but the content is still visible. The documents cannot be opened, but the icons for each document show a portion of the related content, and the folder structures can be navigated. Until the "unlock dialog" takes control, that is.

biziosan avatar Dec 09 '25 21:12 biziosan

Sounds like a duplicate of #423 or at least the observed behavior is related.

I can navigate the vault even when it's locked.

Can you be more specific for how long this is possible? In my experience, when opening the Files app, it takes just a few seconds until the unlock dialog appears (even without any interaction).

As @phil1995 has already mentioned, that's the best that we can do. The Files app by Apple has an internal cache that we can't access, so we do not have control over it. If we ever get the chance to improve this, we will, but that's up to Apple.

tobihagemann avatar Dec 10 '25 11:12 tobihagemann