From 188d66a34b09c369d12d65fc0e1302ac7e5b5f03596a249c19bd896ad2f4cad1 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 7 Nov 2024 13:19:03 +0000 Subject: [PATCH] Accepting request 1222184 from home:glaubitz:branches:devel:languages:python - Update to 2.18.0 * Added support for post-quantum ML-KEM key exchange algorithms, interoperable with OpenSSH 9.9. * Added support for the OpenSSH "limits" extension, allowing the client to query server limits such as the maximum supported read and write sizes. The client will automatically default to the reported maximum size on servers that support this extension. * Added more ways to specify environment variables via the `env` option. Sequences of either 'key=value' strings or (key, value) tuples are now supported, in addition to a dict. * Added support for getting/setting environment variables as byte strings on platforms which support it. Previously, only Unicode strings were accepted and they were always encoded on the wire using UTF-8. * Added support for non-TCP sockets (such as a socketpair) as the `sock` parameter in connect calls. Thanks go to Christian Wendt for reporting this problem and proposing a fix. * Changed compression to be disabled by default to avoid it becoming a performance bottleneck on high-bandwidth connections. This now also matches the OpenSSH default. * Improved speed of parallelized SFTP reads when read-ahead goes beyond the end of the file. Thanks go to Maximilian Knespel for reporting this issue and providing performance measurements on the code before and after the change. * Improved cancellation handling during SCP transfers. * Improved support for selecting the currently available security key when the application lists multiple keys to try. Thanks go to GitHub user zanda8893 for reporting the issue and helping to work out the details of the problem. * Improved handling of reverse DNS failures in host-based authentication. Thanks go to GitHub user xBiggs for suggesting this change. OBS-URL: https://build.opensuse.org/request/show/1222184 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncssh?expand=0&rev=60 --- asyncssh-2.17.0.tar.gz | 3 --- asyncssh-2.18.0.tar.gz | 3 +++ python-asyncssh.changes | 53 +++++++++++++++++++++++++++++++++++++++++ python-asyncssh.spec | 2 +- 4 files changed, 57 insertions(+), 4 deletions(-) delete mode 100644 asyncssh-2.17.0.tar.gz create mode 100644 asyncssh-2.18.0.tar.gz diff --git a/asyncssh-2.17.0.tar.gz b/asyncssh-2.17.0.tar.gz deleted file mode 100644 index 80494ae..0000000 --- a/asyncssh-2.17.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3b159c105aa388c1e2245c4faf483f540ada8cad99402281119100166e5edb3c -size 515658 diff --git a/asyncssh-2.18.0.tar.gz b/asyncssh-2.18.0.tar.gz new file mode 100644 index 0000000..f38bbbf --- /dev/null +++ b/asyncssh-2.18.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a322161c01f60b9719dc8f39f80db71e61f3f5e04abbc3420ce503126d87123 +size 526304 diff --git a/python-asyncssh.changes b/python-asyncssh.changes index 005be2b..6732d3f 100644 --- a/python-asyncssh.changes +++ b/python-asyncssh.changes @@ -1,3 +1,56 @@ +------------------------------------------------------------------- +Thu Nov 7 12:11:27 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 2.18.0 + * Added support for post-quantum ML-KEM key exchange algorithms, + interoperable with OpenSSH 9.9. + * Added support for the OpenSSH "limits" extension, allowing the + client to query server limits such as the maximum supported read + and write sizes. The client will automatically default to the reported + maximum size on servers that support this extension. + * Added more ways to specify environment variables via the `env` option. + Sequences of either 'key=value' strings or (key, value) tuples are now + supported, in addition to a dict. + * Added support for getting/setting environment variables as byte strings + on platforms which support it. Previously, only Unicode strings were + accepted and they were always encoded on the wire using UTF-8. + * Added support for non-TCP sockets (such as a socketpair) as the `sock` + parameter in connect calls. Thanks go to Christian Wendt for reporting + this problem and proposing a fix. + * Changed compression to be disabled by default to avoid it becoming a + performance bottleneck on high-bandwidth connections. This now also + matches the OpenSSH default. + * Improved speed of parallelized SFTP reads when read-ahead goes beyond + the end of the file. Thanks go to Maximilian Knespel for reporting + this issue and providing performance measurements on the code before + and after the change. + * Improved cancellation handling during SCP transfers. + * Improved support for selecting the currently available security key + when the application lists multiple keys to try. Thanks go to GitHub + user zanda8893 for reporting the issue and helping to work out the + details of the problem. + * Improved handling of reverse DNS failures in host-based authentication. + Thanks go to GitHub user xBiggs for suggesting this change. + * Improved debug logging of byte strings with non-printable characters. + * Switched to using an executor on GSSAPI calls to avoid blocking the + event loop. + * Fixed handling of "UserKnownHostsFile none" in config files. This + previously caused it to use the default known hosts, rather than + disabling known host checking. + * Fixed a runtime warning about not awaiting a coroutine in unit tests. + * Fixed a unit test failure on Windows when calling abort on a transport. + * Fixed a problem where a "MAC verification failed" error was sometimes + sent on connection close. + * Fixed SSHClientProcess code to not raise a runtime exception when + waiting more than once for a process to finish. Thanks go to GitHub + user starflows for reporting this issue. + * Handled an error when attempting to import older verions of pyOpenSSL. + Thanks go to Maximilian Knespel for reporting this issue and testing + the fix. + * Updated simple_server example code to switch from crypt to bcrypt, + since crypt has been removed in Python 3.13. Thanks go to Colin + Watson for providing this update. + ------------------------------------------------------------------- Thu Sep 26 20:05:34 UTC 2024 - Antonio Larrosa diff --git a/python-asyncssh.spec b/python-asyncssh.spec index d27e76d..7ba440a 100644 --- a/python-asyncssh.spec +++ b/python-asyncssh.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-asyncssh -Version: 2.17.0 +Version: 2.18.0 Release: 0 Summary: Asynchronous SSHv2 client and server library License: EPL-2.0 OR GPL-2.0-or-later