[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UPDATED INSTRUCTIONS (was KMail complains about missing gpgsm)



Am Mittwoch, 17. November 2004 10:07 schrieb Adeodato Simó:
>     - gmgme1.0 has now gpgsm detection at runtime, so RECOMPILING IS NO
>       LONGER NECESSARY.

Runtime detection probably means to dlopen() the lib instead of linking to it. 
I am not sure that this should really be preferred.

>     - gpgsm has been split into a separate package (formerly it was
>       included in gnupg2).

Yes, someone talked him into that ;)
However, I do not quite unterstand why gnupg2 did not enter unstable, yet. It 
is in the NEW queue longer than the new kdepim.
However, to actually have the certificate manager, you also need to install 
kleopatra.

You should realize that gpg-agent is NOT started automatically since package 
gpg-agent does not install a script in /etc/X11/Xsession.d/.
Mine looks like:
$ cat /etc/X11/Xsession.d/90local_gpg-agent
STARTGPG=
GPGAGENT=/usr/bin/gpg-agent
GPGAGENTARGS="--daemon"
#GPGAGENTARGS="--daemon --debug-all"
if grep -qs ^use-gpg-agent "$OPTIONFILE"; then
  if [ -x "$GPGAGENT" ]; then
      STARTGPG=yes
  fi
fi
if [ -n "$STARTGPG" ]; then
  if test -f $HOME/.gpg-agent-info && \
    kill -0 `cut -d: -f 2 $HOME/.gpg-agent-info` 2>/dev/null; then
    GPG_AGENT_INFO=`cat $HOME/.gpg-agent-info`
    export GPG_AGENT_INFO
  else
    eval `$GPGAGENT $GPGAGENTARGS`
    echo $GPG_AGENT_INFO >$HOME/.gpg-agent-info
  fi
fi

Please note that gpg-agent will fail to start if the configuration is not set 
up properly for it. However, kleopatra has a GUI for its configuration.
With KDE-3.3.1, it may be possible to start it like setting environment 
variables.

HS

-- 
Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de
        oder über pgp.net

PingoS - Linux-User helfen Schulen: http://www.pingos.org



Reply to: