You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scag-client fails to set up TLS connection over IPv6
Steps to reproduce
1.7~rc2
Have a dual-stack host that resolves a name with both IPv4 and IPv6, e.g.:
127.0.0.1 localhost
::1 localhost
Then scag-client -C . https://localhost:8080/
Expected results
It successfully attests the enclave.
Actual results
$ scag-client -C . --allow-outdated-tcb-insecure https://localhost6:8080/
Traceback (most recent call last):
File "/usr/bin/scag-client", line 8, in <module>
sys.exit(client())
^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/graminescaffolding/__main__.py", line 308, in client
resp = _client.request(method, url, verify_cb=verify_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/graminescaffolding/client.py", line 26, in request
conn.connect()
File "/usr/lib/python3.11/http/client.py", line 1454, in connect
self.sock = self._context.wrap_socket(self.sock,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ssl.py", line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ssl.py", line 1075, in _create
self.do_handshake()
File "/usr/lib/python3.11/ssl.py", line 1346, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
The text was updated successfully, but these errors were encountered:
Description of the problem
scag-client
fails to set up TLS connection over IPv6Steps to reproduce
1.7~rc2
Have a dual-stack host that resolves a name with both IPv4 and IPv6, e.g.:
Then
scag-client -C . https://localhost:8080/
Expected results
It successfully attests the enclave.
Actual results
The text was updated successfully, but these errors were encountered: