From 15352e8d903f4c0bb365a5446428554aaa724e2eedf91f2ae18772716d4fd6c1 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 15 Jul 2020 09:13:43 +0000 Subject: [PATCH] Accepting request 820863 from Base:System OBS-URL: https://build.opensuse.org/request/show/820863 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpg2?expand=0&rev=149 --- gnupg-2.2.20.tar.bz2 | 3 --- gnupg-2.2.20.tar.bz2.sig | Bin 954 -> 0 bytes gnupg-2.2.21.tar.bz2 | 3 +++ gnupg-2.2.21.tar.bz2.sig | Bin 0 -> 310 bytes gnupg-gpgme-t-encrypt-sym.patch | 21 ++++++++++++++++++++ gpg2.changes | 34 ++++++++++++++++++++++++++++++++ gpg2.spec | 5 ++++- 7 files changed, 62 insertions(+), 4 deletions(-) delete mode 100644 gnupg-2.2.20.tar.bz2 delete mode 100644 gnupg-2.2.20.tar.bz2.sig create mode 100644 gnupg-2.2.21.tar.bz2 create mode 100644 gnupg-2.2.21.tar.bz2.sig create mode 100644 gnupg-gpgme-t-encrypt-sym.patch diff --git a/gnupg-2.2.20.tar.bz2 b/gnupg-2.2.20.tar.bz2 deleted file mode 100644 index a1c9c43..0000000 --- a/gnupg-2.2.20.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:04a7c9d48b74c399168ee8270e548588ddbe52218c337703d7f06373d326ca30 -size 6786913 diff --git a/gnupg-2.2.20.tar.bz2.sig b/gnupg-2.2.20.tar.bz2.sig deleted file mode 100644 index 2f2868c0e1679846bc8e6b06ebb810c3acdd901abc3fae7a340382097c228ae5..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 954 zcmV;r14aCa1GfYK0SE%279j-KX(1!T23_i24?49Zn>o@?CF8aQ0$z0OcfrCY0GR;| z1WhfAfdL2rsv6RzU)ad~>EVIp;JOl$WiYTxH`s9 zzBXK0+#A#AFc--ULuIss;3!%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WdI5Z5G0#9 z(oZGhwqD)`{TFAp_HnoMS;fbf*fWyPGD>lM^*K_}rV&w3tdDTVu}k`UDA2Q^7HHRE zT0g+|j@*AxfEASbB7wh3q}cz=i+Hm*aIpvg{UM@O^j}j#Q|+M!&nP&x#AC&7sKLur z9D;1#0;b*M2Kf4e7?CmG+m5^@nbUz}iZ}F}@H{}gB~)Y0{fF^$si+)m30i@_T@}dL zB2m!v24JtF&kqdtecp+|)|y(=Bs2j;9)cA+OII_}C_Ua#&s$6hBw`1YRg*Sq=r|t+ zAF{lYgZ~failed_tries = 0; + continue; + } +- if (*pi->pin && !pi->repeat_okay) ++ if (*pi->pin && !pi->repeat_okay ++ && ctrl->pinentry_mode != PINENTRY_MODE_LOOPBACK) + { + /* The passphrase is empty and the pinentry did not + * already run the repetition check, do it here. This +- * is only called when using an old and simple pinentry. */ ++ * is only called when using an old and simple pinentry. ++ * It is neither called in loopback mode because the ++ * caller does any passphrase repetition by herself. */ + xfree (response); + response = NULL; + rc = agent_get_passphrase (ctrl, &response, diff --git a/gpg2.changes b/gpg2.changes index adae416..41306de 100644 --- a/gpg2.changes +++ b/gpg2.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Tue Jul 14 10:22:22 UTC 2020 - Pedro Monreal Gonzalez + +- Fix regression in latest gpg2 that makes gpgme fail to build [bsc#1174007] +- Add gnupg-gpgme-t-encrypt-sym.patch + +------------------------------------------------------------------- +Thu Jul 9 11:36:57 UTC 2020 - Andreas Stieger + +- GnuPG 2.2.21: + * gpg: Improve symmetric decryption speed by about 25% + * gpg: Support decryption of AEAD encrypted data packets + * gpg: Add option --no-include-key-block + * gpg: Allow for extra padding in ECDH + * gpg: Only a single pinentry is shown for symmetric encryption if + the pinentry supports this + * gpg: Print a note if no keys are given to --delete-key + * gpg,gpgsm: The ridiculous passphrase quality bar is not anymore + shown + * gpgsm: Certificates without a CRL distribution point are now + considered valid without looking up a CRL. The new option + --enable-issuer-based-crl-check can be used to revert to the + former behaviour + * gpgsm: Support rsaPSS signature verification + * gpgsm: Unless CRL checking is disabled lookup a missing issuer + certificate using the certificate's authorityInfoAccess + * gpgsm: Print the certificate's serial number also in decimal + notation + * gpgsm: Fix possible NULL-deref in messages of --gen-key + * scd: Support the CardOS 5 based D-Trust Card 3.1 + * dirmngr: Allow http URLs with "LOOKUP --url" + * wkd: Take name of sendmail from configure. Fixes an OpenBSD + specific bug + ------------------------------------------------------------------- Thu Apr 30 13:59:33 UTC 2020 - Pedro Monreal Gonzalez diff --git a/gpg2.spec b/gpg2.spec index bfdd1fe..ff9d6ff 100644 --- a/gpg2.spec +++ b/gpg2.spec @@ -17,7 +17,7 @@ Name: gpg2 -Version: 2.2.20 +Version: 2.2.21 Release: 0 Summary: File encryption, decryption, signature creation and verification utility License: GPL-3.0-or-later @@ -40,6 +40,8 @@ Patch13: gnupg-accept_subkeys_with_a_good_revocation_but_no_self-sig_duri Patch14: gnupg-add-test-cases-for-import-without-uid.patch Patch15: gnupg-allow-import-of-previously-known-keys-even-without-UIDs.patch Patch1124847: gnupg-gpg-agent-ulimit.patch +# PATCH-FIX-UPSTREAM bsc#1174007 gpgme: Fails to build with latest gpg-2.2.21 +Patch16: gnupg-gpgme-t-encrypt-sym.patch BuildRequires: expect BuildRequires: fdupes BuildRequires: libassuan-devel >= 2.5.0 @@ -105,6 +107,7 @@ gpgsm, or via the gpg-connect-agent tool. %patch13 -p1 %patch14 -p1 %patch15 -p1 +%patch16 -p1 touch -d 2018-05-04 doc/gpg.texi # to compensate for patch11 in order to not have man pages and info files have the build date (boo#1047218) %build