Bug 436228 - Unspecific warning on loading an encrypted file without having gpg keys installed
Summary: Unspecific warning on loading an encrypted file without having gpg keys insta...
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: file (show other bugs)
Version: 5.1.1
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-26 18:22 UTC by Ralf Habacker
Modified: 2021-04-26 18:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing the issue (13.60 KB, image/png)
2021-04-26 18:22 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2021-04-26 18:22:58 UTC
Created attachment 137933 [details]
Screenshot showing the issue

SUMMARY
If gpg support is present but not enabled, kmymoney tries to open a gpg-encrypted file. If no gpg keys are present, which is the case when installing on a new machine, it outputs a non-specific message that the file could not be loaded (see attached screenshot). 

STEPS TO REPRODUCE
1. download kmymoney from https://kmymoney.org/snaphsots.php
2. unpack file and start kmymoney
3. make sure that no gpg keys are installed in the gnupg home directory e.g. by renaming the directory if present (inspect the line Home: from running gpg2 --version to get the path)
4. open gpg encrypted kmymoney file

OBSERVED RESULT
A message box is shown with an unspecific message, that the file could not be opened.

EXPECTED RESULT
kmymoney should output a more specific message about the causes for this case, so that the user can identify and fix the cause of the problem.

SOFTWARE/OS VERSIONS
Windows: 10
KDE Frameworks Version: 5.65.0
Qt Version: 5.11