Re: gpg-agent

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

 



On Sunday 25 February 2007 05:02:21 pm Bruno Costacurta wrote:
> Hello,
>
> how to setup, start and test gpg-agent ?

Here's what I did:

    1) install gnupgp2 if you have'nt
        yum install gnupgp2 

    2) In  ~/.gnugpg/create a file gpg-agent.cong with this
        pinentry-program /usr/bin/pinentry-qt
        no-grab
        default-cache-ttl 18000

 
    2b) append to ~/.gnupg/gpg.conf
          cat >> ~/.gnupg/gpg.conf
     use-agent

     3) if using kde then drop this in ~/.kde/env
         cat > ~/.kde/env/gpg-agent-start.sh
#!/bin/bash
if [ -z "${GPG_AGENT_INFO}" -a -x /usr/bin/gpg-agent -a -f 
${HOME}/.gnupg/gpg-agent.conf ]; then
  ## If you're paranoid about stale agents running (possible kde crash) 
uncomment killall line:
  ## NOTE: a root login will kill *all* users' gpg-agents
  killall gpg-agent
  eval "$(/usr/bin/gpg-agent --daemon)"
fi

           If using gnome there must be something similar to have things 
start - i gave up on gnome several years ago but I'm sure there is.

     
 Logout and back in to get the agent started and you should be in business.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux