SUMMARY After creating a vault and locking it, cannot re-unlock it. STEPS TO REPRODUCE 1. Create a vault, default encryption, default location 2. Put files in, lock it 3. Browse around in Dolphin 4. Try to re-unlock OBSERVED RESULT Incorrect password detected, correct one does nothing. EXPECTED RESULT Unlocked vault with my files of it SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 5.13.5 KDE Frameworks Version: 5.50.0 Qt Version: 5.11.1 ADDITIONAL INFORMATION CryFS version 0.9.9
There is a work-around!! I've tried mounting my *.enc files at ~/.local/share/plasma-vault/ and found out there's a message form fuse saying that the target directory is non-empty. My Dolphin options had "Show hidden files" enabled, so when I browsed the Vault directory with it, it created a file called ".directory" and contains some property flags. This made the Vault dir "non-empty". Thus, when you try to remount it using Vaults, they give up - without showing you ANY info. Suggestion: if Vaults fails to mount a vault, show a notification? Or empty the directory, or something like that?
Thanks for investigating this. It is possible that the mount failed before the .directory was created. I need to investigate how it could have happened.
I've double-checked. When I re-enter the folder and press CTRL+H in Doplhin, it creates the .directory file. Before that and after removing .directory, vault unlocks fine. If the file is there - no go and no visible error message.
So, if I understand this correctly, the .directory file reappears after you delete it?
Git commit 4574e80916ae4f4b29d60fd41dd52d3d52bb3e8f by Ivan Cukic. Committed on 23/03/2019 at 10:42. Pushed by ivan into branch 'master'. Add a notification when mount failed because of a non empty mount point CryFS does not report FUSE errors via return codes. This checks whether the command output contained 'nonempty' before checking whether the command ran successfully. M +7 -4 kded/engine/backends/cryfs/cryfsbackend.cpp https://commits.kde.org/plasma-vault/4574e80916ae4f4b29d60fd41dd52d3d52bb3e8f