Configuring gpg-agent

Benjamin Donnachie benjamin at py-soft.co.uk
Sun May 7 12:07:33 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benjamin Donnachie wrote:
> The easiest solution will be to install either qt or GTK+ for X11, and
> then launch thunderbird from within xterm (the X11 terminal).

Got it working at last! :-)

The steps required are:

	1. Install qt for x11.  ie sudo port install qt
	2. Read a book / go for a walk while it compiles.
	3. Disable pinentry - sudo port deactivate pinentry.
	4. Download pinentry-0.7.2 source and extract.
	5. Then type export LDFLAGS="-L/opt/local/lib/ -liconv" and export
MOC=/opt/local/bin/moc
	6. Then ./configure --enable-pinentry-qt --prefix=/opt/local
- --with-qt-includes=/opt/local/include/qt3/
- --with-qt-libraries=/opt/local/lib/ --with-x --disable-rpath
- --disable-fallback-curses
	7. Then make and sudo make install
	8. Verify that ~/.gnupg/gpg-agent.conf contains pinentry-program
/opt/local/bin/pinentry-qt
	9. Verify that ~/.gnupg/gpg.conf contains use-agent
	10. Start X11; Applications / Utilities / X.
	11. In an xterm window start gpg-agent with eval $(gpg-agent --daemon)
	12. Start thunderbird with
/Applications/Thunderbird/Contents/MacOS/thunderbird-bin
	13. In OpenPGP - Preferences ensure that you remove any
- --gpg-agent-info= option and that use agent is enabled under advance.
	14. Now try to send a signed message!
	15. After a short delay the pinentry-qt input box should appear!

It would be nice to have a native MacOS pinentry program and I shall add
it to my things to get round to eventually... :-)

Take care,

Ben

PS. If all goes well, this should be signed with gpg-agent's help...
>fingers crossed<
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.20 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBRF3G5OgNmph0Y1E2AQJ1dw/9E7QFPDjolgbXf+LEe2hI5wQ07Kxg8p0T
/MksuV42gjy7KwLomdxciaS3VUvRIW+6NXhCSdILWsvUYeVmvmghlWh7bH503hdf
EglhUjQUSw6QhyuH4x6BhvCBVO8rlBSHmjeZ6Fsg4rx8yNa5IdpzHpVYCMvtK84Q
M/z/5JJcg5V4inql6AxM/xoUKQrYrvZrDEta+TiTtfEjPOAle+srDbJd5Z+DrBEc
wamLZzvc6X8i19kociMb+hYWxE1geTEkUQ0ng8HdkuwYH1r5qYpPcIEJReDRQlUp
NXb1+2zN4dTEn6wCUvtM/Xrmkfg8i7o/mVR/cHplBHGyiPnS86QXy6TxmfawHn48
VeQi7Sxmh4iWIeMJnDold/tcNf4zaXappBVRNVfQcdj+jG+fdQr5kV1WexM0rG0l
IaZVFp2D0IEuA7BxP9HhjhnEDOy/m1YpehwWoShYLPalLSVqsFV8wf1faLPKihMn
leBaSncYoPd/eBl0zZONT8IDoH3knEqXMedGLw2zSTSWQAXcwgmnSzL1jvr8W5KF
7PRTDTOoxnpb2J9CgimFFXW60tJYy3AyRa/blZCy4VIOvgvTFNMFDcTbpdD5aclo
SG7XCmWmOFViLRFQsmPMiaHwEuVp4UH2OI/59RTiPlsRHGa285cwLL8f8bpHDHuV
2J00yVhBL2U=
=smV3
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list