KGpg cannot select $HOME/.gnupg/gpg.conf

Bug #119263 reported by Milan Knizek
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KDE Utilities
Invalid
Undecided
Unassigned
kdeutils (Ubuntu)
Invalid
Low
Unassigned
kdeutils-kde4 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: kgpg

It is not possible to select the gpg.conf file when it is in a hidden directory (i.e. directory starting with dot).

In KGpg Configure window, part relating to GnuPG Settings, it is possible to open the file selection window (Change), manually type in the full path to gpg.conf (I do not have hidden files shown in KDE, hence directory '.gnupg' is not visible in the folder listing), but pressing enter or clicking ok is ignored (nothing happens and the window must be closed using cancel).

As a workaround, I have created a symlink 'ln -s ${HOME}/.gnupg ${HOME}/gnupg'
Then clicking on the gnupg directory and pressing okey works.

I am using Kubuntu Feisty, latest updates.

Revision history for this message
Scott Kitterman (kitterman) wrote :

Confirmed, although the default location established when you install kgpg is ${HOME}/.gnupg, so the impact is low (most people won't ever need to change it).

Changed in kdeutils:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Milan Knizek (knizek) wrote :

Yep, you are right.

However, if I recall correctly, my fault was that I did not know that KGpg does not create the ${HOME}/.gnupg/gpg.conf file (it is not able to create it if the file does not exist - hence any changes in the settings, which relate to gpg.conf are ignored - like "use gpg agent").

Therefore I created the gpg.conf manually. Further KGpg had default option to search ${HOME}/.gnupg/options.cfg - which is not the default name for gnupg configuration file, neither. To solve it, I tried to set the pgp.conf manually and the result was the bug above.

Maybe there is some way how KGpg rescans the preset ${HOME}/.gnupg directory to find the new pgp.conf without the need to open the directory browser window, but I have not discovered it.

Revision history for this message
Colby W. (yorokobi) wrote :

Quit/exit out of KGpg and edit $HOME/.kde/share/config/kgpgrc then under [GPG Settings] add

gpg_config_path=$HOME/.gnupg/gpg.conf

Start KGpg up again and it'll use the correct config file.

Revision history for this message
FriedChicken (domlyons) wrote :

I've tried what Coby Williams wrote and it worked. Shouldn't this be a standard setting?

Revision history for this message
FriedChicken (domlyons) wrote :

I have to add that I had this problem with KGpg KDE4: bug #273228

Revision history for this message
Harald Sitter (apachelogger) wrote :

Bug needs to be forwarded to http://bugs.kde.org

Changed in kdeutils-kde4:
status: New → Invalid
Revision history for this message
Harald Sitter (apachelogger) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. While we appreciate your issue, it would be better if it was tracked at https://bugs.kde.org, so that the KDE developers can deal with this speedily and have direct communication with you as the reporter for more effective debugging.

Thanks!

Changed in kdeutils (Ubuntu):
status: Confirmed → Invalid
Changed in kdeutils:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.