gpgme/doc
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
..
examples spelling: fix misspellings 2018-11-08 12:34:27 +07:00
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
ChangeLog-2011 spelling: fix misspellings 2018-11-08 12:34:27 +07:00
DCO Add DCO file 2012-09-25 19:21:00 +02:00
gpgme.texi core: Detect bad passphrase error on certificate import 2021-12-22 15:25:42 +01:00
gpl.texi doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
HACKING Release 1.6.0 2015-08-26 10:06:00 +02:00
lesser.texi Release 1.6.0 2015-08-26 10:06:00 +02:00
Makefile.am Revert "doc: Remove UI Server documentation" 2019-12-11 10:30:41 +01:00
mdate-sh Update automake scripts. 2008-07-04 15:46:01 +00:00
mkdefsinc.c doc: Get rid of version.texi 2016-08-10 16:33:20 +02:00
module-overview.sk Add a module overview diagram. 2008-07-17 17:09:39 +00:00
texinfo.tex Spelling fixes for comments and doc 2017-12-08 05:59:11 +01:00
uiserver.texi Revert "doc: Remove UI Server documentation" 2019-12-11 10:30:41 +01:00