-
Notifications
You must be signed in to change notification settings - Fork 654
Update LibGit2Sharp.NativeBinaries to 1.0.192+, to fix Linux/OpenSSL 1.1 #1408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is actually worse than I thought - The bundled libgit2 links against OpenSSL directly as well as transitively through libcurl. And it links against the exact ABI version 1.0.0 - which was obsoleted when SSLv3 support was removed, affecting not only distributions with OpenSSL 1.1, but even ones with 1.0.x where x isn't 0 (e.g. Debian 9) |
i'm not sure if this is the right place to post this, but I'm using Cake and GitVersion on Ubuntu. Upgrading to 18.04 broke it. If I install |
Yes that's the same bug. libcurl3 is libcurl.so.4 built with OpenSSL 1.0, libcurl4 is libcurl.so.4 built with OpenSSL 1.1
NativeBinaries 1.0.192 depends on libcurl-gnutls.so.3 which doesn't cause conflicts with curl or cmake on modern distributions
…Sent from my iPhone
On 16 May 2018, at 14:31, Jeff Koch ***@***.***> wrote:
i'm not sure if this is the right place to post this, but I'm using Cake and GitVersion for .NET development on Ubuntu. Upgrading to 18.04 broke it. If I install libcurl3 per GitVersion's README, apt will uninstall libcurl4 which will uninstall curl.. my temporary workaround is to add an Artful mirror back to sources.list and install version 7.55.1-1ubuntu2.5 of both curl and libcurl3.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I am curious if #1269 might help you.. It enables gitversion to run on .netstandard platforms - so it can run under mono on linux just as before - but it can also run under |
I just ran into the same issue. Any progress on this? |
After upgrading to LibGit2Sharp 0.26 in #1713, I hope this problem is fixed. Please try the latest build of GitVersion and report back whether it fixes this problem or not. Reopen this issue if the problem persists. |
libgit is built against libcurl, for HTTP support
libcurl has a pluggable back-end for which SSL library to use, but the choice is made at compile-time and can't be swapped out
For old, esoteric, stupid reasons,
libcurl.so.3
can be built against OpenSSL 1.1 or OpenSSL 1.0, but not both at once - and on systems where one is installed, the other breaks.e.g.:
This was fixed in LibGit2Sharp.NativeBinaries 1.0.192, which switched to using GNUTLS as its SSL library (which is less prone to breakage than OpenSSL).
As-is, this breaks on Ubuntu 18.04
The text was updated successfully, but these errors were encountered: