Gpg will ignore untrusted keys when encrypting in batch mode. The only indication is a (translated! AARGH!) message on standard output. This patch detects the English version of that message. It also fixes a problem with the argument generation that caused the recipients to be duplicated on the second, interactive, gpg run.
Log in to post a comment.