pygit2 icon indicating copy to clipboard operation
pygit2 copied to clipboard

SSL issues with compiled version 1.7.2

Open wlozano0collabora opened this issue 4 years ago • 1 comments

When using compiled version 1.7. 2 on Debian Bullseye through

pip3 install pygit2

I observe that certificate from gitlab.apertis.org fails with

_pygit2.GitError: user rejected certificate for gitlab.apertis.org

However this issue is not reproduced on version pygit2 version 1.7.1 or with pygit2 version 1.7.2 with libgit2 1.3.0 compiled from sources.

wlozano0collabora avatar Jan 17 '22 15:01 wlozano0collabora

This is almost certainly due to the bundling of OpenSSL 1.0.2k (https://github.com/libgit2/pygit2/issues/1136#issuecomment-1087645337, https://github.com/libgit2/pygit2/issues/1136#issuecomment-1223786378).

4a6f656c avatar Aug 23 '22 09:08 4a6f656c

Try with the latest release v1.11.1 which includes openssl 1.1 Reopen if it does not work with v1.11.1

jdavid avatar Nov 10 '22 12:11 jdavid