Bug 428217 - When changing the KGpg home directory, the key list doesn't update, even with an F5; KGpg must be restarted
Summary: When changing the KGpg home directory, the key list doesn't update, even with...
Status: REPORTED
Alias: None
Product: kgpg
Classification: Applications
Component: general (other bugs)
Version First Reported In: 20.08
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Rolf Eike Beer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-25 09:09 UTC by Fredrick Brennan
Modified: 2020-10-25 09:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fredrick Brennan 2020-10-25 09:09:15 UTC
SUMMARY
When changing the KGpg home directory, the key list doesn't update, even with an (or multiple presses of) F5; KGpg must be restarted.

STEPS TO REPRODUCE
1. Have two GnuPG home directories. If you don't already, run at minimum:

  $ mkdir -m 0700 ~/.gnupg-kde_bug_report
  $ gpg2 --homedir=!$ --list-keys
  gpg2 --homedir=~/.gnupg-kde_bug_report --list-keys
  gpg: keybox '/home/fred/.gnupg-kde_bug_report/pubring.kbx' created
  gpg: /home/fred/.gnupg-kde_bug_report/trustdb.gpg: trustdb created
  $ touch ~/.gnupg-kde_bug_report/gpg.conf

2. Switch to the other home directory.

OBSERVED RESULT
Key list not updated.

EXPECTED RESULT
Key list would automatically update.

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma: 5.20.1
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1