On Sun, 15 Jan 2017 00:39, gn...@jelmail.com said:
> Just experimenting in a sandbox homedir, I noticed that the homedir path
> needs to be below a certain size.

That is because on most Unix systems the file name for local socket is
limited in size.  Local sockets are used for communication between the
components (e.g. gpg and gpg-agent).


The suggested solution is to create the socket in the /var/run
directory:  Make sure that 

  /var/run/user/$(id -u)

exists before starting gpg or gpg-agent the socket will be created
there.  Only is you use a non-default home directory (GNUPGHOME) you
need to manually create a sub-directory by using

  export GNUPGHOME=/foo/bar
  gpgconf --create-socketdir

To view the current directory used for the sockets, use:

  gpgconf --list-dirs socketdir


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

Attachment: pgpV3yKhVAcCI.pgp
Description: PGP signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to