- Add patch use-64-bit-maxsize-everywhere.patch:
* Use the 64-bit value of sys.maxsize. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=119
This commit is contained in:
parent
7f0e9918e5
commit
1cce8650fb
@ -1,5 +1,5 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 19 06:37:20 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
Wed Dec 20 06:57:15 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
- Update to 3.4.0: (CVE-2023-48795, bsc#1218168)
|
- Update to 3.4.0: (CVE-2023-48795, bsc#1218168)
|
||||||
* Transport grew a new packetizer_class kwarg for overriding the
|
* Transport grew a new packetizer_class kwarg for overriding the
|
||||||
@ -28,6 +28,8 @@ Tue Dec 19 06:37:20 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
|||||||
* Tweak ext-info-(c|s) detection during KEXINIT protocol phase; the
|
* Tweak ext-info-(c|s) detection during KEXINIT protocol phase; the
|
||||||
original implementation made assumptions based on an OpenSSH
|
original implementation made assumptions based on an OpenSSH
|
||||||
implementation detail.
|
implementation detail.
|
||||||
|
- Add patch use-64-bit-maxsize-everywhere.patch:
|
||||||
|
* Use the 64-bit value of sys.maxsize.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 29 22:29:46 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
Fri Sep 29 22:29:46 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
@ -27,6 +27,8 @@ Source0: https://files.pythonhosted.org/packages/source/p/paramiko/parami
|
|||||||
Patch0: paramiko-test_extend_timeout.patch
|
Patch0: paramiko-test_extend_timeout.patch
|
||||||
# PATCH-FIX-OPENSUSE remove-icecream-dep.patch to do not depend on python-icecream and unvendor lexicon
|
# PATCH-FIX-OPENSUSE remove-icecream-dep.patch to do not depend on python-icecream and unvendor lexicon
|
||||||
Patch1: remove-icecream-dep.patch
|
Patch1: remove-icecream-dep.patch
|
||||||
|
# PATCH-FIX-OPENSUSE use 64-bit value of sys.maxsize to prevent test failure on 32-bit
|
||||||
|
Patch2: use-64-bit-maxsize-everywhere.patch
|
||||||
BuildRequires: %{python_module PyNaCl >= 1.0.1}
|
BuildRequires: %{python_module PyNaCl >= 1.0.1}
|
||||||
BuildRequires: %{python_module Sphinx}
|
BuildRequires: %{python_module Sphinx}
|
||||||
BuildRequires: %{python_module bcrypt >= 3.2}
|
BuildRequires: %{python_module bcrypt >= 3.2}
|
||||||
|
19
use-64-bit-maxsize-everywhere.patch
Normal file
19
use-64-bit-maxsize-everywhere.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Index: paramiko-3.4.0/tests/test_transport.py
|
||||||
|
===================================================================
|
||||||
|
--- paramiko-3.4.0.orig/tests/test_transport.py
|
||||||
|
+++ paramiko-3.4.0/tests/test_transport.py
|
||||||
|
@@ -1423,12 +1423,12 @@ class TestStrictKex:
|
||||||
|
setattr(
|
||||||
|
self.packetizer,
|
||||||
|
"_Packetizer__sequence_number_in",
|
||||||
|
- sys.maxsize,
|
||||||
|
+ 2**63-1,
|
||||||
|
)
|
||||||
|
setattr(
|
||||||
|
self.packetizer,
|
||||||
|
"_Packetizer__sequence_number_out",
|
||||||
|
- sys.maxsize,
|
||||||
|
+ 2**63-1,
|
||||||
|
)
|
||||||
|
|
||||||
|
with raises(
|
Loading…
x
Reference in New Issue
Block a user