aboutsummaryrefslogtreecommitdiffstats
path: root/gnupg
diff options
context:
space:
mode:
Diffstat (limited to 'gnupg')
-rw-r--r--gnupg/Makefile14
-rw-r--r--gnupg/user-profile8
2 files changed, 22 insertions, 0 deletions
diff --git a/gnupg/Makefile b/gnupg/Makefile
new file mode 100644
index 0000000..ac5408f
--- /dev/null
+++ b/gnupg/Makefile
@@ -0,0 +1,14 @@
+.POSIX:
+
+install:
+ mkdir -p -- ~/.var/lib/gnupg
+ mkdir -p -- ~/.config/profile.d
+ test ! -d ~/.config/profile.d/gnupg
+ ln -sf -- ~/.dotfiles/gnupg/user-profile ~/.config/profile.d/gnupg
+
+uninstall:
+ -unlink -- ~/.config/profile.d/gnupg
+ -rmdir -- ~/.config/profile.d
+ -rmdir -- ~/.var/lib/gnupg
+
+.PHONY: install uninstall
diff --git a/gnupg/user-profile b/gnupg/user-profile
new file mode 100644
index 0000000..67cbb86
--- /dev/null
+++ b/gnupg/user-profile
@@ -0,0 +1,8 @@
+# -*- shell-script -*-
+
+export GNUPGHOME=~/.var/lib/.gnupg
+
+export GPG_KEY=69E7C5ED
+export GPG_KEYA=45668AAD
+export GPG_KEY_EMAIL=6ABC233E # 8AAD AC7C E522 E5E8 674C F187 5319 6754 6ABC 233E
+# Old GPG_KEY_EMAIL: 678A6A76