[Users] Gnupg in claws
iron_order_sucks_ass at openmailbox.org
Mon Aug 15 02:25:49 CEST 2016
On Sun, 14 Aug 2016 21:59:45 +0200
Michael Rasmussen <mir at miras.org> wrote:
> Hi all,
> If you or your distro recently has switched to systemd controlled
> gpg-agent it is important that you have this setting in ~/.bashrc
> export GPG_TTY
> Failing this may break you ability to digitally sign emails because
> gpg-agent will not find valid tty in witch case you will not see a
> prompt for password to unlock your keyring.
> "The far most common reason for this is that the environment variable
> GPG_TTY has not been set correctly. Make sure that it has been set to a real
> tty devce and not just to ‘/dev/tty’; i.e. ‘GPG_TTY=tty’ is plainly wrong;
> what you want is ‘GPG_TTY=`tty`’ — note the back ticks. Also make sure that
> this environment variable gets exported, that is you should follow up the
> setting with an ‘export GPG_TTY’ (assuming a Bourne style shell). Even for GUI
> based Pinentries; you should have set GPG_TTY. See the section on installing
> the gpg-agent on how to do it."
Or better yet, dont use any distro that has that abortion known as 'systemd' in
it. Far simpler.
More information about the Users