Re: what is the proper way to load gpg-agent with systemd

2015-03-18 Thread Jacky Alcine
On Tuesday, March 17, 2015 03:48:54 PM Paulo Lopes wrote: > Hello, > > I've been using my gpg card with success in Ubuntu for a while but as > everyone knows the init system is switching from upstart to systemd as it > is happening on Debian and the vast majority of other distributions. > > In th

Re: what is the proper way to load gpg-agent with systemd

2015-03-17 Thread Daniel Kahn Gillmor
On Tue 2015-03-17 14:43:02 -0400, Paulo Lopes wrote: > So what I did was to create a user unit file like this on ~/.local/: > > [Unit] > Description=gpg-agent > ConditionFileIsExecutable=/usr/bin/gpg-agent > > [Service] > ExecStart=/usr/bin/gpg-agent --daemon --enable-ssh-support > --scdaemon-progr

Re: what is the proper way to load gpg-agent with systemd

2015-03-17 Thread Marco Morales
I recommend starting it from a script in /etc/profile.d/ If you're running >2.1 then you don't need to do the env-file thing. Here's an example: https://wiki.archlinux.org/index.php/GnuPG#gpg-agent On Tue, Mar 17, 2015 at 2:36 PM, Doug Barton wrote: > Ok, then you need to start the agent prior

RE: what is the proper way to load gpg-agent with systemd

2015-03-17 Thread Paulo Lopes
Yes! -Original Message- From: Doug Barton Sent: 17/03/2015, 20:20 To: Paulo Lopes Cc: "gnupg-users@gnupg.org" Subject: Re: what is the proper way to load gpg-agent with systemd Are you using gpg-agent to handle ssh agent responsibilities,

RE: what is the proper way to load gpg-agent with systemd

2015-03-17 Thread Clark Rivard
OK - thanks. -Original Message- From: Doug Barton [mailto:dougb@dougbarton.email] Sent: Tuesday, March 17, 2015 3:08 PM To: Clark Rivard; Paulo Lopes Cc: gnupg-users@gnupg.org Subject: Re: what is the proper way to load gpg-agent with systemd That question was for Paulo, not you

Re: what is the proper way to load gpg-agent with systemd

2015-03-17 Thread Doug Barton
users [mailto:gnupg-users-boun...@gnupg.org] On Behalf Of Doug Barton Sent: Tuesday, March 17, 2015 2:21 PM To: Paulo Lopes Cc: gnupg-users@gnupg.org Subject: Re: what is the proper way to load gpg-agent with systemd Are you using gpg-agent to handle ssh agent responsibilities, yes

Re: what is the proper way to load gpg-agent with systemd

2015-03-17 Thread Paulo Lopes
On Tue, Mar 17, 2015 at 7:19 PM, Doug Barton wrote: > On 3/17/15 7:48 AM, Paulo Lopes wrote: > >> Hello, >> >> I've been using my gpg card with success in Ubuntu for a while but as >> everyone knows the init system is switching from upstart to systemd as >> it is happening on Debian and the vast

Re: what is the proper way to load gpg-agent with systemd

2015-03-17 Thread Doug Barton
Ok, then you need to start the agent prior to or during the X startup, so that the variables are available to your environment (as you were doing previously). So, why are you trying to start the agent with systemd? What method were you using previously, and did you try it in the new OS version

RE: what is the proper way to load gpg-agent with systemd

2015-03-17 Thread Clark Rivard
Subject: Re: what is the proper way to load gpg-agent with systemd Are you using gpg-agent to handle ssh agent responsibilities, yes or no? ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users

Re: what is the proper way to load gpg-agent with systemd

2015-03-17 Thread Doug Barton
Are you using gpg-agent to handle ssh agent responsibilities, yes or no? ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users

Re: what is the proper way to load gpg-agent with systemd

2015-03-17 Thread Doug Barton
On 3/17/15 7:48 AM, Paulo Lopes wrote: Hello, I've been using my gpg card with success in Ubuntu for a while but as everyone knows the init system is switching from upstart to systemd as it is happening on Debian and the vast majority of other distributions. In the "past" one could start gpg-ag

what is the proper way to load gpg-agent with systemd

2015-03-17 Thread Paulo Lopes
Hello, I've been using my gpg card with success in Ubuntu for a while but as everyone knows the init system is switching from upstart to systemd as it is happening on Debian and the vast majority of other distributions. In the "past" one could start gpg-agent from the script that boots Xorg or ev