Open ionutbaltariu opened 2 years ago
Pending release of new libssh2 version.
1.10.0 is still the latest version, and that is what is in the repository. This project tracks official releases, not master branch of libssh2.
I understand. However, could you provide some steps to manually update the libssh2 version for the project? I imagine that I could clone the master branch of libssh2 and just do some setup steps to reinstall ssh2-python.
Sure, building with system/self provided libssh2 is documented here.
I have tried to use the documented instructions in order to install ssh2-python with a self-built libssh2 from the latest version on their github repository.
However, it just seems it is not a really trivial task. Does installing under Windows also require installing OpenSSL? While trying to install I get the following error:
LINK : fatal error LNK1181: cannot open input file 'libcrypto64MD.lib'
This is the way I've built libssh2 on Windows:
mkdir dll
cd dll
cmake -DCRYPTO_BACKEND=WinCNG -DBUILD_SHARED_LIBS=ON ..
cmake --build . --target install
Then I've used python .\setup.py build_ext -I C:\libssh2\dll\src\ -L C:\libssh2\dll\src\Debug
(Debug is where I found the dll/lib files). I'm really feeling like doing things without actually knowing what they trully mean. Could you help me in this issue?
@pkittenis as an update, libssh2 release is slated for May 30 2023 according to this thread.
@pkittenis libssh2 1.11 was released today. Could you also update ssh2-python?
Any updates as to when a fix for ssh2-python will be ready?
libssh2 has to be updated to the latest version in order to fix a bug mentioned in https://github.com/ParallelSSH/ssh2-python/issues/178
The fix on the libssh2 side was mentioned here: https://github.com/libssh2/libssh2/issues/764
BONUS: Add steps in documentation to do this update locally, as in: