On Fri 2019-06-14 20:57:07 +0300, Tomi Ollila wrote: > Yes. $TMPDIR could be problematic if it makes the full (unix domain > socket?) path be too long. Modern, maintained version of GnuPG will only place sockets directly in the $GNUPGHOME if /run/user/$(id -u) (i.e., $XDG_RUNTIME_DIR) is not available. I've just sent a message to gnupg-devel asking for help from upstream there, this shouldn't be this complicated. see id:87blyxd2qu.fsf@fifthhorseman.net on gnupg-devel@gnupg.org ("safe ephemeral GnuPG homdirs"). --dkg