1. 21 Apr, 2018 1 commit
    • Chris Fleming's avatar
      Fix gpg-agent plugin checks (#6469) · 9a718642
      Chris Fleming authored
      * Always try and start gpg-agent, with --use-standard-socket it will try and use a standard socket directory. It won't start multiple agents if agent is already running. In addition, XDG_RUNTIME_DIR isn't always set
      
      * ssh socket if broken if --daemon is run again, so onky start if we don't have a socket
      
      * Removed unnecessary allocation of GPG_SSH_AUTH_SOCK
      9a718642
  2. 08 Nov, 2017 1 commit
  3. 07 Nov, 2017 1 commit
    • Paweł Czochański's avatar
      Fixed the gpg-agent plugin for new gpg versions (#6140) · c2fb24a7
      Paweł Czochański authored
      The gpg-agent plugin did not work for gpg versions above or equal to
      2.1 because of the `--write-env-file` option deprecation. This new version
      works fine and also enables the ssh-agent support only if it is enabled in the
      gpg-agent config file.
      c2fb24a7
  4. 15 Jul, 2013 1 commit
    • Sukant Hajra's avatar
      PLUGIN: gpg-agent: export SSH_* environment variables too · cf8d7609
      Sukant Hajra authored
      If using the gpg-agent with --enable-ssh-support, the SSH_AUTH_SOCK and
      SSH_AGENT_PID environment variables need to be exported once sourced
      from GPG_ENV.  Otherwise, we get no benefit from the persisting these
      values to GPG_ENV; subsequent openned terminals don't see the existent
      gpg-agent as a process for an SSH daemon.
      cf8d7609
  5. 11 Jul, 2013 1 commit
    • Sukant Hajra's avatar
      fix gpg-agent "running already" check · 3d204883
      Sukant Hajra authored
      The GPG_ENV file is sourced before doing the gpg-connect-agent check,
      but this file (unlike the SSH_ENV file) doesn't export GPG_AGENT_INFO,
      so the check always fails.  This results in new gpg-agents continuously
      being spawned.
      
      All this commit does is put in the single export to fix the problem.
      3d204883
  6. 23 Jun, 2013 2 commits
    • Olaf Conradi's avatar
      Typo · 64fc125e
      Olaf Conradi authored
      64fc125e
    • Olaf Conradi's avatar
      Prevent starting multiple gpg-agents · 711e96b1
      Olaf Conradi authored
      Don't just overwrite the environment. First check for a running agent (an
      x-session might have one running). If no agent is found, source the
      environment and check again using those settings. If again no agent is
      found, start a new instance.
      711e96b1
  7. 21 Feb, 2013 2 commits
  8. 15 Oct, 2010 1 commit