Hello all, I just purchased suse 9.3 and I am doing a fresh install. Everything has gone well except for decrypting email. I have kgpg running and all setup (all private and public keys imported, etc.) I have kmail setup and I can send and retrieve email. However, when I receive an encrypt email, Kmail says that my passphrase is bad. But it didn't ask. Kmail does work for checking the signature of email (but only if they are not encrypted). Kmail does ask for my passphrase when I can send encrypted email. I find this very frustrating. I am upgrading from suse 9.1 which setting up gpg in kmail was done in 2 minutes! I have been souring the web and finding things to try (like starting gpg-agent?) but nothing is working. Anyone on this list find a solution for suse 9.3? Thanks, Alvin -- Please reply to only this mailing-list so others can take part as well. Thanks.
Hi! Just check again, that gpg-agent is being started when you log in. Then check the gpg-agent config so that gpg-agent knows a program which it can start to ask you for passphrase, a so named pinentry program. I suggest pinentry-qt (check if you have that package "pinentry" installed). I have a ~/.gnupg/gpg-agent.conf with this content: pinentry-program /usr/bin/pinentry-qt no-grab default-cache-ttl 1800 Good luck! Greets, Daniel Am Donnerstag, 26. Mai 2005 20:08 schrieb Alvin Beach:
Hello all,
I just purchased suse 9.3 and I am doing a fresh install. Everything has gone well except for decrypting email.
I have kgpg running and all setup (all private and public keys imported, etc.) I have kmail setup and I can send and retrieve email.
However, when I receive an encrypt email, Kmail says that my passphrase is bad. But it didn't ask. Kmail does work for checking the signature of email (but only if they are not encrypted).
Kmail does ask for my passphrase when I can send encrypted email.
I find this very frustrating. I am upgrading from suse 9.1 which setting up gpg in kmail was done in 2 minutes! I have been souring the web and finding things to try (like starting gpg-agent?) but nothing is working.
Anyone on this list find a solution for suse 9.3?
Thanks,
Alvin
-- Please reply to only this mailing-list so others can take part as well. Thanks.
Hello Daniel, When I booted the computer this morning, kmail and gpg were working perfectly. I guess the computer just needed a reboot. I had made the changes you suggested and added the "gpg-agent --daemon" line to a script in ~/.kde/env and I just restarted X. Looks like this needs a full reboot to take effect. Thanks, Alvin On May 27, 2005 05:46 am, Daniel Eckl wrote:
Hi!
Just check again, that gpg-agent is being started when you log in.
Then check the gpg-agent config so that gpg-agent knows a program which it can start to ask you for passphrase, a so named pinentry program. I suggest pinentry-qt (check if you have that package "pinentry" installed).
I have a ~/.gnupg/gpg-agent.conf with this content:
pinentry-program /usr/bin/pinentry-qt no-grab default-cache-ttl 1800
Good luck!
Greets, Daniel
Am Donnerstag, 26. Mai 2005 20:08 schrieb Alvin Beach:
Hello all,
I just purchased suse 9.3 and I am doing a fresh install. Everything has gone well except for decrypting email.
I have kgpg running and all setup (all private and public keys imported, etc.) I have kmail setup and I can send and retrieve email.
However, when I receive an encrypt email, Kmail says that my passphrase is bad. But it didn't ask. Kmail does work for checking the signature of email (but only if they are not encrypted).
Kmail does ask for my passphrase when I can send encrypted email.
I find this very frustrating. I am upgrading from suse 9.1 which setting up gpg in kmail was done in 2 minutes! I have been souring the web and finding things to try (like starting gpg-agent?) but nothing is working.
Anyone on this list find a solution for suse 9.3?
Thanks,
Alvin
-- Please reply to only this mailing-list so others can take part as well. Thanks.
-- Alvin Email: alvinbeach@eastlink.ca WWW: http://users.eastlink.ca/~alvinbeach
Reboot on linux is only needed when <changing | having problem with> <kernel code | kernel modules>. I think gpg-agent was still running after the X kill. A "killall gpg-agent" would have helped, too. But if in doubt what process to kill or restart, the best way is a reboot, even on linux. Nice I could help you. Best, Daniel Am Freitag, 27. Mai 2005 12:26 schrieb Alvin Beach:
Hello Daniel,
When I booted the computer this morning, kmail and gpg were working perfectly. I guess the computer just needed a reboot. I had made the changes you suggested and added the "gpg-agent --daemon" line to a script in ~/.kde/env and I just restarted X. Looks like this needs a full reboot to take effect.
Thanks,
Alvin
On May 27, 2005 05:46 am, Daniel Eckl wrote:
Hi!
Just check again, that gpg-agent is being started when you log in.
Then check the gpg-agent config so that gpg-agent knows a program which it can start to ask you for passphrase, a so named pinentry program. I suggest pinentry-qt (check if you have that package "pinentry" installed).
I have a ~/.gnupg/gpg-agent.conf with this content:
pinentry-program /usr/bin/pinentry-qt no-grab default-cache-ttl 1800
Good luck!
Greets, Daniel
Am Donnerstag, 26. Mai 2005 20:08 schrieb Alvin Beach:
Hello all,
I just purchased suse 9.3 and I am doing a fresh install. Everything has gone well except for decrypting email.
I have kgpg running and all setup (all private and public keys imported, etc.) I have kmail setup and I can send and retrieve email.
However, when I receive an encrypt email, Kmail says that my passphrase is bad. But it didn't ask. Kmail does work for checking the signature of email (but only if they are not encrypted).
Kmail does ask for my passphrase when I can send encrypted email.
I find this very frustrating. I am upgrading from suse 9.1 which setting up gpg in kmail was done in 2 minutes! I have been souring the web and finding things to try (like starting gpg-agent?) but nothing is working.
Anyone on this list find a solution for suse 9.3?
Thanks,
Alvin
-- Please reply to only this mailing-list so others can take part as well. Thanks.
-- Alvin Email: alvinbeach@eastlink.ca WWW: http://users.eastlink.ca/~alvinbeach
On Saturday 28 May 2005 00:27, Daniel Eckl wrote:
Reboot on linux is only needed when <changing | having problem with> <kernel code | kernel modules>.
I think gpg-agent was still running after the X kill. A "killall gpg-agent" would have helped, too.
I did also experience that in this specific case the killall alone did not help :-(
But if in doubt what process to kill or restart, the best way is a reboot, even on linux.
Nice I could help you.
Best, Daniel
Am Freitag, 27. Mai 2005 12:26 schrieb Alvin Beach:
Hello Daniel,
When I booted the computer this morning, kmail and gpg were working perfectly. I guess the computer just needed a reboot. I had made the changes you suggested and added the "gpg-agent --daemon" line to a script in ~/.kde/env and I just restarted X. Looks like this needs a full reboot to take effect.
Thanks,
Alvin
On May 27, 2005 05:46 am, Daniel Eckl wrote:
Hi!
Just check again, that gpg-agent is being started when you log in.
Then check the gpg-agent config so that gpg-agent knows a program which it can start to ask you for passphrase, a so named pinentry program. I suggest pinentry-qt (check if you have that package "pinentry" installed).
I have a ~/.gnupg/gpg-agent.conf with this content:
pinentry-program /usr/bin/pinentry-qt no-grab default-cache-ttl 1800
Good luck!
Greets, Daniel
Hello all, I setup another computer and it worked flawlessly. Before starting kgpg or kmail, I created the file ~/.kde/env/gpg-agent-startup: #!/bin/sh eval "$(gpg-agent --daemon)" I had to create the 'env' directory. Once I saved this file and make it executable, I restarted X. Then I setup Kmail and kgpg as normal. And encrypted email worked great. Alvin On May 27, 2005 06:32 pm, Matt T. wrote:
On Saturday 28 May 2005 00:27, Daniel Eckl wrote:
Reboot on linux is only needed when <changing | having problem with> <kernel code | kernel modules>.
I think gpg-agent was still running after the X kill. A "killall gpg-agent" would have helped, too.
I did also experience that in this specific case the killall alone did not help :-(
But if in doubt what process to kill or restart, the best way is a reboot, even on linux.
Nice I could help you.
Best, Daniel
Am Freitag, 27. Mai 2005 12:26 schrieb Alvin Beach:
Hello Daniel,
When I booted the computer this morning, kmail and gpg were working perfectly. I guess the computer just needed a reboot. I had made the changes you suggested and added the "gpg-agent --daemon" line to a script in ~/.kde/env and I just restarted X. Looks like this needs a full reboot to take effect.
Thanks,
Alvin
On May 27, 2005 05:46 am, Daniel Eckl wrote:
Hi!
Just check again, that gpg-agent is being started when you log in.
Then check the gpg-agent config so that gpg-agent knows a program which it can start to ask you for passphrase, a so named pinentry program. I suggest pinentry-qt (check if you have that package "pinentry" installed).
I have a ~/.gnupg/gpg-agent.conf with this content:
pinentry-program /usr/bin/pinentry-qt no-grab default-cache-ttl 1800
Good luck!
Greets, Daniel
-- Please reply to the list only.
participants (3)
-
Alvin Beach
-
Daniel Eckl
-
Matt T.