in reply to GnuPG::Tie::Encrypt failing
in thread Favorite PGP module for web-to-email forms?

This was fixed for me by adding this to the hash used to tie the variable:
homedir => "$HOME_DIR/.gnupg"
However, with version 0.07 there is a problem that the author has confirmed that causes a connection to a Postgres database through DBI to be disconnected when this encryption happens. Very Weird. -mark