15
0

Accepting request 780986 from devel:languages:python

- update to 2.2.0
- add gss_test.patch to avoid segfault in kerberos
 * Added support for U2F/FIDO2 security keys
 * Added login timeout client option and limits on the length and number
    of banner lines AsyncSSH will accept prior to the SSH version header.
 * Improved load_keypairs() to read public key files, confirming that they
    are consistent with their associated private key when they are present.
 * Fixed issues in the SCP server related to handling filenames with spaces.
 * Fixed an issue with resuming reading after readuntil() returns an incomplete read.
 * Fixed a potential issue related to asyncio not reporting sockname/peername
    when a connection is closed immediately after it is opened.
 * Made SSHConnection a subclass of asyncio.Protocol to please type checkers.

OBS-URL: https://build.opensuse.org/request/show/780986
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncssh?expand=0&rev=11
This commit is contained in:
2020-03-03 09:18:34 +00:00
committed by Git OBS Bridge
5 changed files with 36 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19d0b4c65115d09b42ed21c748884157babfb3055a6e130ea349dfdcbcef3380
size 325135

3
asyncssh-2.2.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5a24d2b36b99d03380d237a6f1f4c5ac0999422027fe3c47084379f3671c18ee
size 336793

13
gss_test.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: asyncssh-2.2.0/tests/test_connection.py
===================================================================
--- asyncssh-2.2.0.orig/tests/test_connection.py
+++ asyncssh-2.2.0/tests/test_connection.py
@@ -1173,7 +1173,7 @@ class _TestConnectionAsyncAcceptor(Serve
conn.logger.info('Acceptor called')
- return (await cls.create_server(_TunnelServer, gss_host=(),
+ return (await cls.create_server(_TunnelServer, gss_host=None,
acceptor=acceptor))
@asynctest

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Mar 2 14:19:17 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 2.2.0
- add gss_test.patch to avoid segfault in kerberos
* Added support for U2F/FIDO2 security keys
* Added login timeout client option and limits on the length and number
of banner lines AsyncSSH will accept prior to the SSH version header.
* Improved load_keypairs() to read public key files, confirming that they
are consistent with their associated private key when they are present.
* Fixed issues in the SCP server related to handling filenames with spaces.
* Fixed an issue with resuming reading after readuntil() returns an incomplete read.
* Fixed a potential issue related to asyncio not reporting sockname/peername
when a connection is closed immediately after it is opened.
* Made SSHConnection a subclass of asyncio.Protocol to please type checkers.
-------------------------------------------------------------------
Thu Jan 16 12:16:52 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@@ -19,13 +19,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-asyncssh
Version: 2.1.0
Version: 2.2.0
Release: 0
Summary: Asynchronous SSHv2 client and server library
License: EPL-2.0 OR GPL-2.0-or-later
Group: Development/Languages/Python
URL: http://asyncssh.timeheart.net
Source: https://files.pythonhosted.org/packages/source/a/asyncssh/asyncssh-%{version}.tar.gz
Patch0: gss_test.patch
BuildRequires: %{python_module bcrypt >= 3.1.3}
BuildRequires: %{python_module cryptography >= 2.8}
BuildRequires: %{python_module gssapi >= 1.2.0}
@@ -41,6 +42,7 @@ Requires: python-cryptography >= 2.8
Requires: python-gssapi >= 1.2.0
Requires: python-libnacl >= 1.4.2
Requires: python-pyOpenSSL >= 17.0.0
Recommends: python-fido2 >= 0.8.1
BuildArch: noarch
%python_subpackages
@@ -52,6 +54,7 @@ server implementation of the SSHv2 protocol on top of the Python asyncio framewo
%prep
%setup -q -n asyncssh-%{version}
%patch0 -p1
%build
%python_build