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 the past

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

2015-03-17 Thread Doug Barton
That question was for Paulo, not you. :) And FWIW, since you're using GnuPG 1.x the answer is no. Doug On 3/17/15 12:32 PM, Clark Rivard wrote: I am running gpg command so I believe yes is the answer. (I am a novice at this so still learning.) -Original Message- From: Gnupg-users

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-program

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 dougb@dougbarton.email wrote: Ok, then you need to

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

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 dougb@dougbarton.email 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

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 Clark Rivard
I am running gpg command so I believe yes is the answer. (I am a novice at this so still learning.) -Original Message- From: Gnupg-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

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

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