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
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.
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"
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
(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/.