Bug 291923

Summary: Commit a63d4cd05d0fb61f107e925589986bd635b6666a breaks first start of KGpg
Product: [Applications] kgpg Reporter: Ben Cooksley <bcooksley>
Component: generalAssignee: Rolf Eike Beer <kde>
Status: RESOLVED FIXED    
Severity: major CC: larrylaca1
Priority: NOR    
Version: 2.6.x   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.0

Description Ben Cooksley 2012-01-19 06:44:20 UTC
Version:           unspecified (using Devel) 
OS:                Linux

Due to changes introduced in commit a63d4cd05d0fb61f107e925589986bd635b6666a it is no longer possible to start KGpg unless you already have an existing configuration file.

This is caused by "gpg_config_path" not being set in the config file (which does not exist on first start).



Reproducible: Always

Steps to Reproduce:
1) Start KGpg
2) Recieve dialog about GPG setup problems

Actual Results:  
KGpg first setup wizard fails to launch, KGpg is not usable.

Expected Results:  
KGpg first setup wizard launches.

Running the following command works around the issue and allows for first setup to be completed.

kwriteconfig --file kgpgrc --group "GPG Settings" --key "gpg_config_path" --type string "$HOME/.gnupg/gpg.conf"
Comment 1 Patrick Spendrin 2012-01-19 10:25:37 UTC
Git commit fa0b4565a2c4aa672dc4c285d1bd445e055da626 by Patrick Spendrin.
Committed on 19/01/2012 at 11:24.
Pushed by sengels into branch 'KDE/4.8'.

fix startup when no config file is defined

M  +5    -3    gpgproc.cpp

http://commits.kde.org/kgpg/fa0b4565a2c4aa672dc4c285d1bd445e055da626
Comment 2 Rolf Eike Beer 2012-01-21 09:53:54 UTC
*** Bug 290113 has been marked as a duplicate of this bug. ***