diff options
author | adam <adam@pkgsrc.org> | 2018-05-29 07:18:57 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-05-29 07:18:57 +0000 |
commit | 8f3a03fce8ba95d4ef31352d807a4c1ae7aed2df (patch) | |
tree | 3b3bb4b37730dc7a354222f7473759233e737b77 /security | |
parent | 73df4c104932c81716e59b1ab27f2d63213a1866 (diff) | |
download | pkgsrc-8f3a03fce8ba95d4ef31352d807a4c1ae7aed2df.tar.gz |
py-asyncssh: updated to 1.13.0
Release 1.13.0:
Added support for dynamic port forwarding via SOCKS, where AsyncSSH will open a listener which understands SOCKS connect requests and for each request open a TCP/IP tunnel over SSH to the requested host and port.
Added support in SSHProcess for I/O redirection to file objects that implement read(), write(), and close() functions as coroutines, such as the “aiofiles” package. In such cases, AsyncSSH will automaically detect that it needs to make async calls to these methods when it performs I/O.
Added support for using pathlib objects in SSHProcess I/O redirection.
Added multiple improvements to pattern matching support in the SFTPClient glob(), mget(), mput(), and mcopy() methods. AsyncSSH now allows you to use ‘**’ in a pattern to do a recursive directory search, allows character ranges in square brackets in a pattern, and allows a trailing slash in a pattern to be specified to request that only directories matching the pattern should be returned.
Fixed an issue with calling readline() and readuntil() with a timeout, where partial data received before the timeout was sometimes discarded. Any partial data which was received when a timeout occurs will now be left in the input buffer, so it is still available to future read() calls.
Fixed a race condition where trying to restart a read() after a timeout could sometimes raise an exception about multiple simultaneous reads.
Changed readuntil() in SSHReader to raise IncompleteReadError if the receive window fills up before a delimiter match is found. This also applies to readline(), which will return a partial line without a newline at the end when this occurs. To support longer lines, a caller can call readuntil() or readline() as many times as they’d like, appending the data returned to the previous partial data until a delimiter is found or some maximum size is exceeded. Since the default window size is 2 MBytes, though, it’s very unlikely this will be needed in most applications.
Reworked the crypto support in AsyncSSH to separate packet encryption and decryption into its own module and simplified the directory structure of the asyncssh.crypto package, eliminating a pyca subdirectory that was created back when AsyncSSH used a mix of PyCA and PyCrypto.
Diffstat (limited to 'security')
-rw-r--r-- | security/py-asyncssh/Makefile | 6 | ||||
-rw-r--r-- | security/py-asyncssh/PLIST | 53 | ||||
-rw-r--r-- | security/py-asyncssh/distinfo | 10 |
3 files changed, 33 insertions, 36 deletions
diff --git a/security/py-asyncssh/Makefile b/security/py-asyncssh/Makefile index c0bc41cba50..4d3094472a0 100644 --- a/security/py-asyncssh/Makefile +++ b/security/py-asyncssh/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2018/04/18 07:01:23 adam Exp $ +# $NetBSD: Makefile,v 1.6 2018/05/29 07:18:57 adam Exp $ -DISTNAME= asyncssh-1.12.2 +DISTNAME= asyncssh-1.13.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= security python MASTER_SITES= ${MASTER_SITE_PYPI:=a/asyncssh/} @@ -11,7 +11,7 @@ COMMENT= Asynchronous SSHv2 client and server library LICENSE= eclipse-license DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=17.0.0:../../security/py-OpenSSL -DEPENDS+= ${PYPKGPREFIX}-bcrypt>=3.0.0:../../security/py-bcrypt +DEPENDS+= ${PYPKGPREFIX}-bcrypt>=3.1.3:../../security/py-bcrypt DEPENDS+= ${PYPKGPREFIX}-cryptography>=1.5:../../security/py-cryptography DEPENDS+= ${PYPKGPREFIX}-gssapi>=1.2.0:../../security/py-gssapi diff --git a/security/py-asyncssh/PLIST b/security/py-asyncssh/PLIST index d9331a26400..cc4c26934fa 100644 --- a/security/py-asyncssh/PLIST +++ b/security/py-asyncssh/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2017/11/17 09:07:02 adam Exp $ +@comment $NetBSD: PLIST,v 1.3 2018/05/29 07:18:57 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -28,9 +28,6 @@ ${PYSITELIB}/asyncssh/auth_keys.pyo ${PYSITELIB}/asyncssh/channel.py ${PYSITELIB}/asyncssh/channel.pyc ${PYSITELIB}/asyncssh/channel.pyo -${PYSITELIB}/asyncssh/cipher.py -${PYSITELIB}/asyncssh/cipher.pyc -${PYSITELIB}/asyncssh/cipher.pyo ${PYSITELIB}/asyncssh/client.py ${PYSITELIB}/asyncssh/client.pyc ${PYSITELIB}/asyncssh/client.pyo @@ -55,36 +52,30 @@ ${PYSITELIB}/asyncssh/crypto/cipher.pyo ${PYSITELIB}/asyncssh/crypto/curve25519.py ${PYSITELIB}/asyncssh/crypto/curve25519.pyc ${PYSITELIB}/asyncssh/crypto/curve25519.pyo +${PYSITELIB}/asyncssh/crypto/dsa.py +${PYSITELIB}/asyncssh/crypto/dsa.pyc +${PYSITELIB}/asyncssh/crypto/dsa.pyo ${PYSITELIB}/asyncssh/crypto/ec.py ${PYSITELIB}/asyncssh/crypto/ec.pyc ${PYSITELIB}/asyncssh/crypto/ec.pyo -${PYSITELIB}/asyncssh/crypto/pyca/__init__.py -${PYSITELIB}/asyncssh/crypto/pyca/__init__.pyc -${PYSITELIB}/asyncssh/crypto/pyca/__init__.pyo -${PYSITELIB}/asyncssh/crypto/pyca/cipher.py -${PYSITELIB}/asyncssh/crypto/pyca/cipher.pyc -${PYSITELIB}/asyncssh/crypto/pyca/cipher.pyo -${PYSITELIB}/asyncssh/crypto/pyca/dsa.py -${PYSITELIB}/asyncssh/crypto/pyca/dsa.pyc -${PYSITELIB}/asyncssh/crypto/pyca/dsa.pyo -${PYSITELIB}/asyncssh/crypto/pyca/ec.py -${PYSITELIB}/asyncssh/crypto/pyca/ec.pyc -${PYSITELIB}/asyncssh/crypto/pyca/ec.pyo -${PYSITELIB}/asyncssh/crypto/pyca/kdf.py -${PYSITELIB}/asyncssh/crypto/pyca/kdf.pyc -${PYSITELIB}/asyncssh/crypto/pyca/kdf.pyo -${PYSITELIB}/asyncssh/crypto/pyca/misc.py -${PYSITELIB}/asyncssh/crypto/pyca/misc.pyc -${PYSITELIB}/asyncssh/crypto/pyca/misc.pyo -${PYSITELIB}/asyncssh/crypto/pyca/rsa.py -${PYSITELIB}/asyncssh/crypto/pyca/rsa.pyc -${PYSITELIB}/asyncssh/crypto/pyca/rsa.pyo -${PYSITELIB}/asyncssh/crypto/pyca/x509.py -${PYSITELIB}/asyncssh/crypto/pyca/x509.pyc -${PYSITELIB}/asyncssh/crypto/pyca/x509.pyo +${PYSITELIB}/asyncssh/crypto/ec_params.py +${PYSITELIB}/asyncssh/crypto/ec_params.pyc +${PYSITELIB}/asyncssh/crypto/ec_params.pyo +${PYSITELIB}/asyncssh/crypto/kdf.py +${PYSITELIB}/asyncssh/crypto/kdf.pyc +${PYSITELIB}/asyncssh/crypto/kdf.pyo +${PYSITELIB}/asyncssh/crypto/misc.py +${PYSITELIB}/asyncssh/crypto/misc.pyc +${PYSITELIB}/asyncssh/crypto/misc.pyo +${PYSITELIB}/asyncssh/crypto/rsa.py +${PYSITELIB}/asyncssh/crypto/rsa.pyc +${PYSITELIB}/asyncssh/crypto/rsa.pyo ${PYSITELIB}/asyncssh/crypto/umac.py ${PYSITELIB}/asyncssh/crypto/umac.pyc ${PYSITELIB}/asyncssh/crypto/umac.pyo +${PYSITELIB}/asyncssh/crypto/x509.py +${PYSITELIB}/asyncssh/crypto/x509.pyc +${PYSITELIB}/asyncssh/crypto/x509.pyo ${PYSITELIB}/asyncssh/dh.py ${PYSITELIB}/asyncssh/dh.pyc ${PYSITELIB}/asyncssh/dh.pyo @@ -103,6 +94,9 @@ ${PYSITELIB}/asyncssh/ed25519.pyo ${PYSITELIB}/asyncssh/editor.py ${PYSITELIB}/asyncssh/editor.pyc ${PYSITELIB}/asyncssh/editor.pyo +${PYSITELIB}/asyncssh/encryption.py +${PYSITELIB}/asyncssh/encryption.pyc +${PYSITELIB}/asyncssh/encryption.pyo ${PYSITELIB}/asyncssh/forward.py ${PYSITELIB}/asyncssh/forward.pyc ${PYSITELIB}/asyncssh/forward.pyo @@ -166,6 +160,9 @@ ${PYSITELIB}/asyncssh/session.pyo ${PYSITELIB}/asyncssh/sftp.py ${PYSITELIB}/asyncssh/sftp.pyc ${PYSITELIB}/asyncssh/sftp.pyo +${PYSITELIB}/asyncssh/socks.py +${PYSITELIB}/asyncssh/socks.pyc +${PYSITELIB}/asyncssh/socks.pyo ${PYSITELIB}/asyncssh/stream.py ${PYSITELIB}/asyncssh/stream.pyc ${PYSITELIB}/asyncssh/stream.pyo diff --git a/security/py-asyncssh/distinfo b/security/py-asyncssh/distinfo index c930da5aa49..7268770b173 100644 --- a/security/py-asyncssh/distinfo +++ b/security/py-asyncssh/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2018/04/18 07:01:23 adam Exp $ +$NetBSD: distinfo,v 1.6 2018/05/29 07:18:57 adam Exp $ -SHA1 (asyncssh-1.12.2.tar.gz) = 3332063cfb2dc9d40988e8429f644acd2408ef02 -RMD160 (asyncssh-1.12.2.tar.gz) = 3f71b314995eae40ae08e5494ac3fef6445167fc -SHA512 (asyncssh-1.12.2.tar.gz) = 598f9761fa66c237af6e2025d864a99b4b8cb2114b33c4a89fda3d03d1412c10e71f0d567f9ab1a0b74dcbcf63f7ec485b97d914b4930a8eb23d967989ead1cc -Size (asyncssh-1.12.2.tar.gz) = 289905 bytes +SHA1 (asyncssh-1.13.0.tar.gz) = e0a08cae6d5e6e65188359ec91cea8c8dcac24fa +RMD160 (asyncssh-1.13.0.tar.gz) = 73b20b1b0a4cafd7df2eb2f88ee5f04cc1c14a27 +SHA512 (asyncssh-1.13.0.tar.gz) = f118bfbdc1fb016dbd6e4e240103de8f6d33c030c5e50166329a4ac49e1f2248a6bce12e079abdad96884902c7484cabac4465e4897d0c416730325b28f0fa7d +Size (asyncssh-1.13.0.tar.gz) = 293350 bytes |