pyopenssl
pyopenssl copied to clipboard
`test_set_default_verify_paths` failing
client = socket_any_family()
client.connect(("encrypted.google.com", 443))
clientSSL = Connection(context, client)
clientSSL.set_connect_state()
clientSSL.set_tlsext_host_name(b"encrypted.google.com")
clientSSL.do_handshake()
clientSSL.send(b"GET / HTTP/1.0\r\n\r\n")
> assert clientSSL.recv(1024)
tests/test_ssl.py:1308:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
build-3.10/lib/OpenSSL/SSL.py:1774: in recv
self._raise_ssl_error(self._ssl, result)
Possible reason:
$ curl -s https://encrypted.google.com:443 | wc -c
220
Please provide more information on how to reproduce this, the test passes in CI as recently as a week ago: https://github.com/pyca/pyopenssl/actions/runs/1617209182 and passes on my machine right now.
Since this could not be reproduced and the CI tests have been working, I think it can be closed @alex @mhils