encrypting files in a script

Ken T Takusagawa kenta at mit.edu
Tue Apr 20 17:47:54 CEST 2004


On Fri, 16 Apr 2004, Atom 'Smasher' wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri, 16 Apr 2004, Hasnain Mujtaba wrote:
> > I am encrypting some files using a shell script. GPG asks the question:
> >
> > "It is NOT certain that the key belongs to the person named
> > in the user ID.  If you *really* know what you are doing,
> > you may answer the next question with yes"
> >
> > How can I supress this question so the script can run through the end?
> ===============================
>
> this will do the trick:
> 	--trust-model always
>
> alternatively, you could mark the key as trusted.

How do I mark the key as trusted?  I still get "the
question" even after I do

gpg --edit-key foo
trust
4 ( = "I trust fully")
quit

--ken



More information about the Gnupg-users mailing list