Ingo Klöcker
305d8668ca
core: Detect bad passphrase error on certificate import
...
* src/import.c (gpgme_op_import_result): Check fpr for NULL.
(parse_error): New.
(import_status_handler): Handle error status line.
* doc/gpgme.texi (gpgme_import_status_t): Mention that fpr can be NULL.
* tests/gpg/t-import.c (check_result): Check fpr for NULL.
* tests/run-threaded.c (delete_impres): Check fpr for NULL.
--
When importing an encrypted certificate a wrong passphrase may be
entered. In this case gpgsm emits a status line with a bad passphrase
error and an "invalid object" error. To make it possible for callers
to handle a wrong passphrase error more gracefully, an import status
with bad passphrase error is added to the import result for each
status line with bad passphrase error.
GnuPG-bug-id: 5713
2021-12-22 15:25:42 +01:00
..
2012-04-20 16:05:11 +02:00
2018-11-08 12:34:27 +07:00
2016-11-16 13:27:00 +01:00
2019-06-05 15:54:55 +02:00
2021-11-25 11:13:17 +09:00
2021-11-25 11:13:17 +09:00
2018-12-17 16:47:27 +01:00
2018-11-08 12:34:27 +07:00
2021-06-14 19:51:28 +02:00
2018-11-08 12:34:27 +07:00
2018-10-18 00:28:51 -04:00
2021-12-14 15:44:37 +01:00
2021-06-14 19:51:28 +02:00
2019-06-05 15:54:55 +02:00
2018-11-16 18:17:22 +01:00
2019-06-05 15:54:55 +02:00
2021-06-14 17:10:49 +02:00
2019-06-05 15:54:55 +02:00
2018-11-16 18:17:22 +01:00
2018-11-16 18:17:22 +01:00
2021-08-03 12:13:27 +02:00
2021-06-14 19:51:28 +02:00
2019-06-13 08:46:16 +02:00
2021-08-03 12:13:27 +02:00
2018-11-16 16:25:49 +01:00
2018-11-16 16:25:49 +01:00
2018-11-16 16:25:49 +01:00
2021-12-10 12:04:05 +01:00
2018-11-16 16:25:49 +01:00
2018-11-16 16:25:49 +01:00
2018-11-16 16:25:49 +01:00
2020-10-29 12:57:10 +01:00
2021-12-14 15:44:37 +01:00
2020-10-29 12:57:10 +01:00
2021-12-14 15:44:37 +01:00
2021-11-25 11:48:11 +01:00
2021-12-14 15:44:37 +01:00
2020-10-29 12:57:10 +01:00
2020-10-29 12:57:10 +01:00
2021-12-14 15:44:37 +01:00
2021-12-14 15:44:37 +01:00
2018-11-16 13:27:33 +01:00
2021-02-01 16:48:30 +01:00
2020-08-14 11:11:23 +02:00
2018-11-16 13:27:33 +01:00
2018-11-16 16:25:49 +01:00
2018-11-16 13:27:33 +01:00
2018-11-12 09:03:49 +09:00
2018-11-12 09:59:05 +09:00
2020-11-09 11:50:46 +01:00
2019-12-03 18:42:07 -05:00
2018-11-16 13:27:33 +01:00
2021-12-14 15:44:37 +01:00
2020-10-29 12:57:10 +01:00
2021-05-12 08:48:26 +02:00
2020-11-20 12:07:33 +09:00
2021-11-12 11:05:53 +09:00
2021-12-22 15:25:42 +01:00
2018-11-16 13:27:33 +01:00
2021-05-05 19:23:48 +02:00
2021-06-02 10:20:26 +02:00
2018-11-16 16:25:49 +01:00
2020-10-29 12:57:10 +01:00
2021-06-09 10:47:05 +02:00
2018-11-16 13:27:33 +01:00
2016-11-16 13:27:00 +01:00
2020-11-09 11:50:46 +01:00
2018-11-16 16:25:49 +01:00
2018-07-19 17:39:09 +02:00
2018-11-16 13:27:33 +01:00
2017-12-08 05:59:11 +01:00
2020-11-03 17:47:44 -08:00
2018-11-16 16:25:49 +01:00
2021-11-25 11:13:17 +09:00
2020-01-17 12:42:56 +01:00
2018-10-31 12:35:14 +01:00
2018-11-16 13:27:33 +01:00
2018-11-16 13:27:33 +01:00
2018-11-16 16:57:09 +01:00
2020-10-29 12:57:10 +01:00
2016-11-10 13:33:13 +01:00
2018-11-16 13:27:33 +01:00
2020-08-14 11:11:23 +02:00
2018-11-16 13:27:33 +01:00
2018-11-16 16:25:49 +01:00
2018-11-16 18:17:22 +01:00
2018-11-16 16:25:49 +01:00
2020-11-03 17:47:44 -08:00
2018-11-16 13:27:33 +01:00
2019-04-09 13:42:58 +02:00
2018-11-16 16:25:49 +01:00
2018-11-16 13:27:33 +01:00
2018-11-16 16:57:09 +01:00
2018-11-16 13:27:33 +01:00
2021-06-14 19:51:28 +02:00
2020-06-05 14:46:56 +02:00
2019-06-05 15:54:55 +02:00
2021-01-08 18:14:33 +01:00
2018-11-16 16:25:49 +01:00
2018-11-16 16:25:49 +01:00
2019-06-05 15:54:55 +02:00
2019-10-28 16:02:22 +01:00
2021-11-25 11:40:59 +01:00
2018-11-16 13:27:33 +01:00
2018-11-16 13:27:33 +01:00
2018-11-16 13:27:33 +01:00
2019-06-06 18:57:28 +02:00
2012-09-25 15:29:49 +02:00