Configuring gpg-agent

Benjamin Donnachie benjamin at py-soft.co.uk
Sat May 6 22:02:12 CEST 2006


Benjamin Donnachie wrote:
> I've since had a quick look at pinentry and it /may/ play nicely with
> Mac OS with qt3-mac, the Qt Tool Kit (Native Aqua Version) port.

Well...  it's sort of working...

After installing qt3-mac from ports I disabled the ports copy of
pinentry.  I then downloaded the pinentry source and compiled it with
the following options, ./configure --enable-pinentry-qt
--prefix=/opt/local --with-qt-includes=/opt/local/include/qt3/
--with-qt-libraries=/opt/local/lib/

Open a terminal and type eval $(gpg-agent --daemon) followed by echo
$GPG_AGENT_INFO.  Note the output of the latter.

Then start Applications / Utilities / X.  In the xterm window start
Thunderbird by typing
/Applications/Thunderbird.app/Contents/MacOS/thunderbird-bin

Then under OpenPGP -> Preferences -> Additional parameters for gnupg
type --gpg-agent-info= followed by the output you noted from echo
$GPG_AGENT_INFO above.

Now try to send a signed message.  Thunderbird will hang.  However, if
you kill it by entering ctrl+c in the xterm window you will then notice
a window asking you to enter your passphrase!

So, partial success, I suppose...

Ben




More information about the Gnupg-users mailing list