Bug 435761 - No gpg support for kmymoney available from CI builds
Summary: No gpg support for kmymoney available from CI builds
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: git (master)
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on: 439883
Blocks: 426400
  Show dependency treegraph
 
Reported: 2021-04-15 09:42 UTC by Ralf Habacker
Modified: 2024-04-17 09:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshots showing GPG configuration dialog (23.16 KB, image/png)
2024-03-28 10:17 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-15 09:42:21 UTC
SUMMARY
The preview builds for Windows listed at https://kmymoney.org/download.html does not provide gpg2 support.

STEPS TO REPRODUCE
1. download and unpack a portable package from the listed web page 
2. start kmymoney
3. open settings menu
4. enter page "modules" and open setting for xml plugin

OBSERVED RESULT
gpg2 support is disabled


EXPECTED RESULT
gpg2 support should be available

SOFTWARE/OS VERSIONS
Windows: 10
Comment 1 Ralf Habacker 2024-03-28 10:17:00 UTC
Created attachment 167886 [details]
Screenshots showing GPG configuration dialog

I have checked this with an actual build of kmymoney from https://cdn.kde.org/ci-builds/office/kmymoney/master/windows/kmymoney-master-3157-windows-cl-msvc2019-x86_64.7z. GGP seems to be compiled in, but the executable file gpg2.exe is missing, which is needed to generate a private/public key pair. The other option of importing keys cannot be used either, as this also requires the gpg2 command line program.
Comment 2 Ralf Habacker 2024-03-28 11:02:42 UTC
After starting kmymoney from the command line by opening the gpg configuration dialog (Settings->Modules->xml...->Settings), the following appears on the console

GpgME::checkEngine returns 150 Invalid crypto engine
GPG search "/secring.gpg"
GPG no secure keyring found.
Failure while setting GPG home directory to ""
 "Invalid crypto engine"
GPG Home directory located in
GPG binary located in
Failure while setting GPG home directory to ""
 "Invalid crypto engine"
Comment 3 Ingo Klöcker 2024-03-28 12:14:38 UTC
It's not suprising that gpg2.exe is missing if you have the following in kmymoney's exclude list:
> # strip most executables
> bin/(?!(kmymoney|sqlcipher|kbuildsycoca5|update-mime-database|kioslave|ofxdump|kconf_update|QtWebEngineProcess)).*\.exe
Comment 4 Ralf Habacker 2024-04-17 09:17:23 UTC
(In reply to Ingo Klöcker from comment #3)
> It's not suprising that gpg2.exe is missing if you have the following in
> kmymoney's exclude list:
> > # strip most executables
> > bin/(?!(kmymoney|sqlcipher|kbuildsycoca5|update-mime-database|kioslave|ofxdump|kconf_update|QtWebEngineProcess)).*\.exe

The added files have been corrected with https://invent.kde.org/packaging/craft-blueprints-kde/-/commit/766ecafaee502ad9fc9417402e176bb41d392111, but are not included in the current snapshot (kmymoney-master-3196-windows-cl-msvc2019-x86_64.7z) at https://cdn.kde.org/ci-builds/office/kmymoney/master/windows/.