aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-05-29 10:44:19 +0800
committerAaron LI <aly@aaronly.me>2017-05-29 10:44:19 +0800
commit4c87dfe07a8ac32e053b95d71dd6cd9f53d57803 (patch)
tree839930dae370125577d418bd6caad7f29db351a2
parente520ae6641377cb6c514de700e2d9653b3970766 (diff)
downloaddotfiles-4c87dfe07a8ac32e053b95d71dd6cd9f53d57803.tar.bz2
gpg.conf: Enable "with-keygrip" and change keyserver
-rw-r--r--_gnupg/gpg.conf28
1 files changed, 16 insertions, 12 deletions
diff --git a/_gnupg/gpg.conf b/_gnupg/gpg.conf
index 258c10e..1191b5f 100644
--- a/_gnupg/gpg.conf
+++ b/_gnupg/gpg.conf
@@ -1,20 +1,20 @@
-#####################################################################
-# GnuPG configuration file
+#
# ~/.gnupg/gpg.conf
+# GnuPG configuration file
#
-# Based on Github: ioerror/duraconf's configuration:
-# https://github.com/ioerror/duraconf/blob/master/configs/gnupg/gpg.conf
#
# Reference:
-# [1] Riseup: OpenPGP Best Practices
+# [1] Github: ioerror/duraconf
+# https://github.com/ioerror/duraconf/blob/master/configs/gnupg/gpg.conf
+# [2] Riseup: OpenPGP Best Practices
# https://help.riseup.net/en/gpg-best-practices
-# [2] Secure GnuPG configuration
+# [3] Secure GnuPG configuration
# http://sparkslinux.wordpress.com/2013/07/09/secure-gnupg-configuration
#
-# Weitian LI <liweitianux@gmail.com>
-# Created: 2014/06/12
-# Updated: 2015/08/19
-#####################################################################
+# Aaron LI <aly@aaronly.me>
+# 2014-06-12
+# Updated: 2017-05-26
+#
#-----------------------------
# default key
@@ -54,6 +54,10 @@ keyid-format 0xlong
# List all keys (or the specified ones) along with their fingerprints
with-fingerprint
+# Also list the "keygrip", which is the ID used by `gpg-agent`.
+# (GnuPG >=2.1)
+with-keygrip
+
# Display the calculated validity of user IDs during key listings
list-options show-uid-validity
verify-options show-uid-validity
@@ -68,8 +72,8 @@ use-agent
# This is the server that --recv-keys, --send-keys, and --search-keys will
# communicate with to receive keys from, send keys to, and search for keys on
-#keyserver hkp://pool.sks-keyservers.net
-keyserver hkps://hkps.pool.sks-keyservers.net
+keyserver hkp://pool.sks-keyservers.net
+#keyserver hkps://hkps.pool.sks-keyservers.net
# Provide a certificate store to override the system default
# Get this from https://sks-keyservers.net/sks-keyservers.netCA.pem