Just noticed in gnupg-2.1 the feature,
https://www.gnupg.org/faq/whats-new-in-2.1.html#autostart
which is nice, but it defaults to using ~/.gnupg by default. Using ~/.gnupg has
pitfalls, including problems for users where $HOME is on nfs... I'd encourage you
to consider using the value of $XDG_RUNTIME_DIR instead, which by design, avoids
problems like that.