Bug 468189 - Browsing opened big Vault (6Gb) is really slow especially with Dolphin and its Open file dialog
Summary: Browsing opened big Vault (6Gb) is really slow especially with Dolphin and it...
Status: RESOLVED UPSTREAM
Alias: None
Product: Plasma Vault
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-06 02:15 UTC by medin
Modified: 2023-04-11 06:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Browsing opened big Vault is really slow especially with Dolphin and Open file dialog (3.77 MB, video/mp4)
2023-04-06 02:15 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2023-04-06 02:15:59 UTC
Created attachment 157885 [details]
Browsing opened big Vault is really slow especially with Dolphin and Open file dialog

See attached video for more info.

Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.1.21-1-MANJARO (64-bit)
Graphics Platform: X11
Comment 1 Ivan Čukić 2023-04-06 07:27:24 UTC
cryfs can be really slow.

The command runs in the background, so `time` doesn't really measure anything except how much time it takes for cryfs to load the encryption key for later access.

I'd switch to gocryptfs or even encfs (if you are not syncing the encrypted directory to a remote server).
Comment 2 medin 2023-04-06 10:40:37 UTC
(In reply to Ivan Čukić from comment #1)
> cryfs can be really slow.
> 
> The command runs in the background, so `time` doesn't really measure
> anything except how much time it takes for cryfs to load the encryption key
> for later access.
> 
> I'd switch to gocryptfs or even encfs (if you are not syncing the encrypted
> directory to a remote server).

Why is it set as default encryption method in Plasma vault widget ? Shouldn't it be removed if it's slow ?
Comment 3 Ivan Čukić 2023-04-06 10:53:20 UTC
The current plan is to replace it as the default and revert the patch that hides the backend selection combo box.

Back when it was made the default, we didn't know of its downsides - nothing similar happened during my tests.
Comment 4 medin 2023-04-11 00:00:35 UTC
(In reply to Ivan Čukić from comment #3)
> The current plan is to replace it as the default and revert the patch that
> hides the backend selection combo box.
> 
> Back when it was made the default, we didn't know of its downsides - nothing
> similar happened during my tests.

It seems gocryptfs outperforms cryFS, the access, adding and removing are really fast even with big folders, it should be made the default, because EncFS has serious not fixed vulnerabilities.
Comment 5 Ivan Čukić 2023-04-11 06:28:55 UTC
Yes, gocryptfs is the main contender for the next default.

Encfs has issues which make it unsuitable for cloud syncing*. But is generally good enough for local use.

*) With a note that there are some enterprise end-to-end encryption solutions which are worse than encfs.