Felix Fontein
Felix Fontein
Sorry this took so long (too busy with other things). I've been able to reproduce this and will try to debug it over the next days. In my case already...
The problem is `shutdown_writing()` (in `plugins/module_utils/socket_helper.py`). It is called after sending all stdin data to tell Docker daemon that we are done sending stdin (without that it would hang as...
Hmm, the longer I look at this, the more I get the feeling that this is simply **not possible at all** with Python's `SSLSocket`. Basically what needs to be done...
I created #621 to warn about this in the docs and changelog. I'm currently thinking that it might be possible to work around this by using PyOpenSSL's `SSL.Connection`, but that...
References: - https://github.com/python/cpython/issues/63080 - https://www.pyopenssl.org/en/latest/api/ssl.html - https://docs.docker.com/engine/security/protect-access/ (for setting up Docker daemon with TCP TLS) - https://www.rfc-editor.org/rfc/rfc5246#section-7.2.1
Some test code that can be useful for reproducing this without the whole baggage of Ansible modules/plugins: ```py import os import selectors import socket import sys import time from ansible_collections.community.docker.plugins.module_utils._api.api.client...
I personally won't have time to review this anytime soon (see https://github.com/getsops/sops/pull/1097#issuecomment-2607904325). I'm not sure if anyone else from the maintainers has time either, but it might well be that...