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.11.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4008a7671a46
branches:  trunk
changeset: 381475:4008a7671a46
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jul 08 08:00:42 2022 +0000

description:
py-asyncssh: updated to 2.11.0

Release 2.11.0 (4 Jun 2022)
---------------------------

* Made a number of improvements in SFTP glob support, with thanks to
  Github user LuckyDams for all the help working out these changes!

  * Added a new glob_sftpname() method which returns glob matches
    together with attribute information, avoiding the need for a
    caller to make separate calls to stat() on the returned results.
  * Switched from listdir() to scandir() to reduce the number of
    stat() operations required while finding matches.
  * Added code to remove duplicates when glob() is called with
    multiple patterns that match the same path.
  * Added a cache of directory listing and stat results to improve
    performance when matching patterns with overlapping paths.
  * Fixed an "index out of range" bug in recursive glob matching
    and aligned it better with results reeturned by UNIX shells.
  * Changed matching to ignore inaccessible or non-existent paths
    in a glob pattern, to allow accessible paths to be fully
    explored before returning an error. The error handler will now
    be called only if a pattern results in no matches, or if a more
    serious error occurs while scanning.

* Changed SFTP makedirs() method to work better cases where parts of
  requested path already exist but don't allow read access. As long as
  the entire path can be created, makedirs() will succeed, even if some
  directories on the path don't allow their contents to be read. Thanks
  go to Peter Rowlands for providing this fix.

* Replaced custom Diffie Hellman implementation in AsyncSSH with the
  one in the cryptography package, resulting in an over 10x speedup.
  Thanks go to Github user iwanb for suggesting this change.

* Fixed AsyncSSH to re-acquire GSS credentials when performing key
  renegotiation to avoid expired credentials on long-lived connections.
  Thanks go to Github user PromyLOPh for pointing out this issue and
  suggesting a fix.

* Fixed GSS MIC to work properly with GSS key exchange when AsyncSSH
  is running as a server. This was previously fixed on the client side,
  but a similar fix for the server was missed.

* Changed connection timeout unit tests to work better in environments
  where a firewall is present. Thanks go to Stefano Rivera for
  reporting this issue.

* Improved unit tests of Windows SSPI GSSAPI module.

* Improved speed of unit tests by reducing the number of key generation
  calls. RSA key generation in particular has gotten much more expensive
  in OpenSSL 3.

diffstat:

 security/py-asyncssh/Makefile |  4 ++--
 security/py-asyncssh/PLIST    |  5 ++++-
 security/py-asyncssh/distinfo |  8 ++++----
 3 files changed, 10 insertions(+), 7 deletions(-)

diffs (44 lines):

diff -r c07a696e8c30 -r 4008a7671a46 security/py-asyncssh/Makefile
--- a/security/py-asyncssh/Makefile     Fri Jul 08 07:54:06 2022 +0000
+++ b/security/py-asyncssh/Makefile     Fri Jul 08 08:00:42 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2022/05/20 12:09:48 adam Exp $
+# $NetBSD: Makefile,v 1.31 2022/07/08 08:00:42 adam Exp $
 
-DISTNAME=      asyncssh-2.10.1
+DISTNAME=      asyncssh-2.11.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/asyncssh/}
diff -r c07a696e8c30 -r 4008a7671a46 security/py-asyncssh/PLIST
--- a/security/py-asyncssh/PLIST        Fri Jul 08 07:54:06 2022 +0000
+++ b/security/py-asyncssh/PLIST        Fri Jul 08 08:00:42 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2022/01/24 12:50:27 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2022/07/08 08:00:42 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -52,6 +52,9 @@
 ${PYSITELIB}/asyncssh/crypto/cipher.py
 ${PYSITELIB}/asyncssh/crypto/cipher.pyc
 ${PYSITELIB}/asyncssh/crypto/cipher.pyo
+${PYSITELIB}/asyncssh/crypto/dh.py
+${PYSITELIB}/asyncssh/crypto/dh.pyc
+${PYSITELIB}/asyncssh/crypto/dh.pyo
 ${PYSITELIB}/asyncssh/crypto/dsa.py
 ${PYSITELIB}/asyncssh/crypto/dsa.pyc
 ${PYSITELIB}/asyncssh/crypto/dsa.pyo
diff -r c07a696e8c30 -r 4008a7671a46 security/py-asyncssh/distinfo
--- a/security/py-asyncssh/distinfo     Fri Jul 08 07:54:06 2022 +0000
+++ b/security/py-asyncssh/distinfo     Fri Jul 08 08:00:42 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.31 2022/05/20 12:09:48 adam Exp $
+$NetBSD: distinfo,v 1.32 2022/07/08 08:00:42 adam Exp $
 
-BLAKE2s (asyncssh-2.10.1.tar.gz) = 7ae87abb54330c769c57cb834337650bc46289671a1cfe284f545efb0058df26
-SHA512 (asyncssh-2.10.1.tar.gz) = adaf68f2e4209e9bf91c2018298a281dab490d723bda9d6f7db892aa43e796e38ff904cf39f56c8b545439ca71c89b419e53521f323cb753cf7a2290beb04e12
-Size (asyncssh-2.10.1.tar.gz) = 483000 bytes
+BLAKE2s (asyncssh-2.11.0.tar.gz) = fe092cda85dd0289e7c0c57246e8c6b956bf6db9121ebe69f44db9bb743ad24b
+SHA512 (asyncssh-2.11.0.tar.gz) = d9736d0d9e486c4a062fbf493d28f2c5b1074baa32879430750115a686600fa97c947ea34b47a1d9962cc44cc32ce6b31fdb0baa455fbde9b63660c5b8454810
+Size (asyncssh-2.11.0.tar.gz) = 482916 bytes



Home | Main Index | Thread Index | Old Index