summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnupg/Makefile7
-rw-r--r--gnupg/gpg.conf2
2 files changed, 9 insertions, 0 deletions
diff --git a/gnupg/Makefile b/gnupg/Makefile
new file mode 100644
index 0000000..2e6e94b
--- /dev/null
+++ b/gnupg/Makefile
@@ -0,0 +1,7 @@
+GNUPGHOME ?= ~/.gnupg
+
+all: ${GNUPGHOME}
+
+${GNUPGHOME}:
+ mkdir -m 700 -p $@
+ ln -s $(shell realpath --relative-to $@ gpg.conf) $@/gpg.conf
diff --git a/gnupg/gpg.conf b/gnupg/gpg.conf
new file mode 100644
index 0000000..9da7481
--- /dev/null
+++ b/gnupg/gpg.conf
@@ -0,0 +1,2 @@
+keyid-format long
+with-fingerprint