py-asyncssh: updated to 2.3.0

Release 2.3.0
Added initial support for reading configuration from OpenSSH-compatible config files, when present. Both client and server configuration files are supported, but not all config options are supported. See the AsyncSSH documentation for the latest list of what client and server options are supported, as well as what match conditions and percent substitutions are understood.
Added support for the concept of only a subset of supported algorithms being enabled by default, and for the ability to use wildcards when specifying algorithm names. Also, OpenSSH’s syntax of prefixing the list with ‘^’, ‘+’, or ‘-‘ is supported for incrementally adjusting the list of algorithms starting from the default set.
Added support for specifying a preferred list of client authentication methods, in order of preference. Previously, the order of preference was hard-coded into AsyncSSH.
Added the ability to use AsyncSSH’s “password” argument on servers which are using keyboard-interactive authentication to prompt for a “passcode”. Previously, this was only supported when the prompt was for a “password”.
Added support for providing separate lists of private keys and certificates, rather than requiring them to be specifying together as a tuple. When this new option is used, AsyncSSH will automatically associate the private keys with their corresponding certificates if matching certificates are present in the list.
Added support for the “known_hosts” argument to accept a list of known host files, rather than just a single file. Known hosts can also be specified using the GlobalKnownHostFile and UserKnownHostFile config file options, each of which can take multiple filenames.
Added new “request_tty” option to provide finer grained control over whether AsyncSSH will request a TTY when opening new sessions. The default is to still tie this to whether a “term_type” is specified, but now that can be overridden. Supported options of “yes”, “no”, “force”, and “auto” match the values supported by OpenSSH.
Added new “rdns_lookup” option to control whether the server does a reverse DNS of client addresses to allow matching of clients based on hostname in authorized keys and config files. When this option is disabled (the default), matches can only be based on client IP.
Added new “send_env” argument when opening a session to forward local environment variables using their existing values, augmenting the “env” argument that lets you specify remote environment variables to set and their corresponding values.
Added new “tcp_keepalive” option to control whether TCP-level keepalives are enabled or not on SSH connections. Previously, TCP keepalives were enabled unconditionally and this is still the default, but the new option provides a way to disable them.
Added support for sending and parsing client EXT_INFO messages, and for sending the “global-requests-ok” option in these messages when AsyncSSH is acting as a client.
Added support for expansion of ‘~’ home directory expansion when specifying arguments which contain filenames.
Added support for time intervals and byte counts to optionally be specified as string values with units, allowing for values such as “1.5h” or “1h30m” instead of having to specify that as 5400 seconds. Similarly, a byte count of “1g” can be passed to indicate 1 gigabyte, rather than specifying 1073741824 bytes.
Enhanced logging to report lists of sent and received algorithms when no matching algorithm is found. Thanks go to Jeremy Schulman for suggesting this.
Fixed an interoperability issue with PKIXSSH when attempting to use X.509 certificates with a signature algorithm of “x509v3-rsa2048-sha256”.
Fixed an issue with some links not working in the ReadTheDocs sidebar. Thanks go to Christoph Giese for reporting this issue.
Fixed keepalive handler to avoid leaking a timer object in some cases. Thanks go to Tom van Neerijnen for reporting this issue.
This commit is contained in:
adam 2020-07-27 17:32:51 +00:00
parent d2d4942d1a
commit 87406fbcd0
3 changed files with 11 additions and 8 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.20 2020/04/23 06:10:29 adam Exp $
# $NetBSD: Makefile,v 1.21 2020/07/27 17:32:51 adam Exp $
DISTNAME= asyncssh-2.2.1
DISTNAME= asyncssh-2.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/asyncssh/}

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.8 2020/03/12 16:36:31 adam Exp $
@comment $NetBSD: PLIST,v 1.9 2020/07/27 17:32:51 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@ -34,6 +34,9 @@ ${PYSITELIB}/asyncssh/client.pyo
${PYSITELIB}/asyncssh/compression.py
${PYSITELIB}/asyncssh/compression.pyc
${PYSITELIB}/asyncssh/compression.pyo
${PYSITELIB}/asyncssh/config.py
${PYSITELIB}/asyncssh/config.pyc
${PYSITELIB}/asyncssh/config.pyo
${PYSITELIB}/asyncssh/connection.py
${PYSITELIB}/asyncssh/connection.pyc
${PYSITELIB}/asyncssh/connection.pyo

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.20 2020/04/23 06:10:29 adam Exp $
$NetBSD: distinfo,v 1.21 2020/07/27 17:32:51 adam Exp $
SHA1 (asyncssh-2.2.1.tar.gz) = 0099a67da83af93b7a4f23a98c65a8025da2a819
RMD160 (asyncssh-2.2.1.tar.gz) = dcd739da58c6d59de8ab5f0d275c3f97193cf3d3
SHA512 (asyncssh-2.2.1.tar.gz) = f4c5ce214f7a6464fc809aabb8ffa643ed08f668e32373f7f64b91adc7a18785f5ee94e229c7ed79d6fafe36b5e8ce97ee84811d9ba3f65e81276761a961e146
Size (asyncssh-2.2.1.tar.gz) = 338394 bytes
SHA1 (asyncssh-2.3.0.tar.gz) = b30ccbc5e0ba5a5f17e19b0aca33177583d65d94
RMD160 (asyncssh-2.3.0.tar.gz) = f77a693979039a5fdc3cff4a003fa0f26d5e134e
SHA512 (asyncssh-2.3.0.tar.gz) = 7b7212f98b8dab24800926008adb357d3080c8916abb1103b7f23628779b4b1115ef02dda833fb2ce6f3b798a6a632a81e4fb488a11e9763bd139d6f9930ceab
Size (asyncssh-2.3.0.tar.gz) = 353998 bytes