Blame SOURCES/gpgme-build-with-gnupg-2.2.19.patch
|
|
8b26e8 |
diff -up gpgme-1.13.1/src/engine-gpg.c.build gpgme-1.13.1/src/engine-gpg.c
|
|
|
8b26e8 |
--- gpgme-1.13.1/src/engine-gpg.c.build 2019-06-13 08:45:22.000000000 +0200
|
|
|
8b26e8 |
+++ gpgme-1.13.1/src/engine-gpg.c 2020-04-30 14:30:35.550253558 +0200
|
|
|
8b26e8 |
@@ -2920,6 +2920,12 @@ gpg_keylist_build_options (engine_gpg_t
|
|
|
8b26e8 |
|
|
|
8b26e8 |
err = add_arg (gpg, "--with-colons");
|
|
|
8b26e8 |
|
|
|
8b26e8 |
+ if (have_gpg_version (gpg, "2.2.19"))
|
|
|
8b26e8 |
+ {
|
|
|
8b26e8 |
+ if (!err)
|
|
|
8b26e8 |
+ err = add_arg (gpg, "--with-keygrip");
|
|
|
8b26e8 |
+ }
|
|
|
8b26e8 |
+
|
|
|
8b26e8 |
/* Since gpg 2.1.15 fingerprints are always printed, thus there is
|
|
|
8b26e8 |
* no more need to explicitly request them. */
|
|
|
8b26e8 |
if (!have_gpg_version (gpg, "2.1.15"))
|
|
|
8b26e8 |
diff -up gpgme-1.13.1/tests/json/t-keylist-secret.out.json.build gpgme-1.13.1/tests/json/t-keylist-secret.out.json
|
|
|
8b26e8 |
--- gpgme-1.13.1/tests/json/t-keylist-secret.out.json.build 2018-12-03 10:37:25.000000000 +0100
|
|
|
8b26e8 |
+++ gpgme-1.13.1/tests/json/t-keylist-secret.out.json 2020-04-30 14:24:40.904707411 +0200
|
|
|
8b26e8 |
@@ -91,7 +91,6 @@
|
|
|
8b26e8 |
"can_sign": true,
|
|
|
8b26e8 |
"can_certify": true,
|
|
|
8b26e8 |
"can_authenticate": true,
|
|
|
8b26e8 |
- "secret": true,
|
|
|
8b26e8 |
"is_qualified": false,
|
|
|
8b26e8 |
"protocol": "OpenPGP",
|
|
|
8b26e8 |
"fingerprint": "D695676BDCEDCC2CDD6152BCFE180B1DA9E3B0B2",
|