Fri Jul 8 08:00:42 2022 UTC ()
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.


(adam)
diff -r1.30 -r1.31 pkgsrc/security/py-asyncssh/Makefile
diff -r1.11 -r1.12 pkgsrc/security/py-asyncssh/PLIST
diff -r1.31 -r1.32 pkgsrc/security/py-asyncssh/distinfo

cvs diff -r1.30 -r1.31 pkgsrc/security/py-asyncssh/Makefile (expand / switch to unified diff)

--- pkgsrc/security/py-asyncssh/Makefile 2022/05/20 12:09:48 1.30
+++ pkgsrc/security/py-asyncssh/Makefile 2022/07/08 08:00:42 1.31
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.30 2022/05/20 12:09:48 adam Exp $ 1# $NetBSD: Makefile,v 1.31 2022/07/08 08:00:42 adam Exp $
2 2
3DISTNAME= asyncssh-2.10.1 3DISTNAME= asyncssh-2.11.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= security python 5CATEGORIES= security python
6MASTER_SITES= ${MASTER_SITE_PYPI:=a/asyncssh/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=a/asyncssh/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://asyncssh.readthedocs.io/ 9HOMEPAGE= https://asyncssh.readthedocs.io/
10COMMENT= Asynchronous SSHv2 client and server library 10COMMENT= Asynchronous SSHv2 client and server library
11LICENSE= eclipse-license 11LICENSE= eclipse-license
12 12
13DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=17.0.0:../../security/py-OpenSSL 13DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=17.0.0:../../security/py-OpenSSL
14DEPENDS+= ${PYPKGPREFIX}-bcrypt>=3.1.3:../../security/py-bcrypt 14DEPENDS+= ${PYPKGPREFIX}-bcrypt>=3.1.3:../../security/py-bcrypt
15DEPENDS+= ${PYPKGPREFIX}-cryptography>=2.8:../../security/py-cryptography 15DEPENDS+= ${PYPKGPREFIX}-cryptography>=2.8:../../security/py-cryptography
16DEPENDS+= ${PYPKGPREFIX}-gssapi>=1.2.0:../../security/py-gssapi 16DEPENDS+= ${PYPKGPREFIX}-gssapi>=1.2.0:../../security/py-gssapi

cvs diff -r1.11 -r1.12 pkgsrc/security/py-asyncssh/PLIST (expand / switch to unified diff)

--- pkgsrc/security/py-asyncssh/PLIST 2022/01/24 12:50:27 1.11
+++ pkgsrc/security/py-asyncssh/PLIST 2022/07/08 08:00:42 1.12
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.11 2022/01/24 12:50:27 adam Exp $ 1@comment $NetBSD: PLIST,v 1.12 2022/07/08 08:00:42 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/requires.txt 5${PYSITELIB}/${EGG_INFODIR}/requires.txt
6${PYSITELIB}/${EGG_INFODIR}/top_level.txt 6${PYSITELIB}/${EGG_INFODIR}/top_level.txt
7${PYSITELIB}/asyncssh/__init__.py 7${PYSITELIB}/asyncssh/__init__.py
8${PYSITELIB}/asyncssh/__init__.pyc 8${PYSITELIB}/asyncssh/__init__.pyc
9${PYSITELIB}/asyncssh/__init__.pyo 9${PYSITELIB}/asyncssh/__init__.pyo
10${PYSITELIB}/asyncssh/agent.py 10${PYSITELIB}/asyncssh/agent.py
11${PYSITELIB}/asyncssh/agent.pyc 11${PYSITELIB}/asyncssh/agent.pyc
12${PYSITELIB}/asyncssh/agent.pyo 12${PYSITELIB}/asyncssh/agent.pyo
13${PYSITELIB}/asyncssh/agent_unix.py 13${PYSITELIB}/asyncssh/agent_unix.py
14${PYSITELIB}/asyncssh/agent_unix.pyc 14${PYSITELIB}/asyncssh/agent_unix.pyc
@@ -42,26 +42,29 @@ ${PYSITELIB}/asyncssh/connection.pyc @@ -42,26 +42,29 @@ ${PYSITELIB}/asyncssh/connection.pyc
42${PYSITELIB}/asyncssh/connection.pyo 42${PYSITELIB}/asyncssh/connection.pyo
43${PYSITELIB}/asyncssh/constants.py 43${PYSITELIB}/asyncssh/constants.py
44${PYSITELIB}/asyncssh/constants.pyc 44${PYSITELIB}/asyncssh/constants.pyc
45${PYSITELIB}/asyncssh/constants.pyo 45${PYSITELIB}/asyncssh/constants.pyo
46${PYSITELIB}/asyncssh/crypto/__init__.py 46${PYSITELIB}/asyncssh/crypto/__init__.py
47${PYSITELIB}/asyncssh/crypto/__init__.pyc 47${PYSITELIB}/asyncssh/crypto/__init__.pyc
48${PYSITELIB}/asyncssh/crypto/__init__.pyo 48${PYSITELIB}/asyncssh/crypto/__init__.pyo
49${PYSITELIB}/asyncssh/crypto/chacha.py 49${PYSITELIB}/asyncssh/crypto/chacha.py
50${PYSITELIB}/asyncssh/crypto/chacha.pyc 50${PYSITELIB}/asyncssh/crypto/chacha.pyc
51${PYSITELIB}/asyncssh/crypto/chacha.pyo 51${PYSITELIB}/asyncssh/crypto/chacha.pyo
52${PYSITELIB}/asyncssh/crypto/cipher.py 52${PYSITELIB}/asyncssh/crypto/cipher.py
53${PYSITELIB}/asyncssh/crypto/cipher.pyc 53${PYSITELIB}/asyncssh/crypto/cipher.pyc
54${PYSITELIB}/asyncssh/crypto/cipher.pyo 54${PYSITELIB}/asyncssh/crypto/cipher.pyo
 55${PYSITELIB}/asyncssh/crypto/dh.py
 56${PYSITELIB}/asyncssh/crypto/dh.pyc
 57${PYSITELIB}/asyncssh/crypto/dh.pyo
55${PYSITELIB}/asyncssh/crypto/dsa.py 58${PYSITELIB}/asyncssh/crypto/dsa.py
56${PYSITELIB}/asyncssh/crypto/dsa.pyc 59${PYSITELIB}/asyncssh/crypto/dsa.pyc
57${PYSITELIB}/asyncssh/crypto/dsa.pyo 60${PYSITELIB}/asyncssh/crypto/dsa.pyo
58${PYSITELIB}/asyncssh/crypto/ec.py 61${PYSITELIB}/asyncssh/crypto/ec.py
59${PYSITELIB}/asyncssh/crypto/ec.pyc 62${PYSITELIB}/asyncssh/crypto/ec.pyc
60${PYSITELIB}/asyncssh/crypto/ec.pyo 63${PYSITELIB}/asyncssh/crypto/ec.pyo
61${PYSITELIB}/asyncssh/crypto/ec_params.py 64${PYSITELIB}/asyncssh/crypto/ec_params.py
62${PYSITELIB}/asyncssh/crypto/ec_params.pyc 65${PYSITELIB}/asyncssh/crypto/ec_params.pyc
63${PYSITELIB}/asyncssh/crypto/ec_params.pyo 66${PYSITELIB}/asyncssh/crypto/ec_params.pyo
64${PYSITELIB}/asyncssh/crypto/ed.py 67${PYSITELIB}/asyncssh/crypto/ed.py
65${PYSITELIB}/asyncssh/crypto/ed.pyc 68${PYSITELIB}/asyncssh/crypto/ed.pyc
66${PYSITELIB}/asyncssh/crypto/ed.pyo 69${PYSITELIB}/asyncssh/crypto/ed.pyo
67${PYSITELIB}/asyncssh/crypto/kdf.py 70${PYSITELIB}/asyncssh/crypto/kdf.py

cvs diff -r1.31 -r1.32 pkgsrc/security/py-asyncssh/distinfo (expand / switch to unified diff)

--- pkgsrc/security/py-asyncssh/distinfo 2022/05/20 12:09:48 1.31
+++ pkgsrc/security/py-asyncssh/distinfo 2022/07/08 08:00:42 1.32
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.31 2022/05/20 12:09:48 adam Exp $ 1$NetBSD: distinfo,v 1.32 2022/07/08 08:00:42 adam Exp $
2 2
3BLAKE2s (asyncssh-2.10.1.tar.gz) = 7ae87abb54330c769c57cb834337650bc46289671a1cfe284f545efb0058df26 3BLAKE2s (asyncssh-2.11.0.tar.gz) = fe092cda85dd0289e7c0c57246e8c6b956bf6db9121ebe69f44db9bb743ad24b
4SHA512 (asyncssh-2.10.1.tar.gz) = adaf68f2e4209e9bf91c2018298a281dab490d723bda9d6f7db892aa43e796e38ff904cf39f56c8b545439ca71c89b419e53521f323cb753cf7a2290beb04e12 4SHA512 (asyncssh-2.11.0.tar.gz) = d9736d0d9e486c4a062fbf493d28f2c5b1074baa32879430750115a686600fa97c947ea34b47a1d9962cc44cc32ce6b31fdb0baa455fbde9b63660c5b8454810
5Size (asyncssh-2.10.1.tar.gz) = 483000 bytes 5Size (asyncssh-2.11.0.tar.gz) = 482916 bytes