lots of fixes and improvements
[distro-setup] / subdir_files / .gnupg / gpg.conf
index 730369def06ac853cc539070941b7a21d44a13b1..f9da1b58f50f80ea44ee0a55e4e2040ce7de7df4 100644 (file)
@@ -13,4 +13,16 @@ use-agent
 keyid-format 0xlong
 
 # iank@fsf.org
-default-key B125F60B7B287FF6A2B7DF8F170AF0E2954295DF
\ No newline at end of file
+default-key B125F60B7B287FF6A2B7DF8F170AF0E2954295DF
+
+# note, i did this so that gpg-agent would not hold open the .gnupg dir.
+# so I could unmount the filesystem which holds the .gnupg dir while
+# running gpg-agent.
+# also, symlinking things like keys in the .gnupg dir is a recipe
+# for trouble
+# https://askubuntu.com/questions/777900/how-to-configure-gnupgs-s-gpg-agent-socket-location
+
+# rm -f ~/.gnupg/S.gpg-agent
+# echo -e "%Assuan%\nsocket=${HOME}/gpg-agent-socket/s" > ~/.gnupg/S.gpg-agent
+# # this is also in my conflink scrpt:
+# install -d -m700 ~/gpg-agent-socket