about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-06-26 13:01:00 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-06-26 13:14:42 +0200
commit03f62a96f02ddd2112e1cb8d78083abdea7bf66b (patch)
tree92760cb4e79c57933737ac7adf6aab2a129c97fa /tests
parent0fded3359377975f4ac83a1a00ecd348b0ad9a1b (diff)
modules/gnupg: Support sockets in XDG_RUNTIME_DIR
Since GnuPG version 2.1.13 (NixOS/nixpkgs@b586b00), there is support for
XDG_RUNTIME_DIR so the sockets are in /run/user/gnupg instead of
~/.gnupg.

The full announcement can be found here:

https://lists.gnupg.org/pipermail/gnupg-announce/2016q2/000390.html

Unfortunately the fix is a bit more complicated, because if GNUPGHOME is
set to a non-default location, the sockets are to be found within the
directory specified in $GNUPGHOME instead.

So we also need to check the version of GnuPG so that we can properly
split up the socket directory from the GNUPGHOME.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions