[kde-solaris] using KMail with gpg-agent and pinentry-qt

Stefan Teleman steleman at nyc.rr.com
Thu Sep 23 06:08:17 CEST 2004


I have uploaded a very small package named KDEpinentryqt-071. It 
contains a binary for pinentry-qt, and installs in /opt/fsw4sun/bin.

For using this program in conjunction with KMail and gpg-agent, please 
visit: http://kmail.kde.org/

Here are some useful lines to add to startkde:
# Start the GPG-Agent in daemon mode
m=`pgrep -f gpg-agent`
if [ -z $m ] ; then
        echo "Starting the GPG-Agent ... "
        cat /dev/null > /tmp/gpgout
        /opt/fsw4sun/bin/gpg-agent -s --daemon >& /tmp/gpgout 2>&1
        chmod 0700 /tmp/gpgout
fi
cat /dev/null > /tmp/gpgenv
cat /tmp/gpgout | egrep export >& /tmp/gpgenv
chmod 0700 /tmp/gpgenv
. /tmp/gpgenv
echo "GPG_AGENT_INFO set to ${GPG_AGENT_INFO}."

I have tested this and it works very well.

--Stefan

-- 
Stefan Teleman          'Nobody Expects the Spanish Inquisition'
steleman at nyc.rr.com                          -Monty Python



More information about the kde-solaris mailing list