diff options
author | Ingo Klöcker <[email protected]> | 2022-04-22 15:34:41 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2022-04-22 15:34:41 +0000 |
commit | d8e5871dca9425811873058150677a158235613d (patch) | |
tree | 14d7d033b86f135b1078f048e718753ec42200ea /src/decrypt.c | |
parent | cpp: Allow changing the error of a result (diff) | |
download | gpgme-d8e5871dca9425811873058150677a158235613d.tar.gz gpgme-d8e5871dca9425811873058150677a158235613d.zip |
qt: Report better error if decryption failed because of bad passphrase
* lang/qt/src/qgpgmedecryptverifyjob.cpp (patch_decryption_result): New.
(decrypt_verify): Call patch_decryption_result.
--
Replace the generic "decryption failed" error with the more specific
"bad passphrase" error if the audit log indicates that a wrong symmetric
password caused the decryption to fail.
GnuPG-bug-id: 5939
Diffstat (limited to 'src/decrypt.c')
0 files changed, 0 insertions, 0 deletions