From 672ff79073078bf3f80ecac84a99ccc4df780b6e Mon Sep 17 00:00:00 2001 From: nia Date: Tue, 9 Jul 2019 10:42:59 +0000 Subject: libssh2: Update to 1.9.0 Changes: - adds ECDSA keys and host key support when using OpenSSL - adds ED25519 key and host key support when using OpenSSL 1.1.1 - adds OpenSSH style key file reading - adds AES CTR mode support when using WinCNG - adds PEM passphrase protected file support for Libgcrypt and WinCNG - adds SHA256 hostkey fingerprint - adds libssh2_agent_get_identity_path() and libssh2_agent_set_identity_path() - adds explicit zeroing of sensitive data in memory - adds additional bounds checks to network buffer reads - adds the ability to use the server default permissions when creating sftp directories - adds support for building with OpenSSL no engine flag - adds support for building with LibreSSL - increased sftp packet size to 256k - fixed oversized packet handling in sftp - fixed building with OpenSSL 1.1 - fixed a possible crash if sftp stat gets an unexpected response - fixed incorrect parsing of the KEX preference string value - fixed conditional RSA and AES-CTR support - fixed a small memory leak during the key exchange process - fixed a possible memory leak of the ssh banner string - fixed various small memory leaks in the backends - fixed possible out of bounds read when parsing public keys from the server - fixed possible out of bounds read when parsing invalid PEM files - no longer null terminates the scp remote exec command - now handle errors when diffie hellman key pair generation fails - fixed compiling on Windows with the flag STDCALL=ON - improved building instructions - improved unit tests --- security/libssh2/Makefile | 4 ++-- security/libssh2/PLIST | 4 +++- security/libssh2/distinfo | 10 +++++----- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/security/libssh2/Makefile b/security/libssh2/Makefile index c0303b11658..e4f63ed0deb 100644 --- a/security/libssh2/Makefile +++ b/security/libssh2/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.17 2019/04/01 14:21:14 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2019/07/09 10:42:59 nia Exp $ -DISTNAME= libssh2-1.8.2 +DISTNAME= libssh2-1.9.0 CATEGORIES= security MASTER_SITES= https://www.libssh2.org/download/ diff --git a/security/libssh2/PLIST b/security/libssh2/PLIST index 4c4e4b1e6b1..e6b230f9285 100644 --- a/security/libssh2/PLIST +++ b/security/libssh2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2016/02/23 22:47:18 wiz Exp $ +@comment $NetBSD: PLIST,v 1.8 2019/07/09 10:42:59 nia Exp $ include/libssh2.h include/libssh2_publickey.h include/libssh2_sftp.h @@ -8,8 +8,10 @@ man/man3/libssh2_agent_connect.3 man/man3/libssh2_agent_disconnect.3 man/man3/libssh2_agent_free.3 man/man3/libssh2_agent_get_identity.3 +man/man3/libssh2_agent_get_identity_path.3 man/man3/libssh2_agent_init.3 man/man3/libssh2_agent_list_identities.3 +man/man3/libssh2_agent_set_identity_path.3 man/man3/libssh2_agent_userauth.3 man/man3/libssh2_banner_set.3 man/man3/libssh2_base64_decode.3 diff --git a/security/libssh2/distinfo b/security/libssh2/distinfo index cfe76173a2f..77a48eddd6e 100644 --- a/security/libssh2/distinfo +++ b/security/libssh2/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.11 2019/04/01 14:21:14 wiz Exp $ +$NetBSD: distinfo,v 1.12 2019/07/09 10:42:59 nia Exp $ -SHA1 (libssh2-1.8.2.tar.gz) = 9250682b0df0ab61e47cc4192f99731949f605bc -RMD160 (libssh2-1.8.2.tar.gz) = b2b84b3fe14e4e527db4a391abd8706a8e028e23 -SHA512 (libssh2-1.8.2.tar.gz) = 390ab4ad93bb738415ec11a6eb92806c9b9e9e5d8ee7c442d841a58b4292c1c447a9bc99e153ba464e2e11f9c0d1913469303598c3046722d1ae821991e8cb93 -Size (libssh2-1.8.2.tar.gz) = 859587 bytes +SHA1 (libssh2-1.9.0.tar.gz) = 21e98282b103307a16792e5e2d4c99beaf0b3b9c +RMD160 (libssh2-1.9.0.tar.gz) = eb3553a9b2c05d5b6a24159db8a1478f9aea3877 +SHA512 (libssh2-1.9.0.tar.gz) = 41a3ebcf84e32eab69b7411ffb0a3b6e6db71491c968602b17392cfe3490ef00239726ec28acb3d25bf0ed62700db7f4d0bb5a9175618f413865f40badca6e17 +Size (libssh2-1.9.0.tar.gz) = 888551 bytes -- cgit v1.2.3