ios icon indicating copy to clipboard operation
ios copied to clipboard

Video can still be played after vault is locked. Thumbnails can still be viewed as well.

Open DaveFlowberries opened this issue 3 years ago • 2 comments

Please agree to the following

Summary

Video can still be played after vault is locked. Thumbnails can still be viewed as well.

System Setup

  • iOS: 15.4.1
  • Cryptomator: 2.2.4 (9.2.7)

Cloud Type

Didn't test. Files are stored locally on the iPhone storage. No cloud use.

Steps to Reproduce

  1. Open vault and play video.
  2. Lock vault in Cryptomator
  3. Open App Switcher (Swipe up from the bottom of the screen, then pause in the center of the screen) and you will see the video is still there and can be played without issue when the vault is supposedly locked. In addition, the thumbnails in file view can still be seen.

Expected Behavior

Video and thumbnails should have been inaccessible.

Actual Behavior

Video plays when vault says "locked" and video/photo thumbnails can still be viewed in the App Switcher in the files view when locked.

Reproducibility

Always

Relevant Log Output

No response

Anything else?

Only workaround is to manually close them, but it begs the question, is the encryption even working if the video can still be played?

"Clear Cache" option within Cryptomator settings does not remedy the issue.

DaveFlowberries avatar May 03 '22 03:05 DaveFlowberries

Hello @DaveFlowberries,

the behavior you describe is indeed the expected one. This is because the FileProvider API expects to make a file available locally in the unencrypted state as soon as the user requests it (for example, by opening the video). This is also in line with our security target - of course, we still strive to protect users' files locally as much as possible. If a vault is locked, we deny new file accesses, but have no influence on possibly still existing ones. Therefore, it is possible that an already opened file (in your case the video file) is still available in the video player even if the vault is locked.

"Clear Cache" option within Cryptomator settings does not remedy the issue.

That is indeed an interesting observation! That would mean that the video player itself is caching the file in some way - did you use the normal iOS video player?

phil1995 avatar May 11 '22 15:05 phil1995

That is indeed an interesting observation! That would mean that the video player itself is caching the file in some way - did you use the normal iOS video player?

Yes, the normal player.

BTW, I noticed that VLC player with passcode enabled does not exhibit this kind of behavior. Is there a way to change the default video player in cryptomator?

DaveFlowberries avatar Jul 20 '22 13:07 DaveFlowberries

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 21 '23 09:07 github-actions[bot]