default user and recipient

Robert J. Hansen rjh at
Tue Sep 2 21:10:17 CEST 2014

> Everything works fine upon replying 'y' but obviously this will not work
> in a script.  Any idea of how to not have this check?

If you're absolutely certain you want to disable that warning (and
please think twice about it before you do, as it's there for a reason),
then you may add:

trust-model always

... to your gpg.conf file.  Please take note of what it says in the
manpage about this option, though: "You generally won't use this unless
you are using some external validation scheme."

More information about the Gnupg-users mailing list