Feature Request: support symlinks in .gnupg/ directory

ij's Avatar


25 Jan, 2015 09:31 PM


My GPG keys are on my Linux server to have my keys secure in one location. From my MBP I access my .gnupg directory via netatalk, which works basically.
More precisely I do not symlink the whole directory to my linux server, but just the necessary files:

lrwxr-xr-x 1 ij staff 42 25 Jan 22:15 pubring.gpg -> /Volumes/Home Directory/.gnupg/pubring.gpg
lrwxr-xr-x 1 ij staff 42 24 Okt 2013 random_seed -> /Volumes/Home Directory/.gnupg/random_seed
lrwxr-xr-x 1 ij staff 42 19 Jan 2014 trustdb.gpg -> /Volumes/Home Directory/.gnupg/trustdb.gpg

Problem is: when the remote volume is disconnected, the pubring.gpg is unavailable, although the remote volume might reappear later again.

It would be great if there would be a config option (maybe via default write) to enable a mode with GPGtools to support remote filesystems. With that option GPGtools should:
- check whether remote filesystem is available - if not, remount the remote filesystem: - check if above symlinks are valid and accessible - if not, create the necessary symlinks

If course there are many other ways how to deal securely with keys on mobile devices like usb crypto sticks, subkeys or such, but using a remote filesystem securely via VPN works best for me at least.


  1. Support Staff 1 Posted by Mento on 02 Feb, 2015 09:45 PM

    Mento's Avatar


    Currently we don't support this directly.
    I would suggest you to have a look in the gpg2 manual page.
    The options keyring, no-default-keyring, secret-keyring, primary-keyring and trustdb-name could be interesting for you.

    Regards, Mento

  2. Mento closed this discussion on 30 Apr, 2015 12:23 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac