Re: gpg-agent 2.1 persistent socket between sessions

2017-10-26 Thread Laurent Lavaud
<laurent.lav...@ladtech.fr> Cc: "GNUPG-Users" <gnupg-users@gnupg.org> Sent: Wednesday, October 25, 2017 11:21:34 PM Subject: Re: gpg-agent 2.1 persistent socket between sessions On 25 October 2017 at 12:27, Laurent Lavaud <laurent.lav...@ladtech.fr> wrote: > Hello

Re: gpg-agent 2.1 persistent socket between sessions

2017-10-25 Thread Kostis Anagnostopoulos
On 25 October 2017 at 12:27, Laurent Lavaud wrote: > Hello, > > I would like to know what is the correct way to get a gpg-agent 2.1 > persistent socket between session ? > > I have some cronjob that must use a key stored in the agent. > > Actually the first time a

Re: gpg-agent 2.1 persistent socket between sessions

2017-10-25 Thread martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 25/10/17 15:54, Werner Koch wrote: > p.s. > The gnupg tarballs has a file > gnupg/doc/examples/systemd-user/gpg-agent.socket > which is an example on how to specify the location of the socket. The > problem might be that systemd likes to stop

Re: gpg-agent 2.1 persistent socket between sessions

2017-10-25 Thread Werner Koch
On Wed, 25 Oct 2017 11:27, laurent.lav...@ladtech.fr said: > Actually the first time a gpg-agent is launch, it create a socket in > /run/user/PID/gnupg/ but when i logout this folder is cleaned by systemd and > then if i come back i can't reconnect to the running gpg-agent because the > socket

gpg-agent 2.1 persistent socket between sessions

2017-10-25 Thread Laurent Lavaud
Hello, I would like to know what is the correct way to get a gpg-agent 2.1 persistent socket between session ? I have some cronjob that must use a key stored in the agent. Actually the first time a gpg-agent is launch, it create a socket in /run/user/PID/gnupg/ but when i logout this folder