diff --git a/asyncssh-2.1.0.tar.gz b/asyncssh-2.1.0.tar.gz deleted file mode 100644 index 724a74c..0000000 --- a/asyncssh-2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:19d0b4c65115d09b42ed21c748884157babfb3055a6e130ea349dfdcbcef3380 -size 325135 diff --git a/asyncssh-2.2.0.tar.gz b/asyncssh-2.2.0.tar.gz new file mode 100644 index 0000000..ef4567c --- /dev/null +++ b/asyncssh-2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a24d2b36b99d03380d237a6f1f4c5ac0999422027fe3c47084379f3671c18ee +size 336793 diff --git a/gss_test.patch b/gss_test.patch new file mode 100644 index 0000000..85a6d3c --- /dev/null +++ b/gss_test.patch @@ -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 diff --git a/python-asyncssh.changes b/python-asyncssh.changes index c67a0b9..4e733e8 100644 --- a/python-asyncssh.changes +++ b/python-asyncssh.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Mar 2 14:19:17 UTC 2020 - Ondřej Súkup + +- 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 diff --git a/python-asyncssh.spec b/python-asyncssh.spec index e4401ee..bf250de 100644 --- a/python-asyncssh.spec +++ b/python-asyncssh.spec @@ -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