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
This commit is contained in:
parent
430ac6f1d4
commit
7cb6f648cd
@ -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):
|
class GPG_Verification(DigiSign_Verification):
|
||||||
- def __init__(self, pgp_site = 'pgp.mit.edu', key = 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9):
|
- def __init__(self, pgp_site = 'pgp.mit.edu', key = 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9):
|
||||||
- self.__pgp_site = pgp_site
|
- self.__pgp_site = pgp_site
|
||||||
+ def __init__(self, keyservers = ['pgp.mit.edu', 'sks-keyservers.net',
|
+ def __init__(self, keyservers = ['pool.sks-keyservers.net',
|
||||||
+ 'pool.sks-keyservers.net',
|
+ 'keyserver.ubuntu.com',
|
||||||
+ 'keyserver.ubuntu.com'],
|
+ 'sks-keyservers.net', 'pgp.mit.edu'],
|
||||||
+ key = 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9):
|
+ key = 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9):
|
||||||
+ self.__keyservers = keyservers
|
+ self.__keyservers = keyservers
|
||||||
self.__key = key
|
self.__key = key
|
||||||
|
@ -770,6 +770,10 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
|
|||||||
%config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio
|
%config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 13 2020 Zdenek Dohnal <zdohnal@redhat.com> - 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 <zdohnal@redhat.com> - 3.20.9-2
|
* Mon Oct 12 2020 Zdenek Dohnal <zdohnal@redhat.com> - 3.20.9-2
|
||||||
- fix the patch for adding uncompressed ppd via CLI
|
- fix the patch for adding uncompressed ppd via CLI
|
||||||
- fix the patch for GUI too
|
- fix the patch for GUI too
|
||||||
|
Loading…
Reference in New Issue
Block a user