Hello community,

here is the log from the commit of package python-asyncssh for openSUSE:Factory 
checked in at 2019-03-22 15:00:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-asyncssh (Old)
 and      /work/SRC/openSUSE:Factory/.python-asyncssh.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-asyncssh"

Fri Mar 22 15:00:54 2019 rev:4 rq:682202 version:1.16.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-asyncssh/python-asyncssh.changes  
2019-02-17 12:21:44.784193867 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-asyncssh.new.25356/python-asyncssh.changes   
    2019-03-22 15:00:58.473803190 +0100
@@ -1,0 +2,23 @@
+Wed Mar  6 14:55:29 UTC 2019 - Ondřej Súkup <[email protected]>
+
+- remove python-nacl from builddeps
+- add 194.patch to fix testsuite
+
+
+-------------------------------------------------------------------
+Wed Mar  6 12:36:52 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.16.0:
+  * Added support for Ed448 host/client keys and certificates and rewrote 
Ed25519 support to use the PyCA implementation, reducing the dependency on 
libnacl and libsodium to only be needed to support the chacha20-poly1305 cipher.
+  * Added support for PKCS#8 format Ed25519 and Ed448 private and public keys 
(in addition to the OpenSSH format previously supported).
+  * Added support for multiple delimiters in SSHReader’s readuntil() function, 
causing it to return data as soon as any of the specified delimiters are 
matched.
+  * Added the ability to register custom key handlers in the line editor which 
can modify the input line, extending the built-in editing functionality.
+  * Added SSHSubprocessProtocol and SSHSubprocessTransport classes to provide 
compatibility with asyncio.SubprocessProtocol and asyncio.SubprocessTransport. 
Code which is designed to call BaseEventLoop.subprocess_shell() or 
BaseEventLoop.subprocess_exec() can be easily adapted to work against a remote 
process by calling SSHClientConnection.create_subprocess().
+  * Added support for sending keepalive messages when the SSH connection is 
idle, with an option to automatically disconnect the connection if the remote 
system doesn’t respond to these keepalives.
+  * Changed AsyncSSH to ignore errors when loading unsupported key types from 
the default file locations.
+  * Changed the reuse_port option to only be available on Python releases 
which support it (3.4.4 and later).
+  * Fixed an issue where MSG_IGNORE packets could sometimes be sent between 
MSG_NEWKEYS and MSG_EXT_INFO, which caused some SSH implementations to fail to 
properly parse the MSG_EXT_INFO.
+  * Fixed a couple of errors in the handling of disconnects occurring prior to 
authentication completing.
+  * Renamed “session_encoding” and “session_errors” arguments in 
asyncssh.create_server() to “encoding” and “errors”, to match the names used 
for these arguments in other AsyncSSH APIs. The old names are still supported 
for now, but they are marked as deprecated and will be removed in a future 
release.
+
+-------------------------------------------------------------------

Old:
----
  asyncssh-1.15.1.tar.gz

New:
----
  194.patch
  asyncssh-1.16.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-asyncssh.spec ++++++
--- /var/tmp/diff_new_pack.RfbxAU/_old  2019-03-22 15:00:59.981802170 +0100
+++ /var/tmp/diff_new_pack.RfbxAU/_new  2019-03-22 15:00:59.981802170 +0100
@@ -19,30 +19,28 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-asyncssh
-Version:        1.15.1
+Version:        1.16.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
-BuildRequires:  %{python_module bcrypt}
-BuildRequires:  %{python_module cryptography >= 1.5}
-BuildRequires:  %{python_module gssapi}
-BuildRequires:  %{python_module libnacl}
-BuildRequires:  %{python_module pyOpenSSL}
+Patch0:         194.patch
+BuildRequires:  %{python_module bcrypt >= 3.1.3}
+BuildRequires:  %{python_module cryptography >= 2.6.1}
+BuildRequires:  %{python_module gssapi >= 1.2.0}
+BuildRequires:  %{python_module pyOpenSSL >= 17.0.0}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module uvloop}
 BuildRequires:  fdupes
 BuildRequires:  openssh
 BuildRequires:  openssl
 BuildRequires:  python-rpm-macros
-Requires:       python-bcrypt
-Requires:       python-cryptography >= 1.5
-Requires:       python-gssapi
-Requires:       python-libnacl
-Requires:       python-pyOpenSSL
-Recommends:     python-uvloop
+Requires:       python-bcrypt >= 3.1.3
+Requires:       python-cryptography >= 2.6.1
+Requires:       python-gssapi >= 1.2.0
+Requires:       python-libnacl >= 1.4.2
+Requires:       python-pyOpenSSL >= 17.0.0
 BuildArch:      noarch
 
 %python_subpackages
@@ -55,6 +53,7 @@
 
 %prep
 %setup -q -n asyncssh-%{version}
+%autopatch -p1
 
 %build
 %python_build
@@ -64,6 +63,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+%python_exec -m unittest discover -s tests_py35
 %python_exec setup.py test
 
 %files %{python_files}

++++++ 194.patch ++++++
>From 110a7c22926c067e65cfaa05c19aac12b637eb79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= <[email protected]>
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')
 
++++++ asyncssh-1.15.1.tar.gz -> asyncssh-1.16.0.tar.gz ++++++
++++ 6739 lines of diff (skipped)


Reply via email to