--batch switch not always preventing questions
Knut Forkalsrud
knut@cj.com
Thu Jan 9 21:13:02 2003
I'm using gpg 1.2.1 in an automated setup and use the --batch switch
to prevent any questions. However, it has happened that a funky input
file has caused gpg to hang around waiting for user input. Below is
an example file that illustrates the issue. I call the file nope2.msg
and try the following command:
gpg --decrypt --batch --yes nope2.msg
and the process hangs until I press C-c or C-d. If I omit --batch and
--yes I get the question:
Detached signature.
Please enter name of data file:
but I don't want to answer such a question, I just want to get an
error message. I realize that if I replace --decrypt with --verify
the program doesn't hang, and I do get an error message, but shouldn't
the same be true with --decrypt?
Thanks in advance,
Knut Forkalsrud
Software Developer
Commission Junction
-----BEGIN nope SIGNED MESSAGE-----
Hash: nope
xxxxxxxxxxx
xxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxx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