<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><font size="-1">This works fine for me:</font></p>
<pre wrap=""> # export GNUPGHOME=<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>home/soandso<span class="moz-txt-tag">/</span></i>.gnupg
# gpg-agent --allow-loopback-pinentry --daemon
# gpg --clearsign --pinentry-mode=loopback
Hope it helps.
Cogwheel
</pre>
</body>
</html>