David Shaw <dshaw <at> jabberwocky.com> writes:
> You're looking for the "--trust-model always" option. Add that to your options, and the trust model > becomes "if it's on my keyring, it's fully trusted". It's up to you to make sure that only keys that are fully > trusted are on your keyring, of course. :) Awesome, thanks. This works (php): putenv('HOME=/tmp/gpg'); @mkdir('/tmp/gpg'); system("/usr/bin/gpg --batch --yes --import /sites/config/public_key.asc"); system("/usr/bin/gpg --batch --yes --no-ask-cert-level --trust-model always --output $filename.gpg --encrypt --recipient $recipient $filename > /tmp/gpg.log 2>&1"); _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users