[Bug 71791] Re: importing .p12 certificate fails with "decryption failed" dialog
Tomas Thiemel
thiemel at centrum.cz
Wed Oct 31 22:52:55 UTC 2007
Hi, after hard days and nights I finally found the problem - you can
check it at http://gentoo-wiki.com/index.php?title=HOWTO_KMail_gpg-
agent_kde#Setting_up_gpg-agent_with_KDE
So solution:
1) you must create (executable) file "~/.kde/env/gpg-agent.sh"
***
#!/bin/bash
eval `gpg-agent --daemon`
***
2) you must create (executable) file (and target folder) "~/.kde/shutdown/gpg-agent.sh"
***
#!/bin/sh
# the second field of the GPG_AGENT_INFO variable is the
# process ID of the gpg-agent active in the current session
# so we'll just kill that, rather than all of them :)
[[ -n ${GPG_AGENT_INFO} ]] && kill `echo ${GPG_AGENT_INFO} | cut -d ':' -f 2`
***
3) Restart your KDE session
4) WOW! It works!
PS: you must create these start&stop scripts for every user, who wants
to use X.509 signatures in Kmail...
--
importing .p12 certificate fails with "decryption failed" dialog
https://bugs.launchpad.net/bugs/71791
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdepim in ubuntu.
More information about the kubuntu-bugs
mailing list