Version: unspecified (using KDE 4.7.3) OS: Linux Since my upgrade from 11.04 to 11.10 Kgpg will not decrypt files. Seemingly part of this is that gpg-agent won't run. If I create a file 'tester1.doc' I can encrypt it with my public key and decrypt it with my private key like so: $ gpg --encrypt --armor tester1.doc $ gpg --output tester1.clear.doc --decrypt tester1.doc.asc I get the new file, tester1.clear.doc, which is the decrypted version of the original. With Kgpg I get an error message that gpg-agent won't run. Then I'm prompted for my passphrase and I get an error that the file cannot be decrypted. Given the CLI results and the fact that I can decrypt the same encrypted file in Windows PGP with the same public/private key pair that I'm using in Kubuntu, the problem sure looks like Kgpg. I have very little experience with solving a problem of this type. Searching these forums has shown that no one has gotten an answer to solving a Kgpg problem like this. Searching the internet also yielded very little. I got help with the CLI stuff from Linusquestions.org. Does anyone have a solution? Is there a special forum I should post this problem on? Is this a bug I should report? Everything worked OK in 11.04. The Kgpg version is 2.6.2 I am not an experienced Linux user. I am reporting this bug because; The Kubuntu administrator replied: Given that your researched has turned up no solutions, it does sound like a bug report is in order. http://bugs.kde.org Reproducible: Always Steps to Reproduce: Reported in "Details" Actual Results: Reported in "Details" Expected Results: I ought to be able to decrypt a gpg encrypted file with my key
Created attachment 67986 [details] Kgpg startup error dialog
Good day. I suggested Larry submit this report, and would like to report similar behavior. I have a computer running Ubuntu Precise, built with the CLI, and manually installed KDE via the repos (this is not a Kubuntu build). gnupg, gnupg2, and gnupg-agent are installed. When I attempt to start Kgpg, a dialog appears (see attached PNG image) informing me that the gpg option file is missing. There is no "options" file in my ~/.gnupg directory. The directory contains: steve@steve-aspire:~$ ll ~/.gnupg total 32 drwx------ 3 steve steve 4096 Jan 18 19:52 ./ drwxr-xr-x 22 steve steve 4096 Jan 18 19:40 ../ -rw-rw-r-- 1 steve steve 50 Jan 18 18:30 gpg-agent-info-steve-aspire -rw------- 1 steve steve 9398 Dec 29 18:17 gpg.conf drwx------ 2 steve steve 4096 Dec 29 16:45 private-keys-v1.d/ -rw------- 1 steve steve 0 Dec 29 16:42 pubring.gpg -rw------- 1 steve steve 0 Dec 29 16:42 secring.gpg -rw------- 1 steve steve 40 Dec 29 17:02 trustdb.gpg
Hit enter too soon, sorry. Package details: steve@steve-aspire:~$ apt-cache policy gnupg gnupg: Installed: 1.4.11-3ubuntu2 Candidate: 1.4.11-3ubuntu2 Version table: *** 1.4.11-3ubuntu2 0 500 http://mirror.anl.gov/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status steve@steve-aspire:~$ apt-cache policy gnupg2 gnupg2: Installed: 2.0.17-2ubuntu2 Candidate: 2.0.17-2ubuntu2 Version table: *** 2.0.17-2ubuntu2 0 500 http://mirror.anl.gov/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status steve@steve-aspire:~$ apt-cache policy gnupg-agent gnupg-agent: Installed: 2.0.17-2ubuntu2 Candidate: 2.0.17-2ubuntu2 Version table: *** 2.0.17-2ubuntu2 0 500 http://mirror.anl.gov/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status steve@steve-aspire:~$ apt-cache policy kgpg kgpg: Installed: 4:4.7.97-0ubuntu1 Candidate: 4:4.7.97-0ubuntu1 Version table: *** 4:4.7.97-0ubuntu1 0 500 http://mirror.anl.gov/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status
Related problem in bug 290221: https://bugs.kde.org/show_bug.cgi?id=290221 Workaround and potential solution in bug 291923: https://bugs.kde.org/show_bug.cgi?id=291923
*** This bug has been marked as a duplicate of bug 291923 ***