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. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs