Compare commits

1 Commits
main ... 1.1

5 changed files with 26 additions and 53 deletions

BIN
paramiko-3.4.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
paramiko-3.5.1.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,51 +1,3 @@
-------------------------------------------------------------------
Wed Feb 12 10:26:08 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.5.1
* [Bug] #2490: Private key material is now explicitly unpadded during
decryption, removing a reliance on some lax OpenSSL behavior & making
us compatible with future Cryptography releases. Patch courtesy of
Alex Gaynor.
-------------------------------------------------------------------
Wed Nov 20 15:21:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
- reenable python 313 build
-------------------------------------------------------------------
Wed Nov 20 10:00:34 UTC 2024 - Anton Smorodskyi <anton.smorodskyi@suse.com>
- Update to 3.5.0:
* [Feature] #982: (via #2444, which was a rebase of #2157)
Add support for AES-GCM encryption ciphers (128 and 256 bit variants).
Thanks to Alex Gaynor for the report (& for cryptography review),
Shen Cheng for the original PR, and Chris Mason for the updated PR;
plus as usual to everyone who tested the patches and reported their results!
This functionality has been tested in client mode against OpenSSH 9.0, 9.2,
and 9.6, as well as against a number of proprietary appliance SSH servers.
-------------------------------------------------------------------
Sun Aug 18 17:53:00 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
- Update to 3.4.1:
* Fix a 64-bit-ism in the test suite so the tests don't
encounter a false negative on 32-bit systems.
* Modify a test-harness skiptest check to work with newer
versions of Cryptography.
* Massage our import of the TripleDES cipher to support
Cryptography >=43; this should prevent
CryptographyDeprecationWarning from appearing upon import.
- Remove patches that are not needed anymore since they've
been fixed upstream:
* support-pytest-8.patch
* use-64-bit-maxsize-everywhere.patch
-------------------------------------------------------------------
Tue May 14 03:27:34 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-pytest-8.patch:
* Use non-deprecated setup method to support pytest >= 8.
-------------------------------------------------------------------
Wed Dec 20 06:57:15 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-paramiko
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-paramiko
Version: 3.5.1
Version: 3.4.0
Release: 0
Summary: SSH2 protocol library
License: LGPL-2.1-or-later
@@ -27,6 +27,8 @@ Source0: https://files.pythonhosted.org/packages/source/p/paramiko/parami
Patch0: paramiko-test_extend_timeout.patch
# PATCH-FIX-OPENSUSE remove-icecream-dep.patch to do not depend on python-icecream and unvendor lexicon
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 Sphinx}
BuildRequires: %{python_module bcrypt >= 3.2}

View 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(