Home GnuPG
Diffusion GPGME 82f43455e941

qt: Detect an import error caused by a wrong password

Description

qt: Detect an import error caused by a wrong password

* lang/qt/src/qgpgmeimportjob.cpp (import_qba): Check import statuses of
import result for bad passphrase errors.

To allow users of the import job to handle a failed import caused by
a wrong password more gracefully, check if all import statuses of the
import result have a bad passphrase error and return a bad passphrase
error as import result in this case.

Details