d***@badbison.com
2010-05-23 23:04:17 UTC
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
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