tech-pkg archive

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

Re: thunderbird-enigmail



From: Kamil Rytarowski <n54%gmx.com@localhost>, Date: Fri, 10 Jul 2015 02:43:23 +0200

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

On my installation, pinentry-qt4 works fine with security/gnupg21.
my pgp-agent.conf is here.

$ cat ~/.gnupg/gpg-agent.conf
pinentry-program /usr/pkg/bin/pinentry-qt4
no-grab
default-cache-ttl 1800

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index