I'm using gnupg to check signatures in a (cron) script, and I'd like gnupg to
exit with an error when --verify displays warnings like :
- Note: This key has expired!
- WARNING: This key is not certified with a trusted signature! There is no
indication that the signature belongs to the owner.
Could it be possible to add to GnuPG an option such as --verify-strict, that
would exit with a non-null return code if the signature is correct but from an
invalid key, expired key, or whatever trust issues GnuPG could lift ?
Keep up the good work !
Best regards
Loïc Gomez