Version: unspecified (using KDE 4.7.2)
Whenever I try to create the pair of keys and I type passfrase I get a message saying that the keys were not created although my system tray says the contrary. The fact is that keys are not created at all.
Steps to Reproduce:
create new pair keys (Ctrl+N)
fill all data
Notification message: "GPG process didn't finish. It's not possible to generate a new pair of keys" (message in English may differ a little)
Creation of a pair keys
The message box should have a "Details" button that should tell you the
reason for GnuPG failing.
Created attachment 64953 [details]
Screenshot displaying warning message
No details button available
I wrote while you where writing. I see you have solved it. I'll wait to see if new version is added to kubuntu repositories soon.
Can you please switch the language to English (in the Help menu) and tell
me the exact error message of KGpg? No screenshot needed, just the text it
"gpg process did not finish. Cannot generate a new key pair"
Please open a konsole and run:
LANG=C GNUPGHOME=/home/user/.gnupg gpg --status-fd=1 --command-fd=0
--no-verbose --no-greeting --gen-key --batch
This is the same as KGpg does. This should fail and hopefully print out an
error message that gives you a clue what is wrong.
This is what it returns:
gpg: fatal: can't create directory `/home/user/.gnupg': No such file or directory
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
Hope this helps.
> gpg: fatal: can't create directory `/home/user/.gnupg': No such file or
> secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
chmod 700 /home/user/.gnupg
Afterwards KGpg should work fine.
Git commit 61c3af0d764b7c7a56d2207ed953c7e5e865738b by Rolf Eike Beer.
Committed on 28/10/2011 at 19:37.
Pushed by dakon into branch 'KDE/4.7'.
if key generation failed tell the user what GnuPG complained about
This should give a hint about broken config files, missing directories and such.
M +1 -1 keysmanager.cpp
M +22 -2 transactions/kgpggeneratekey.cpp
M +9 -0 transactions/kgpggeneratekey.h