From 7cb6f648cdb35a0f018b511d10b516d6d9e4d638 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Tue, 13 Oct 2020 11:34:59 +0200 Subject: [PATCH] Work around 'not responding' messages during hp-plugin Downloading gpg key for plugin can take some time and wayland can kill the connection, work it around to prefer more stable keyservers --- hplip-keyserver.patch | 6 +++--- hplip.spec | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hplip-keyserver.patch b/hplip-keyserver.patch index d706f3d..e285799 100644 --- a/hplip-keyserver.patch +++ b/hplip-keyserver.patch @@ -24,9 +24,9 @@ diff -up hplip-3.20.3/base/validation.py.keyserver hplip-3.20.3/base/validation. class GPG_Verification(DigiSign_Verification): - def __init__(self, pgp_site = 'pgp.mit.edu', key = 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9): - self.__pgp_site = pgp_site -+ def __init__(self, keyservers = ['pgp.mit.edu', 'sks-keyservers.net', -+ 'pool.sks-keyservers.net', -+ 'keyserver.ubuntu.com'], ++ def __init__(self, keyservers = ['pool.sks-keyservers.net', ++ 'keyserver.ubuntu.com', ++ 'sks-keyservers.net', 'pgp.mit.edu'], + key = 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9): + self.__keyservers = keyservers self.__key = key diff --git a/hplip.spec b/hplip.spec index 7bde535..9d02642 100644 --- a/hplip.spec +++ b/hplip.spec @@ -770,6 +770,10 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop %config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio %changelog +* Tue Oct 13 2020 Zdenek Dohnal - 3.20.9-2 +- downloading gpg key for plugin can take some time and wayland can + kill the connection, work it around to prefer more stable keyservers + * Mon Oct 12 2020 Zdenek Dohnal - 3.20.9-2 - fix the patch for adding uncompressed ppd via CLI - fix the patch for GUI too