Hi Paul,
Thanks for your extensive answer yesterday. It was very helpful.
I have been encountering problems configuring my gpg key.
I have created a 1024 bit GPG key using gpg --gen-key with option [1]
DSA and Elgamal and 0 as the expiration time (no expiry). This has
stored the following files in the /.gnupg folder:
gpg.conf
pubring.gpg
pubring.gpg~
random_seed
secring.gpg
trustdb.gpg
I have added the following in /include/config.inc.php:
$gpg_command = "/usr/bin/gpg --homedir /home/myuser/.gnupg --armor
--batch -e -r 'CitrusDB'"; <=====replaced CitrusDB here with 'Real Name'
field from gpg --gen-key command
$gpg_decrypt = "/usr/bin/gpg --homedir /home/myuser/.gnupg
--passphrase-fd 0 --yes --no-tty --skip-verify --decrypt";
$gpg_sign = "/usr/bin/gpg --homedir /home/myuser/.gnupg --passphrase-fd
0 --yes --no-tty --clearsign -u 'CitrusDB'"; <=====replaced CitrusDB
here with 'Real Name' field from gpg --gen-key command
When attempting to export a credit card batch in CitrusDB I have been
getting the error:
message_decrypt failed: eof
I opened up the permissions on the files in the /.gnupg folder but now I
get the error:
010-02-19Signature Error: error: gpg: WARNING: unsafe permissions on
homedir `/home/myuser/.gnupg'
Do you have any idea where I have been going wrong?
Many thanks,
Ben Monypenny
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Citrusdb-users mailing list
Citrusdb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/citrusdb-users