pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-asyncssh py-asyncssh: updated to 2.9.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/16915604ca3e
branches:  trunk
changeset: 372405:16915604ca3e
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jan 24 12:50:27 2022 +0000

description:
py-asyncssh: updated to 2.9.0

Release 2.9.0 (23 Jan 2022)
---------------------------

* Added mypy-compatible type annotations to all AsyncSSH modules, and a
  "py.typed" file to signal that annotations are now available for this
  package.

* Added experimental support for SFTP versions 4-6. While AsyncSSH still
  defaults to only advertising version 3 when acting as both a client and
  a server, applications can explicitly enable support for later versions,
  which will be used if both ends of the connection agree. Not all features
  are fully supported, but a number of useful enhancements are now
  available, including as users and groups specified by name, higher
  resolution timestamps, and more granular error reporting.

* Updated documentation to make it clear that keys from a PKCS11 provider
  or ssh-agent will be used even when client_keys is specified, unless
  those sources are explicitly disabled.

* Improved handling of task cancellation in AsyncSSH to avoid triggering
  an error of "Future exception was never retrieved". Thanks go to Krzysztof
  Kotlenga for reporting this issue and providing test code to reliably
  reproduce it.

* Changed implementation of OpenSSH keepalive handler to improve
  interoperability with servers which don't expect a "success" response
  when this message is sent.

Release 2.8.1 (8 Nov 2021)
--------------------------

* Fixed a regression in handling of the passphrase argument used to
  decrypt private keys.

Release 2.8.0 (3 Nov 2021)
--------------------------

* Added new connect_timeout option to set a timeout which includes the
  time taken to open an outbound TCP connection, allowing connections
  to be aborted without waiting for the default socket connect timeout.
  The existing login_timeout option only applies after the TCP connection
  was established, so it could not be used for this. The support for the
  ConnectTimeout config file option has also been updated to use this new
  capability, making it more consistent with OpenSSH's behavior.

* Added the ability to use the passphrase argument specified in a connect
  call to be used to decrypt keys used to connect to bastion hosts.
  Previously, this argument was only applied when making a connection
  to the main host and encrypted keys could only be used when they
  were loaded separately.

* Updated AsyncSSH's "Record" class to make it more IDE-friendly when
  it comes to things like auto-completion. This class is used as a base
  class for SSHCompletedProcess and various SFTP attribute classes.
  Thanks go to Github user zentarim for suggesting this improvement.

* Fixed a potential uncaught exception when handling forwarded connections
  which are immediately closed by a peer.

diffstat:

 security/py-asyncssh/Makefile |  6 +++---
 security/py-asyncssh/PLIST    |  3 ++-
 security/py-asyncssh/distinfo |  8 ++++----
 3 files changed, 9 insertions(+), 8 deletions(-)

diffs (52 lines):

diff -r e80453bd13fb -r 16915604ca3e security/py-asyncssh/Makefile
--- a/security/py-asyncssh/Makefile     Mon Jan 24 12:39:25 2022 +0000
+++ b/security/py-asyncssh/Makefile     Mon Jan 24 12:50:27 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2022/01/04 20:54:37 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2022/01/24 12:50:27 adam Exp $
 
-DISTNAME=      asyncssh-2.7.2
+DISTNAME=      asyncssh-2.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/asyncssh/}
 
@@ -15,6 +14,7 @@
 DEPENDS+=      ${PYPKGPREFIX}-bcrypt>=3.1.3:../../security/py-bcrypt
 DEPENDS+=      ${PYPKGPREFIX}-cryptography>=2.8:../../security/py-cryptography
 DEPENDS+=      ${PYPKGPREFIX}-gssapi>=1.2.0:../../security/py-gssapi
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.6:../../devel/py-typing-extensions
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
diff -r e80453bd13fb -r 16915604ca3e security/py-asyncssh/PLIST
--- a/security/py-asyncssh/PLIST        Mon Jan 24 12:39:25 2022 +0000
+++ b/security/py-asyncssh/PLIST        Mon Jan 24 12:50:27 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2020/09/14 07:40:08 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2022/01/24 12:50:27 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -151,6 +151,7 @@
 ${PYSITELIB}/asyncssh/public_key.py
 ${PYSITELIB}/asyncssh/public_key.pyc
 ${PYSITELIB}/asyncssh/public_key.pyo
+${PYSITELIB}/asyncssh/py.typed
 ${PYSITELIB}/asyncssh/rsa.py
 ${PYSITELIB}/asyncssh/rsa.pyc
 ${PYSITELIB}/asyncssh/rsa.pyo
diff -r e80453bd13fb -r 16915604ca3e security/py-asyncssh/distinfo
--- a/security/py-asyncssh/distinfo     Mon Jan 24 12:39:25 2022 +0000
+++ b/security/py-asyncssh/distinfo     Mon Jan 24 12:50:27 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.29 2021/10/26 11:17:41 nia Exp $
+$NetBSD: distinfo,v 1.30 2022/01/24 12:50:27 adam Exp $
 
-BLAKE2s (asyncssh-2.7.2.tar.gz) = 22436bde15d8c1bddbce0d86b9dc47acb606c76dc61c0bbeb6a9d7f6ad5d8bfc
-SHA512 (asyncssh-2.7.2.tar.gz) = a45248c8068905f7d36d866918b0563e8c9cf6bdfc99fc849818c031deb8b429212a2bb505c0a77da7729b736d49d4e01c187ca79a659385152a93b02d9493f7
-Size (asyncssh-2.7.2.tar.gz) = 423431 bytes
+BLAKE2s (asyncssh-2.9.0.tar.gz) = 0b663bb4ccec394c47929f3405502762750114fb7601056c09c1ad53ecca3751
+SHA512 (asyncssh-2.9.0.tar.gz) = 5369575da6b12c6adbdc6f0c8492098b089f773761c9a78f854bf5e99b09a3b3256a014dba60d6ff7ae23cca3a25176e34e803fa4dde74cc0fe704389a7d0c08
+Size (asyncssh-2.9.0.tar.gz) = 477142 bytes



Home | Main Index | Thread Index | Old Index