Page MenuHome GnuPG

Tests not working if build folder path longer than 81 character
Open, LowPublic

Description

Test fail when default socket name <build folder>/test/openpgp/S.gpg-agent is
longer than 108 character.
Solution would be using socket redirect directive in S.gpg-agent:
%Assuan%
socket=/tmp/gpg-<temp>/S.gpg-agent

gpg-agent does not support socket redirect.
Suggested solutions:
a) Implement redirect feature in gpg-agent code.
b) Use assuan_sock_connect.

Details

Version
2.1.11

Event Timeline

uldis set Version to 2.1.11.
uldis added a subscriber: uldis.

My mistake. I was talking about gpg-preset-passphrase.
Redirect in gpg-agent works as expected.

uldis lowered the priority of this task from Normal to Low.Feb 12 2016, 5:07 PM
uldis removed a project: Feature Request.
uldis added a project: Bug Report.

Attached patch for gpg-preset-passphrase. eval_redirect code copied from
libassuna and modifies.
Second patch creates socked redirection for tests if neccesary

Note, tests work together with patch from T2253