[Users] Gnupg in claws

Michael Rasmussen mir at miras.org
Sun Aug 14 21:59:45 CEST 2016

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."

Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
mir <at> datanom <dot> net
mir <at> miras <dot> org
/usr/games/fortune -es says:
Always store beer in a dark place.
		-- Lazarus Long
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20160814/85e5f8c1/attachment.sig>

More information about the Users mailing list