Are there cases where gpg --verify will exit 0, even if verification failed?

Dave Pawson dave.pawson at gmail.com
Wed Jan 14 08:51:46 CET 2015


In Unix terms, a program that has run successfully to completion
exits with status zero, no 'extra' semantic attached?

Dave

On 13 January 2015 at 19:03, Patrick Schleizer
<patrick-mailinglists at whonix.org> wrote:
> In another thread...
>
> Werner Koch
>> On Mon, 12 Jan 2015 19:52, patrick-
>>> When it exits 0, then this approach is sound, sane and fine?
>> You better check the status lines; in particular watch out for
>>
>>   [GNUPG:] VALIDSIG E4B868C8F90C.....
>>
>> or use gpgv.
>
> Are there cases where gpg --verify will exit 0, even if verification failed?
>
> (Suppose one uses a separate --homedir where only legitimate signing
> keys are imported.)
>
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk



More information about the Gnupg-users mailing list