Werner Koch
e36b2d1bce
New mode to list a v5 fingerprint for v4 packets.
...
* src/gpgme.h.in (GPGME_KEYLIST_MODE_WITH_V5FPR): New.
(struct _gpgme_subkey): Add field v5fpr.
* src/engine-gpg.c (gpg_keylist_build_options): Pass new option to
gpg.
* src/key.c (gpgme_key_unref): Free new field.
* src/keylist.c (op_data_t): Parse and add "fp2" line.
* tests/run-keylist.c (show_usage): Add option --v5fpr.
* src/keylist.c (op_data_t): Add field failure_code.
(keylist_status_handler): Handle special value.
(gpgme_op_keylist_end): Return an error if a FAILURE line has been
seen.
--
Note that the failure code part has been added to better diagnose
problems if a wrong gpg version is used. If verything works right we
should not get this because we check that the gnupg version sis either
>= 2.4.4 or less than 2.3 and >= 2.2.42.
Note further that the v5fpr field may also be used to get the SHA-256
fingerprint of X.509 certificates (even without passing the new mode
flag).
GnuPG-bug-id: 6705
2023-09-04 17:03:52 +02:00
..
2012-04-20 16:05:11 +02:00
2022-09-15 13:45:35 +09:00
2016-11-16 13:27:00 +01:00
2022-04-05 14:42:59 +09: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
2022-11-04 10:38:41 +01:00
2023-06-15 11:01:46 +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
2023-03-08 15:54:54 +01: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
2023-06-15 11:01:46 +02:00
2023-06-15 11:01:46 +02:00
2023-02-10 11:12:52 +01:00
2023-04-17 15:05:22 +02:00
2023-02-10 09:54:03 +01:00
2022-04-25 12:14:42 +02:00
2018-11-16 16:25:49 +01:00
2023-04-17 14:05:35 +02:00
2022-11-15 10:03:23 +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
2023-08-14 12:24:00 +02:00
2020-10-29 12:57:10 +01:00
2023-09-04 17:03:52 +02:00
2021-11-25 11:48:11 +01:00
2023-08-31 12:02:02 +02:00
2020-10-29 12:57:10 +01:00
2023-01-30 12:49:11 +01:00
2023-08-14 12:24:00 +02:00
2023-08-14 12:24:00 +02:00
2018-11-16 13:27:33 +01:00
2022-01-10 12:34:49 +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
2023-01-31 09:52:04 +01:00
2022-04-27 16:57:17 +02:00
2023-04-17 14:05:35 +02:00
2022-11-04 10:38:41 +01:00
2023-01-25 11:26:34 +01:00
2023-09-04 17:03:52 +02:00
2022-11-25 15:37:23 +09:00
2022-08-22 19:09:54 +02:00
2022-09-07 11:27:32 +09:00
2018-11-16 13:27:33 +01:00
2023-09-04 17:03:52 +02:00
2023-09-04 17:03:52 +02:00
2018-11-16 16:25:49 +01:00
2023-01-25 11:26:34 +01:00
2022-06-28 11:28:12 +09: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
2022-05-04 14:23:42 +02:00
2022-10-24 13:50:41 +02: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
2022-04-05 14:25:00 +09:00
2023-04-20 13:35:50 +02: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
2023-01-30 12:49:11 +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
2022-10-26 12:10:57 +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
2023-06-15 11:01:46 +02:00
2023-07-28 14:18:21 +02:00
2023-04-04 12:11:15 +02:00
2023-02-10 11:12:52 +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
2023-02-01 17:29:24 +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