pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-paramiko py-paramiko: updated to 2.7.1

branches:  trunk
changeset: 345376:e08d1fcc30c5
user:      adam <>
date:      Wed Dec 11 10:43:53 2019 +0000

py-paramiko: updated to 2.7.1

[Bug] Fix a bug in support for ECDSA keys under the newly supported OpenSSH key format. Thanks to Pierce Lopez for the patch.
[Bug] The new-style private key format (added in 2.7) suffered from an unpadding bug which had been fixed earlier for Ed25519 (as that key type has always used the newer format). That fix has been 
refactored and applied to the base key class, courtesy of Pierce Lopez.

[Feature]: Add new convenience classmethod constructors to SSHConfig: from_text, from_file, and from_path. No more annoying two-step process!
[Feature] Implement most ?canonical hostname? ssh_config functionality (CanonicalizeHostname, CanonicalDomains, CanonicalizeFallbackLocal, and CanonicalizeMaxDots; CanonicalizePermittedCNAMEs has not 
yet been implemented). All were previously silently ignored. Reported by Michael Leinartas.
[Feature] Implement support for the Match keyword in ssh_config files. Previously, this keyword was simply ignored & keywords inside such blocks were treated as if they were part of the previous 
block. Thanks to Michael Leinartas for the initial patchset.

This feature adds a new optional install dependency, Invoke, for managing Match exec subprocesses.

[Feature]: A couple of outright SSHConfig parse errors were previously represented as vanilla Exception instances; as part of recent feature work a more specific exception class, ConfigParseError, 
has been created. It is now also used in those older spots, which is naturally backwards compatible.
[Feature] Implement support for OpenSSH 6.5-style private key files (typically denoted as having BEGIN OPENSSH PRIVATE KEY headers instead of PEM format?s BEGIN RSA PRIVATE KEY or similar). If you 
were getting any sort of weird auth error from ?modern? keys generated on newer operating system releases (such as macOS Mojave), this is the first update to try.

Major thanks to everyone who contributed or tested versions of the patch, including but not limited to: Kevin Abel, Michiel Tiller, Pierce Lopez, and Jared Hobbs.

[Bug]: Perform deduplication of IdentityFile contents during ssh_config parsing; previously, if your config would result in the same value being encountered more than once, IdentityFile would contain 
that many copies of the same string.
[Bug]: Paramiko?s use of subprocess for ProxyCommand support is conditionally imported to prevent issues on limited interpreter platforms like Google Compute Engine. However, any resulting 
ImportError was lost instead of preserved for raising (in the rare cases where a user tried leveraging ProxyCommand in such an environment). This has been fixed.
[Bug]: ssh_config token expansion used a different method of determining the local username ($USER env var), compared to what the (much older) client connection code does (getpass.getuser, which 
includes $USER but may check other variables first, and is generally much more comprehensive). Both modules now use getpass.getuser.
[Support]: Explicitly document which ssh_config features we currently support. Previously users just had to guess, which is simply no good.
[Support]: Additional installation extras_require ?flavors? (ed25519, invoke, and all) have been added to our packaging metadata; see the install docs for details.


 security/py-paramiko/Makefile |   4 ++--
 security/py-paramiko/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 1aacbfc83ffc -r e08d1fcc30c5 security/py-paramiko/Makefile
--- a/security/py-paramiko/Makefile     Wed Dec 11 10:38:05 2019 +0000
+++ b/security/py-paramiko/Makefile     Wed Dec 11 10:43:53 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2019/07/02 04:31:13 adam Exp $
+# $NetBSD: Makefile,v 1.37 2019/12/11 10:43:53 adam Exp $
-DISTNAME=      paramiko-2.6.0
+DISTNAME=      paramiko-2.7.1
 CATEGORIES=    security python
diff -r 1aacbfc83ffc -r e08d1fcc30c5 security/py-paramiko/distinfo
--- a/security/py-paramiko/distinfo     Wed Dec 11 10:38:05 2019 +0000
+++ b/security/py-paramiko/distinfo     Wed Dec 11 10:43:53 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.22 2019/07/02 04:31:13 adam Exp $
+$NetBSD: distinfo,v 1.23 2019/12/11 10:43:53 adam Exp $
-SHA1 (paramiko-2.6.0.tar.gz) = b3ece8385409624d67dd503c48c6d71b0a3907a5
-RMD160 (paramiko-2.6.0.tar.gz) = 82c1bec4374aa9d2de56ced753d65bcdf3642f7a
-SHA512 (paramiko-2.6.0.tar.gz) = a54ec36ebef3d1bfbdc0fe4de07fe73ca7177dbf5fd4683a408d8c7f174bf4e4d7c9f119aa5c450fb932d6a9e09002547451579726296e2712aa1e2e9f4d0431
-Size (paramiko-2.6.0.tar.gz) = 1018679 bytes
+SHA1 (paramiko-2.7.1.tar.gz) = a52fc133b817dc4d8b036bec71173c376e9dc38d
+RMD160 (paramiko-2.7.1.tar.gz) = 04207a10ce1810a510af3a7dfc1b3b7581fa687e
+SHA512 (paramiko-2.7.1.tar.gz) = 80068c8f72ab8c98d84188caa074deecead9fb459b1a71cedb3cfa627736730928a2b9c6eb2b5a8b60acb9bccb0f68aefbef9d0d55554001c835b5cf897751ab
+Size (paramiko-2.7.1.tar.gz) = 1136432 bytes

Home | Main Index | Thread Index | Old Index