aboutsummaryrefslogtreecommitdiff
path: root/gnupg
diff options
context:
space:
mode:
Diffstat (limited to 'gnupg')
-rw-r--r--gnupg/gpg.conf14
-rw-r--r--gnupg/profile.d/gnupg.sh.mi53
2 files changed, 3 insertions, 14 deletions
diff --git a/gnupg/gpg.conf b/gnupg/gpg.conf
deleted file mode 100644
index 97c1ca77..00000000
--- a/gnupg/gpg.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-# Assume I mean to encrypt to myself if no recipient is specified
-default-recipient-self
-
-# Don't use key IDs in listings, just show full fingerprints
-keyid-format none
-
-# Suppress the copyright message
-no-greeting
-
-# Don't sign pictures or other binary UID data
-only-sign-text-ids
-
-# Show fingerprints where they might not otherwise appear
-with-fingerprint
diff --git a/gnupg/profile.d/gnupg.sh.mi5 b/gnupg/profile.d/gnupg.sh.mi5
new file mode 100644
index 00000000..33a57dd0
--- /dev/null
+++ b/gnupg/profile.d/gnupg.sh.mi5
@@ -0,0 +1,3 @@
+# GPG key details
+GPG_KEYID=<% GPG_KEYID %>
+export GPG_KEYID