STEPS TO REPRODUCE 1. download portable package for kmymoney from https://kmymoney.org/snapshots.php#kmymoney5-aq6 2. unpack archive 3. open a command line in the bin dir folder 4. if no gpg key are present, from the bin dir of the unpackaged archive run `gpg2 --generate-key` to generate a gpg key 5. start kmymoney.exe 6. open settings->plugins->xml->configuration 7. enable gpg support 8. restart kmymoney OBSERVED RESULT In the debug log the message 'GPG no secure keyring found' will be shown EXPECTED RESULT The message should not be shown SOFTWARE/OS VERSIONS Windows: 10 KDE Frameworks Version: 5.65.0 Qt Version: 5.11 gpg (GnuPG): 2.2.27 ADDITIONAL INFORMATION https://www.gnupg.org/documentation/manuals/gnupg/GPG-Configuration.html states about the mentioned file > /.gnupg/secring.gpg > The legacy secret keyring as used by GnuPG versions before 2.1. It is not used by GnuPG 2.1 and later. You may want to keep it in case you have to use GnuPG 1.4 to decrypt archived data.
Git commit 7ed36be3545cdb536d96319d8c36c2b5c83eeca1 by Thomas Baumgart. Committed on 30/03/2022 at 12:32. Pushed by tbaumgart into branch 'master'. Prevent false debug message about missing secret keys Newer GPG versions use a different location for keys than older ones. This change prevents to display a false message about missing secret keys when only the new location is used. M +11 -4 kmymoney/plugins/xml/libkgpgfile/kgpgfile.cpp https://invent.kde.org/office/kmymoney/commit/7ed36be3545cdb536d96319d8c36c2b5c83eeca1
Git commit 64ae6469320a52da5df382d11d9826b861891fe4 by Thomas Baumgart. Committed on 30/03/2022 at 12:33. Pushed by tbaumgart into branch '5.1'. Prevent false debug message about missing secret keys Newer GPG versions use a different location for keys than older ones. This change prevents to display a false message about missing secret keys when only the new location is used. FIXED-IN: 5.1.3 (cherry picked from commit 7ed36be3545cdb536d96319d8c36c2b5c83eeca1) M +11 -4 kmymoney/plugins/xml/libkgpgfile/kgpgfile.cpp https://invent.kde.org/office/kmymoney/commit/64ae6469320a52da5df382d11d9826b861891fe4