From 5a7db2f34aa6a6787d98a001b6d28be97f36abf4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 25 Jun 2021 12:56:30 +0200 Subject: First commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- gnupg/Makefile | 14 ++++++++++++++ gnupg/user-profile | 8 ++++++++ 2 files changed, 22 insertions(+) create mode 100644 gnupg/Makefile create mode 100644 gnupg/user-profile (limited to 'gnupg') 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 -- cgit v1.2.3-70-g09d2