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

support HTTPS servers with Mozilla's "Modern compatibility" TLS #918

Open
fkooman opened this Issue May 29, 2018 · 4 comments

Comments

Projects
None yet
4 participants
@fkooman

fkooman commented May 29, 2018

Servers configured with this [1] don't work, with [2] do work when importing repositories:

Error: Uncaught Exception: [RuntimeException] Failed to execute git clone --mirror 'https://git.tuxed.net/php-yubitwee.git' '/home/composer/.composer/cache/vcs/https---git.tuxed.net-php-yubitwee.git/' Cloning into bare repository '/home/composer/.composer/cache/vcs/https---git.tuxed.net-php-yubitwee.git'... fatal: unable to access 'https://git.tuxed.net/php-yubitwee.git/': gnutls_handshake() failed: Handshake failed

[1] https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility
[2] https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28default.29

@stof

This comment has been minimized.

Contributor

stof commented Aug 2, 2018

the error happens when running git clone, so this seems related to the TLS library used by git

@MrPetovan

This comment has been minimized.

MrPetovan commented Sep 28, 2018

I got the same issue from Packagist.org trying to register a package from a Gitea install with a restrictive (TLS v1.2-only, SNI, HSTS) SSL certificate: https://git.friendi.ca/friendica/php-json-ld

screen shot 2018-09-28 at 12 17 55

It looks like the GNU TLS library could get an update.

Cloning the repository from my personal machine works fine.

@stof

This comment has been minimized.

Contributor

stof commented Oct 1, 2018

@Seldaek can you check the TLS library used by git on the packagist server ?

@noplanman

This comment has been minimized.

noplanman commented Nov 8, 2018

Just run into this too, what's the status on this?
I'm trying to add https://git.feneas.org/noplanman/wp-otp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment