Starting with 1.8.1, libssh2_userauth_publickey_fromfile() returns LIBSSH2_ERROR_SOCKET_SEND (-7) for a call that completes successfully with 1.8.0. This problem is fixed by 1.8.2: https://www.libssh2.org/changes.html Bug fixes: - Fixed the misapplied userauth patch that broke 1.8.1 - moved the MAX size declarations from the public header As discussed offline this is a MFH candidate.
Created attachment 203988 [details] patch
Created attachment 203989 [details] patch (Leave PORTEPOCH alone, I didn't intend on removing it.)
A commit references this bug: Author: swills Date: Tue Apr 30 11:12:28 UTC 2019 New revision: 500478 URL: https://svnweb.freebsd.org/changeset/ports/500478 Log: security/libssh2: Update to 1.8.2 Fixes broken userauth module in 1.8.1 PR: 237541 Submitted by: leres Approved by: sbz (maintainer) MFH: 2019Q2 Changes: head/security/libssh2/Makefile head/security/libssh2/distinfo
A commit references this bug: Author: swills Date: Tue Apr 30 11:13:48 UTC 2019 New revision: 500479 URL: https://svnweb.freebsd.org/changeset/ports/500479 Log: MFH: r500478 security/libssh2: Update to 1.8.2 Fixes broken userauth module in 1.8.1 PR: 237541 Submitted by: leres Approved by: sbz (maintainer) Approved by: ports-secteam (implicit) Changes: _U branches/2019Q2/ branches/2019Q2/security/libssh2/Makefile branches/2019Q2/security/libssh2/distinfo
Committed, thanks!