diff --git a/194.patch b/194.patch deleted file mode 100644 index 0c5828a..0000000 --- a/194.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 110a7c22926c067e65cfaa05c19aac12b637eb79 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= -Date: Wed, 6 Mar 2019 15:25:28 +0100 -Subject: [PATCH] Test ed25519 and curve448 only if is available - ---- - tests/test_agent.py | 3 ++- - tests/test_kex.py | 5 +++++ - 2 files changed, 7 insertions(+), 1 deletion(-) - -diff --git a/tests/test_agent.py b/tests/test_agent.py -index 6dd30b1..08237c1 100644 ---- a/tests/test_agent.py -+++ b/tests/test_agent.py -@@ -29,6 +29,7 @@ - - import asyncssh - -+from asyncssh.crypto.ed import ed25519_available - from asyncssh.agent import SSH_AGENT_SUCCESS, SSH_AGENT_FAILURE - from asyncssh.packet import Byte, String - -@@ -175,7 +176,7 @@ def test_sign(self, agent): - - algs = ['ssh-dss', 'ssh-rsa', 'ecdsa-sha2-nistp256'] - -- if libnacl_available: # pragma: no branch -+ if ed25519_available: # pragma: no branch - algs.append('ssh-ed25519') - - for alg_name in algs: -diff --git a/tests/test_kex.py b/tests/test_kex.py -index 1512e40..86a75c6 100644 ---- a/tests/test_kex.py -+++ b/tests/test_kex.py -@@ -27,6 +27,7 @@ - - import asyncssh - -+ - from asyncssh.kex_dh import MSG_KEXDH_INIT, MSG_KEXDH_REPLY - from asyncssh.kex_dh import MSG_KEX_DH_GEX_REQUEST, MSG_KEX_DH_GEX_GROUP - from asyncssh.kex_dh import MSG_KEX_DH_GEX_INIT, MSG_KEX_DH_GEX_REPLY, _KexDHGex -@@ -39,6 +40,7 @@ - from asyncssh.kex import register_kex_alg, get_kex_algs, get_kex - from asyncssh.packet import SSHPacket, Boolean, Byte, MPInt, String - from asyncssh.public_key import SSHLocalKeyPair, decode_ssh_public_key -+from asyncssh.crypto.ed import curve448_available - - from .util import asynctest, gss_available, patch_gss - from .util import AsyncTestCase, ConnectionStub -@@ -523,6 +525,9 @@ def test_curve448dh_errors(self): - except ImportError: # pragma: no cover - return - -+ if not curve448_available: # pragma: no cover -+ return -+ - client_conn, server_conn = \ - _KexClientStub.make_pair(b'curve448-sha512') - diff --git a/asyncssh-1.16.0.tar.gz b/asyncssh-1.16.0.tar.gz deleted file mode 100644 index 541f917..0000000 --- a/asyncssh-1.16.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4f3b4da21e415f20dc72aa9189f865833588301e8531641a6a22bf6a336bb63a -size 321999 diff --git a/asyncssh-1.16.1.tar.gz b/asyncssh-1.16.1.tar.gz new file mode 100644 index 0000000..393aeb6 --- /dev/null +++ b/asyncssh-1.16.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9e4612daed054725d658726dda7dfdd9f9deb711102e874d197c326bc0a2a62 +size 323419 diff --git a/python-asyncssh.changes b/python-asyncssh.changes index 2f08737..c889afe 100644 --- a/python-asyncssh.changes +++ b/python-asyncssh.changes @@ -1,10 +1,36 @@ +------------------------------------------------------------------- +Mon Apr 1 13:23:08 UTC 2019 - Ondřej Súkup + +- update to 1.16.1 +- drop 194.patch +* Added channel, connection, and env properties to SFTPServer instances, + so connection and channel information can be used to influence the + SFTP server's behavior. Previously, connection information was made + avaiable through the constructor, but channel and environment + information was not. Now, all of these are available as properties + on the SFTPServer instance without the need to explicitly store anything + in a custom constructor. +* Optimized SFTP glob matching when the glob pattern contains directory + names without glob characters in them. Thanks go to Mikhail Terekhov + for contributing this improvement! +* Added support for PurePath in a few places that were missed when this + support was originally added. Once again, thanks go to Mikhail Terehkov + for these fixes. +* Fixed bug in SFTP parallel I/O file reader where it sometimes returned + EOF prematurely. Thanks go to David G for reporting this problem and + providing a reproducible test case. +* Fixed test failures seen on Fedora Rawhide. Thanks go to Georg Sauthof + for reporting this issue and providing a test environment to help debug + it. +* Updated Ed25519/448 and Curve25519/448 tests to only run when these + algorithms are available. + ------------------------------------------------------------------- Wed Mar 6 14:55:29 UTC 2019 - Ondřej Súkup - remove python-nacl from builddeps - add 194.patch to fix testsuite - ------------------------------------------------------------------- Wed Mar 6 12:36:52 UTC 2019 - Tomáš Chvátal diff --git a/python-asyncssh.spec b/python-asyncssh.spec index 64f0285..1e07f8e 100644 --- a/python-asyncssh.spec +++ b/python-asyncssh.spec @@ -19,14 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-asyncssh -Version: 1.16.0 +Version: 1.16.1 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: 194.patch BuildRequires: %{python_module bcrypt >= 3.1.3} BuildRequires: %{python_module cryptography >= 2.6.1} BuildRequires: %{python_module gssapi >= 1.2.0} @@ -53,7 +52,6 @@ asyncio framework. %prep %setup -q -n asyncssh-%{version} -%autopatch -p1 %build %python_build