Summary: | Kgpg can't create key pairs | ||
---|---|---|---|
Product: | [Applications] kgpg | Reporter: | Carlos Cámara <carlos.camara> |
Component: | general | Assignee: | Rolf Eike Beer <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arturoegarciamendez |
Priority: | NOR | ||
Version: | 2.6.x | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.7.3 | |
Sentry Crash Report: | |||
Attachments: | Screenshot displaying warning message |
Description
Carlos Cámara
2011-10-27 10:44:47 UTC
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 displays. Sure! Text: "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
> directory
> secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
Sure:
mkdir /home/user/.gnupg
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. CCBUG:285081 M +1 -1 keysmanager.cpp M +22 -2 transactions/kgpggeneratekey.cpp M +9 -0 transactions/kgpggeneratekey.h http://commits.kde.org/kgpg/61c3af0d764b7c7a56d2207ed953c7e5e865738b |