Packagist: support HTTPS servers with Mozilla's "Modern compatibility" TLS

Created on 29 May 2018  路  6Comments  路  Source: composer/packagist

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

Most helpful comment

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

All 6 comments

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

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.

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

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cannibal picture cannibal  路  5Comments

jeabakker picture jeabakker  路  4Comments

andrewmclagan picture andrewmclagan  路  9Comments

jaykepeters picture jaykepeters  路  11Comments

klatys picture klatys  路  8Comments