.tox/py27/local/lib/python2.7/site-packages/autocrypt/bingpg.py:202: in gen_secret_key
[...]
E InvocationFailure: GPG Command '/usr/bin/gpg --batch --homedir /tmp/pytest-of-user/pytest-5/test_reply_no_delivto_sender_e0/account/id/default/gpghome --pinentry-mode=loopback --passphrase '' --gen-key /tmp/tmpnPI31H' retcode=2
E stdout:
E stderr:
E gpg: keybox '/tmp/pytest-of-user/pytest-5/test_reply_no_delivto_sender_e0/account/id/default/gpghome/pubring.kbx' created
E gpg: can't connect to the agent: IPC connect call failed
E gpg: agent_genkey failed: No agent running
E gpg: key generation failed: No agent running
Apparently sockets path can't be longer than 100 characters and the socket is not being created
Extract of the error:
.tox/py27/local/lib/python2.7/site-packages/autocrypt/bingpg.py:202: in gen_secret_key [...] E InvocationFailure: GPG Command '/usr/bin/gpg --batch --homedir /tmp/pytest-of-user/pytest-5/test_reply_no_delivto_sender_e0/account/id/default/gpghome --pinentry-mode=loopback --passphrase '' --gen-key /tmp/tmpnPI31H' retcode=2 E stdout: E stderr: E gpg: keybox '/tmp/pytest-of-user/pytest-5/test_reply_no_delivto_sender_e0/account/id/default/gpghome/pubring.kbx' created E gpg: can't connect to the agent: IPC connect call failed E gpg: agent_genkey failed: No agent running E gpg: key generation failed: No agent running
Apparently sockets path can't be longer than 100 characters and the socket is not being created