Thanks Paul, works perfect now I think. There's a lot I want to do with citrus.
If I want users to be able to make payment, what's the easiest way to do this? I've always used paypal previously but I understand this isn't so easy with citrus? Thanks David _______________________ On 24 May 2010, at 11:12, Paul Yasi <p...@coffeebuzz.com> wrote: > I think your keyring is probably owned by a different user than the > one that the web server is running as. You must change the > permissions of the keyring files to allow read/write access from the > web server account. > > I think the permissions below should work, though I haven't tested > them recently. > > chmod 777 .gnupg > > cd .gnupg > chmod 604 random_seed > chmod 644 pubring.gpg > chmod 644 secring.gpg > chmod 644 trustdb.gpg > > Paul > > On Sun, May 23, 2010 at 7:04 PM, <da...@badbison.com> wrote: >> I'm having real trouble with the keys >> >> when I execute the command it seems to write the key to /root/.gnupg >> >> my config files looks like this >> $gpg_command = "/usr/bin/gpg --homedir /root/.gnupg --armor --batch >> -e -r >> 'citrusdb'"; >> $gpg_decrypt = "/usr/bin/gpg --homedir /root/.gnupg --passphrase-fd 0 >> --yes --no-tty --skip-verify --decrypt"; >> $gpg_sign = "/usr/bin/gpg --homedir /root/.gnupg --passphrase-fd 0 >> --yes >> --no-tty --clearsign -u 'citrusdb'"; >> >> citrusdb was the real name i gave the key gen. >> >> but when I try to store a card number i get this error: >> >> Credit Card Encryption Error: error: gpg: WARNING: unsafe ownership >> on >> homedir `/root/.gnupg' gpg: failed to create temporary file >> `/root/.gnupg/.#lk0x8117040.badbuntu.badbison.co.uk.6225': Permission >> denied gpg: keyblock resource `/root/.gnupg/secring.gpg': general >> error >> gpg: failed to create temporary file >> `/root/.gnupg/.#lk0x8117040.badbuntu.badbison.co.uk.6225': Permission >> denied gpg: keyblock resource `/root/.gnupg/pubring.gpg': general >> error >> gpg: citrusdb: skipped: public key not found gpg: [stdin]: encryption >> failed: public key not found >> >> >> I bought the manual but that didn't make things much clearer. >> i'd really appreciate some help. thanks >> >> dave >> >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> >> _______________________________________________ >> Citrusdb-users mailing list >> Citrusdb-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/citrusdb-users >> > > > > -- > The CitrusDB Project | http://www.citrusdb.org > Open Source Customer Care & Billing System > > --- > --- > --- > --------------------------------------------------------------------- > > _______________________________________________ > Citrusdb-users mailing list > Citrusdb-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/citrusdb-users ------------------------------------------------------------------------------ _______________________________________________ Citrusdb-users mailing list Citrusdb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/citrusdb-users