tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: thunderbird-enigmail



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 09.07.2015 17:05, Ryo ONODERA wrote:
> Hi,

Hello!

> My gpg-agent from security/gnupg21 does not set GPG_AGENT_INFO
> anymore. security/gnupg (1.4.x) requires GPG_AGENT_INFO
> environmantal variable.
> 
> I have set it as follows (change PID for your environment).
> 
> $ eval "$(gpg-agent --daemon)" $ ps x|grep gpg-agent $ set
> GPG_AGENT_INFO=/home/ryo_on/.gnupg/S.gpg-agent:5264:1 $ export
> GPG_AGENT_INFO # thunderbird&
> 
> enigmail works fine with GnuPG 1.4.19.
> 
> Of course, GnuPG 2 or later is recommended.
> 
> Thank you.
> 

This is part of my $HOME/.shrc (ksh(1)):
case "$-" in *i*)
	# interactive mode settings go here
	envfile="$HOME/.gnupg/gpg-agent.env"
	if [ -e "$envfile" ] && kill -0 $(grep GPG_AGENT_INFO "$envfile" |
cut -d: -f 2) 2>/dev/null; then
		eval "$(cat "$envfile")"
	else
		eval "$(gpg-agent --daemon --enable-ssh-support --write-env-file
"$envfile")"
	fi

	export GPG_AGENT_INFO  # the env file does not contain the export
statement
	export SSH_AUTH_SOCK   # enable gpg-agent for ssh
	;;
esac

So gnupg 1.x works, how about pinentry?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVnxUnAAoJEEuzCOmwLnZs1wcP/3pk9b2cRezo/pFKolvy4Y30
ScApLpFZWNS+4ei93JePuwge/UwgH8+uQObQTnSwqbPebTflGy8juU+xU+V8W3t9
zz5NfAEuuv2gi9hMKVLuejs1esFUjosVT/decFm93R/b/CT0lqJV2uiSqbsaRjQk
Xl6haKxXk//fuGoDXfwqDB4/8orxqXYchOCt2vHGqRyNZQVS4u5WvkEfWUtskNqm
jZRkOcCoL/j4ehmM6kh5RGF/qzW0c1DSvZPocRJjNIpFD138Vfek1vpVpg/gNTd9
Dl3UD+xbtkaE8YzDa7Z61ROuNx2bLyMRQzKgYDxhwT1+nY5/svQ+JWnyWOx4IwFz
QCCLV/EzGEeNw0XwCS/y7typKw2zGNcLSKW6jhQMxXECQ16ZNoCg6+y2kzhl8Khz
YGU3zl3PkyjcdX+i63NEOieOeWTfA1NlmjpOlmxjkeroBW6wO3xJ1GQqsr+ghnl7
APUOqK5B8MFCjC54DOIRZDXVGts4mLRswPkdZKwFsacS8cYglaY5qJ0GgXxbMUIq
V3O9Er7oGdFoR3LUdu67S73W5iK4VDcQAzZD/yhtuEtYeNL1w3rIngVRbnjTvZMZ
YdRKPO2rTkF0z1u3FPor9JSTdx/V/AXhl6cezsA/MOz9NoOarmHy4DgqPuGXCGya
lJuQsENSr+3wodbUlGIS
=OTb8
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index