Comments (6)
It seems like LibGit2Sharp is dependant on libssl 1.1 but Ubuntu 22.04 only comes with 3x
https://askubuntu.com/a/1483959
from libgit2sharp.
@jhested LibGit2Sharp 0.27.2 should work fine with Ubuntu 22.04 and OpenSSL 3. The version of libgit2 used in that release can dynamically use libssl.so.3
.
We already run tests on Ubuntu 22.04 that pass without problems. I also just reconfirmed it with a test app that calls Repository.Clone
with both an http and http url.
If you can provide some actual code for me to try that reproduces the problem you're seeing, I can look into it further, but right now I'm not seeing anything wrong.
from libgit2sharp.
Hi @bording ,
Thanks for your reply, here is the code I'm using to test
public GitClient(GitClientOptions config)
{
_config = config;
CloneOptions co = new CloneOptions();
co.CredentialsProvider = (_url, _user, _cred) => new UsernamePasswordCredentials { Username = "x-access-token", Password = _config.PersonalAccessToken };
_cloneOptions = co;
}
public string Clone(string url, string path, CancellationToken cancellationToken = default)
{
return Repository.Clone(url, path, _cloneOptions);
}
FYI: I was able to get it working by manually installing openssl 1.1
from libgit2sharp.
@jhested I've now also tested cloning a repo that requires credentials, and everything is still working fine, no OpenSSL 1.1 required.
Are you sure you're using LibGit2Sharp 0.27.2?
At this point I think I would need to see a fully working sample that reproduces the problem you're having, because all signs point to it being something other than LibGit2Sharp at this point.
from libgit2sharp.
@bording Thanks for taking your time to investigate this. I can no longer reproduce the error, after installing OpenSSL 1.1 manually, so I will setup a clean WSL later and test it again.
Will get back with the results tonight
from libgit2sharp.
@bording I have tested this out on a coworkers machines, and it worked perfectly on his. I will close the issue
from libgit2sharp.
Related Issues (20)
- Getting exception "too many redirects or authentication replays" HOT 2
- ObjectDatabase.Write<T>(Stream stream...) overload does not respect T
- .NET Standard support? HOT 4
- Unable to push to Azure DevOps repository when project name contains space HOT 1
- CloneOptions does not contains a definition of CredentialsProvider,,, HOT 13
- Performance regression when reading files from the tree in parallel HOT 6
- Security: Update to libgit2 1.7.2 HOT 3
- unexpected EOF when trying to fetch from remote
- Please consider adding AOT support for .Diff.Compare<T>() HOT 19
- How to checkout a specific folder from repository?
- LibGit2SharpException: could not find appropriate mechanism for credentials HOT 5
- FetchOptions in CloneOptions is readonly and has not been set in constructor !
- Git Fetch fails with could not decrypt tls message when TLS 1.3 is allowed
- git 2.40.0 index.skipHash incompatible with libgit2sharp (please update libgit2 from 1.7.1 to 1.8.0)
- the command pull take the class Repository instead of the interface like other commands
- Security Vulnerabilities in git2-106a5f2.dll: Non-Compliance with Secure Hashing and Compiler Security Best Practices HOT 2
- Request - upgrade to libgit2 1.7.2 HOT 1
- the error "too many redirects or authentication replays libgit2shap" come up after upgrading from 0.28 to 0.30 on Fetch
- Certificate Verification Failed "unknown certificate lookup failure" HOT 1
- Replace <PackageLicenseFile> with <PackageLicenseExpression>
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libgit2sharp.