1641100 - Retrieval of signing keys for plugin verification should use a server pool
This commit is contained in:
parent
dd532c01aa
commit
2c21ecd513
12
hplip-keyserver.patch
Normal file
12
hplip-keyserver.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up hplip-3.18.6/base/validation.py.keyserver hplip-3.18.6/base/validation.py
|
||||
--- hplip-3.18.6/base/validation.py.keyserver 2018-11-13 17:35:38.085322569 +0100
|
||||
+++ hplip-3.18.6/base/validation.py 2018-11-13 17:36:18.026991983 +0100
|
||||
@@ -42,7 +42,7 @@ class DigiSign_Verification(object):
|
||||
|
||||
|
||||
class GPG_Verification(DigiSign_Verification):
|
||||
- def __init__(self, pgp_site = 'pgp.mit.edu', key = 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9):
|
||||
+ def __init__(self, pgp_site = 'pool.sks-keyservers.net', key = 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9):
|
||||
self.__pgp_site = pgp_site
|
||||
self.__key = key
|
||||
self.__gpg = utils.which('gpg',True)
|
||||
11
hplip.spec
11
hplip.spec
@ -7,7 +7,7 @@
|
||||
Summary: HP Linux Imaging and Printing Project
|
||||
Name: hplip
|
||||
Version: 3.18.6
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
License: GPLv2+ and MIT and BSD and IJG and Public Domain and GPLv2+ with exceptions and ISC
|
||||
|
||||
Url: https://developers.hp.com/hp-linux-imaging-and-printing
|
||||
@ -58,6 +58,9 @@ Patch36: hplip-qmsgbox-typos.patch
|
||||
# it cannot silently end the loop (as it was sometimes used) - use 'return'
|
||||
# instead of raising StopIteration exception
|
||||
Patch37: hplip-stopiteration.patch
|
||||
# pgp.mit.edu keyserver got bad connection, so we need to have pool of keyservers
|
||||
# to choose (Bz#1641100, launchpad#1799212)
|
||||
Patch38: hplip-keyserver.patch
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: python3-pillow
|
||||
@ -286,6 +289,9 @@ rm prnt/hpcups/ErnieFilter.{cpp,h} prnt/hpijs/ernieplatform.h
|
||||
# 1645815 - hp-check --runtime crashes involving FileNotFoundError
|
||||
%patch37 -p1 -b .stopiteration
|
||||
|
||||
# have pool of keyservers to choose
|
||||
%patch38 -p1 -b .keyserver
|
||||
|
||||
sed -i.duplex-constraints \
|
||||
-e 's,\(UIConstraints.* \*Duplex\),//\1,' \
|
||||
prnt/drv/hpcups.drv.in
|
||||
@ -571,6 +577,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
|
||||
%config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio
|
||||
|
||||
%changelog
|
||||
* Tue Nov 13 2018 Zdenek Dohnal <zdohnal@redhat.com> - 3.18.6-11
|
||||
- 1641100 - Retrieval of signing keys for plugin verification should use a server pool
|
||||
|
||||
* Mon Nov 12 2018 Zdenek Dohnal <zdohnal@redhat.com> - 3.18.6-10
|
||||
- 1645815 - hp-check --runtime crashes involving FileNotFoundError
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user