[kmymoney] [Bug 435948] New: Hardcoded expectation where gpg has its home directory

Ralf Habacker bugzilla_noreply at kde.org
Tue Apr 20 07:31:16 BST 2021


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

            Bug ID: 435948
           Summary: Hardcoded expectation where gpg has its home directory
           Product: kmymoney
           Version: 5.1.1
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: file
          Assignee: kmymoney-devel at kde.org
          Reporter: ralf.habacker at freenet.de
  Target Milestone: ---

STEPS TO REPRODUCE
1. download kmymoney portable snapshot from kmymoney.org/snapshots.php
2. download dbgview and start it
3. unpack kmymoney snapshot and start kmymoney

OBSERVED RESULT
With gpg 2.2 the home directory was changed from %USERPROFILE%/gnupg to
%USERPROFILE%/AppDir/Roaming/gnupg (see bug 419656), which is logged in
kmymoney with a missing path.

  ...
  GPG Home dir <empty>
  ...

EXPECTED RESULT
kmymoney should be able to find the GPG provided home dir regardless from the
currently used path.

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

ADDITIONAL INFORMATION
A gpg installation includes a command line tool to determine the currently used
path 

gpgconf --list-dirs
...
homedir:<path>

The same information can also be retrieved using the libgpgme function
gpgme_get_engine_info (see
https://www.gnupg.org/documentation/manuals/gpgme/Engine-Information.html#Engine-Information
for an example)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list