Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niko-dunixi/git-openssl-shellscript
Shellscript to compile git with OpenSSL
https://github.com/niko-dunixi/git-openssl-shellscript
git git-openssl openssl shellscript
Last synced: 1 day ago
JSON representation
Shellscript to compile git with OpenSSL
- Host: GitHub
- URL: https://github.com/niko-dunixi/git-openssl-shellscript
- Owner: niko-dunixi
- License: mit
- Created: 2015-08-10T22:23:00.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-02-08T12:11:42.000Z (12 months ago)
- Last Synced: 2025-01-12T18:08:13.386Z (9 days ago)
- Topics: git, git-openssl, openssl, shellscript
- Language: Shell
- Size: 62.5 KB
- Stars: 246
- Watchers: 8
- Forks: 102
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-openssl-shellscript
Shellscript to compile git with OpenSSL### compile-git-with-openssl.sh
There are at times when you need to use git with https instead of ssh (behind firewalls where ssh is not allowed but https is, for instance). There is a gnutls issue that prevents communication with some https behind such firewalls or unusual proxy configurations, etc. You will typically see an error such as this:
```
fatal: unable to access 'http://[email protected]/arbitrary/repository.git': gnutls_handshake() failed: Illegal parameter
```
The only way to resolve this is by re-compiling git with `openssl` instead of `gnutls`.This shellscript does that by downloading the source for git, switching it to `openssl` and and then building it. If you are using a managed version of git (eg: through ubuntu's package manager) you will have to re-run the script every time you recieve an updated version of git because the managed version will overwrite your compiled version (it's honestly better to just uninstall it first, otherwise you're going to be fighting with `apt` with every git update)