Bug 490600

Summary: Check for gpg also in /home/<user>/.gnupg
Product: [Applications] kgpg Reporter: Timon Zielonka <timon>
Component: generalAssignee: Rolf Eike Beer <kde>
Status: REPORTED ---    
Severity: normal CC: timon
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Timon Zielonka 2024-07-21 10:01:38 UTC
***
On first start if gpg is not found in /usr/bin/gpg2 check automatically if a version is found in /home/<user>/.gnupg and if yes, use this version.
***

SUMMARY


STEPS TO REPRODUCE
1. Install Kubuntu and gpg as a user
2. Install Kgpg (actually would be nice, if Kgpg in included in the default)
3. Open Kgpg with a click on a gpg file and go to the second setup question

OBSERVED RESULT

The path /usr/bin/gpg2 is suggested, but the version installed is correctly shown

EXPECTED RESULT

If the version can be detect it should also be possible to suggest a path to the installed version of gpg

SOFTWARE/OS VERSIONS
Betriebssystem: Kubuntu 24.04
KDE-Plasma-Version: 5.27.11
KDE-Frameworks-Version: 5.115.0
Qt-Version: 5.15.13
Kernel-Version: 6.8.0-38-generic (64-bit)
Grafik-Plattform: X11
Prozessoren: 6 × Intel® Core™ i5-9600K CPU @ 3.70GHz
Speicher: 62.7 GiB Arbeitsspeicher
Grafikprozessor: NV137