Exit status and failed decryption of session key
Florian Weimer
Florian.Weimer@rus.uni-stuttgart.de
21 Apr 2000 15:36:27 +0200
If a messages is encrypted to multiple subscribers, and secret keys
are present for all subscribers, but not all secret keys can be
decrypted (i.e. because of a missing or wrong passphrase), GnuPG 1.0.1
exits with status 2 even if the messages was successfully decrypted
because a usable secret key was found in the end.
Bug or feature? It's quite annoying if you want to find out whether
decryption succeed by looking at the exit status.
--
Florian Weimer Florian.Weimer@RUS.Uni-Stuttgart.DE
University of Stuttgart http://cert.uni-stuttgart.de/
RUS-CERT +49-711-685-5973/fax +49-711-685-5898
http://ca.uni-stuttgart.de:11371/pks/lookup?op=get&search=0xC06EC3B5