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

            Bug ID: 427160
           Summary: kgpg doesn't work if ~/.gnupg/gpg.conf doesn't exist
           Product: kgpg
           Version: 20.08
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@opensource.sf-tec.de
          Reporter: b...@lindev.ch
  Target Milestone: ---

SUMMARY
If there is no ~/.gnupg/gpg.conf file, kgpg doesn't work, and often simply
fails quietly without giving any indication of what's wrong (try e.g. searching
for a key on a keyserver).

Even an empty ~/.gnupg/gpg.conf "fixes" this.

Since a ~/.gnupg/gpg.conf file is no longer required for the command line gpg
tools, kgpg should work without it (or at least automatically create an empty
gpg.conf on first startup).

STEPS TO REPRODUCE
1. Create a fresh user
2. If something (e.g. entry in /etc/skel) generated a .gnupg/gpg.conf, delete
it
3. Use gpg on the command line to verify it works and doesn't scream about it
4. Open kgpg, go to the keyserver dialog, and search for something 

OBSERVED RESULT
Fails quietly, simply no matching search results

EXPECTED RESULT
Proper search results, or at least an error message indicating why it didn't
work

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenMandriva Cooker
(available in About System)
KDE Plasma Version: 5.19.90
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
gpg 2.2.23

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to