https://bugs.kde.org/show_bug.cgi?id=411919

--- Comment #51 from Marcin Gurtowski <halftough...@gmail.com> ---
(In reply to Nate Graham from comment #50)
> Would that fix the Vaults use case? The vault gets mounted, but it is itself
> encrypted. We want to store the cached thumbnails for its files inside of
> it, not outside of it.

It solves problem with data leak and lack of thumbnails.
As for using extra resources, it only makes difference if $HOME is encrypted.
For now, my plan is to go back into solution that displays thumbnails on
encrypted devices and depending on $HOME it either saves it or not.

Two options I have is when file in encrypted, to either
1. Save cache only if it's on the same device as $HOME. It will fix problem
mentioned by @flan_suse, but only when user has whole partition encrypted and
assuming that viewed files are on the same partition
2. Save cache if $HOME is encrypted regardless of if source file in encrypted
on the same device or not. It solves problem mentioned by @flan_suse without
any extra assumptions. As for problem with data leak, it's solved as long as we
don't mind saving thumbnails on different device when this different device is
encrypted as well.

Neither of those solutions would save cache for encrypted files if $HOME is
unencrypted. Anything beyond that (like caching on encrypted device) I consider
to be outside of scope of this story, as I won't be able to take care of it,
but I'm not in any way against it.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to