Skip to content
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

Closed
fkooman opened this issue May 29, 2018 · 6 comments
Closed

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

fkooman opened this issue May 29, 2018 · 6 comments

Comments

@fkooman
Copy link

@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
Copy link
Contributor

@stof stof commented Aug 2, 2018

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

@MrPetovan
Copy link

@MrPetovan 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
Copy link
Contributor

@stof stof commented Oct 1, 2018

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

@noplanman
Copy link

@noplanman 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

@Seldaek
Copy link
Member

@Seldaek Seldaek commented Mar 25, 2019

Thanks to this weekend's server maintenance/migration we now should have support for this.

@Seldaek Seldaek closed this Mar 25, 2019
@MrPetovan
Copy link

@MrPetovan MrPetovan commented Mar 25, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants