some questions on using gpg in scripting
Bernd Eckenfels
lists at lina.inka.de
Sat Nov 21 17:14:22 CET 2009
On Sat, Nov 21, 2009 at 03:47:34PM +0100, Philippe Cerfon wrote:
> So far so good. I would however like to let is use
> ~/.gnupg/pub|secring.gpg but only if they exist (it should not create
> them) and it should never use gnupg.conf.
> Is this possible?
Well, if you start if from a script, why dont you set the options depending
on the existence of the files?
> btw: The manpage says, with --no-tty, gnugp would never ever write to
> the terminal. It does hoewever (e.g. error messages that no keyrings
> exists, or no MDC was found.)
Are you sure it is tty and not stderr?
Gruss
Bernd
More information about the Gnupg-devel
mailing list