[ic] addition to GPG how-to for hosted servers -

Martin Sengstschmid interchange-users@icdevgroup.org
Thu Apr 3 14:40:01 2003


I had troubles using the encryption with interchange.

The site

http://www.icdevgroup.org/archive/interchange-users/2001/msg12160.html

was a great help. Thanks!

ENCRYPTOR    <blank>
PGP    /usr/bin/gpg --no-default-keyring --always-trust --keyring
/home/dyna-q/.gnupg/pubring.gpg -e -a --batch -t -r '%s'
PGP_CC_KEY    orders-cc@example.com
PGP_KEY            orders@example.com

EncryptProgram __PGP__
EncyptKey __PGP_KEY__

credit_card    1
encrypt        0
encrypt_program    "__PGP__"
email        '__ORDERS_TO__'
pgp_cc_key    "__PGP_CC_KEY__"
pgp_key    "__PGP_KEY__"

But in the error.log file I got the message:
......./process.html PGP failed with status 2: 
in the error-file ...../tmp/.....err
gpg: fatal: /root/.gnupg: can't create directory: Permission denied
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/16384

the solution for me (freebsd): I added "--homedir
/usr/local/interchange"

PGP    /usr/local/bin/gpg --no-default-keyring --always-trust --homedir
/usr/local/interchange --keyring
/usr/local/interchange/.gnupg/pubring.gpg -e -a --batch -t -r ''

Now it works.

Martin