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

            Bug ID: 420424
           Summary: [enhancement] Provide feedback when unable to mount
                    CryFS vault
           Product: Plasma Vault
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: ivan.cu...@kde.org
          Reporter: frap...@gmail.com
  Target Milestone: ---

SUMMARY

When cryfs cannot mount a directory, the vault UI will simply not show
anything, so the user has no idea what's happening.



STEPS TO REPRODUCE
1. Create a test vault and unmount it
2. Remove one of its binary files (eg. rm -rf Test\
Vault.enc/A6D/713C83A158E9483F5385E96AC219E)
3. Try to mount the vault using the plasma vault UI


OBSERVED RESULT

The UI closes without any feedback, as if the vault was properly mounted, when
in fact, it did not mount.

Trying to mount it from CLI shows:

$ cryfs Test\ Vault.enc/ test
CryFS Version 0.9.9

Password: 
Loading config file (this can take some time)...done
[2020-04-22 11:08:13.960] [Log] [error] Could not load blob
A6D713C83A158E9483F5385E96AC219E. Is the base directory accessible?
[2020-04-22 11:08:13.961] [Log] [error] Crashed: Input/output error


EXPECTED RESULT

The Plasma Vault UI should at the very least show this error, being very
explicit that the vault was unable to be mounted.

Ideally, it would be nice to also show some additional information, like:

- Full path for the blob (In the example, it would be ~/Test\
Vault.enc/A6D/713C83A158E9483F5385E96AC219E)
- Possible suggestions on what the cause could be (incorrect permissions? maybe
a conflict resolution by a shared service such as Dropbox? Hardware issues?
etc...)


SOFTWARE/OS VERSIONS
Windows: No
macOS: No
Linux/KDE Plasma: Yes
(available in About System)
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION

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

Reply via email to