Automating Encrypting Message to Users with no trust level

David Shaw
Tue Jan 8 15:12:01 2002

On Sun, Jan 06, 2002 at 06:06:57PM -0800, Joshua Eichen wrote:
> Hello,

> I'm tweaking a mailing-list manager to use gpg and I need a batch
> command line that will encrypt messages with a key that has no trust
> level.  Or a batch command line to give a key a trust level?

I belive the flag you are looking for is "--always-trust".  Try
something like:

gpg --yes --batch --always-trust -r the_key --encrypt the_file


   David Shaw  |  |  WWW
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson