From 925537a4114df87e40c9a546ad79928aef7a407f44ce72efb5c6bc8f877b9044 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 29 Apr 2022 06:46:25 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=202.10.4:=20=20=20*=20Servers?= =?UTF-8?q?=20offering=20certificate=20variants=20of=20hostkey=20algorithm?= =?UTF-8?q?s=20(eg=20=20=20=20=20ssh-rsa-cert-v01@openssh.com)=20could=20n?= =?UTF-8?q?ot=20have=20their=20host=20keys=20verified=20by=20=20=20=20=20P?= =?UTF-8?q?aramiko=20clients,=20as=20it=20only=20ever=20considered=20non-c?= =?UTF-8?q?ert=20key=20types=20for=20that=20=20=20=20=20part=20of=20connec?= =?UTF-8?q?tion=20handshaking.=20This=20has=20been=20fixed.=20=20=20*=20gq?= =?UTF-8?q?=20PKey=20instances=E2=80=99=20=5F=5Feq=5F=5F=20did=20not=20hav?= =?UTF-8?q?e=20the=20usual=20safety=20guard=20in=20place=20to=20=20=20=20?= =?UTF-8?q?=20ensure=20they=20were=20being=20compared=20to=20another=20PKe?= =?UTF-8?q?y=20object,=20causing=20occasional=20=20=20=20=20spurious=20Bad?= =?UTF-8?q?HostKeyException=20(among=20other=20things).=20This=20has=20bee?= =?UTF-8?q?n=20fixed.=20=20=20*=20Update=20camelCase=20method=20calls=20ag?= =?UTF-8?q?ainst=20the=20threading=20module=20to=20be=20snake=5Fcase;=20?= =?UTF-8?q?=20=20=20=20this=20and=20related=20tweaks=20should=20fix=20some?= =?UTF-8?q?=20deprecation=20warnings=20under=20Python=203.10.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=103 --- paramiko-2.10.3.tar.gz | 3 --- paramiko-2.10.4.tar.gz | 3 +++ python-paramiko.changes | 14 ++++++++++++++ python-paramiko.spec | 4 ++-- 4 files changed, 19 insertions(+), 5 deletions(-) delete mode 100644 paramiko-2.10.3.tar.gz create mode 100644 paramiko-2.10.4.tar.gz diff --git a/paramiko-2.10.3.tar.gz b/paramiko-2.10.3.tar.gz deleted file mode 100644 index dcbc34c..0000000 --- a/paramiko-2.10.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ddb1977853aef82804b35d72a0e597b244fa326c404c350bd00c5b01dbfee71a -size 1076913 diff --git a/paramiko-2.10.4.tar.gz b/paramiko-2.10.4.tar.gz new file mode 100644 index 0000000..d657bc7 --- /dev/null +++ b/paramiko-2.10.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d2e650b6812ce6d160abff701d6ef4434ec97934b13e95cf1ad3da70ffb5c58 +size 1068156 diff --git a/python-paramiko.changes b/python-paramiko.changes index c8599e2..379b8aa 100644 --- a/python-paramiko.changes +++ b/python-paramiko.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Apr 28 21:26:08 UTC 2022 - Dirk Müller + +- update to 2.10.4: + * Servers offering certificate variants of hostkey algorithms (eg + ssh-rsa-cert-v01@openssh.com) could not have their host keys verified by + Paramiko clients, as it only ever considered non-cert key types for that + part of connection handshaking. This has been fixed. + * gq PKey instances’ __eq__ did not have the usual safety guard in place to + ensure they were being compared to another PKey object, causing occasional + spurious BadHostKeyException (among other things). This has been fixed. + * Update camelCase method calls against the threading module to be snake_case; + this and related tweaks should fix some deprecation warnings under Python 3.10. + ------------------------------------------------------------------- Fri Apr 8 07:44:16 UTC 2022 - pgajdos@suse.com diff --git a/python-paramiko.spec b/python-paramiko.spec index 09405cb..30d424a 100644 --- a/python-paramiko.spec +++ b/python-paramiko.spec @@ -19,12 +19,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-paramiko -Version: 2.10.3 +Version: 2.10.4 Release: 0 Summary: SSH2 protocol library License: LGPL-2.1-or-later Group: Documentation/Other -URL: http://www.paramiko.org/ +URL: https://www.paramiko.org/ Source0: https://files.pythonhosted.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz Patch0: paramiko-test_extend_timeout.patch # PATCH-FIX-UPSTREAM paramiko-pr1655-remove-pytest-relaxed.patch gh#paramiko/paramiko#1655 -- pytest-relaxed is broken