To simplify extracting signed and/or encrypted archives for users of [q]gpgme it would be good if they could simply use gpgme_op_decrypt_verify or DecryptVerifyArchiveJob for all archives regardless of whether they are encrypted or only signed. Currently, this doesn't work if the archive is only signed because the finalization of the decryption result returns an error ("no data") and therefore the finalization of the verification result is skipped (in decrypt_verify_status_handler):
err = _gpgme_progress_status_handler (priv, code, args); if (!err) err = _gpgme_decrypt_status_handler (priv, code, args); if (!err) err = _gpgme_verify_status_handler (priv, code, args);
This can be tested with lang/qt/tests/run-decryptverifyarchivejob and a signed-only archive. The result will show
because the summary hasn't been calculated.