From a7b18804699da9d7ad32a1689d04e1418ed07af2 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 1 Jul 2019 11:47:27 +0300 Subject: [PATCH] gpg: use keys.openpgp.org Closes #119 --- .mikaela/gpg.conf | 5 +---- gpg/dirmngr.conf | 2 ++ gpg/gpg.conf | 5 +---- install | 2 ++ 4 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 gpg/dirmngr.conf diff --git a/.mikaela/gpg.conf b/.mikaela/gpg.conf index ec6c5e50..fe19c5d9 100644 --- a/.mikaela/gpg.conf +++ b/.mikaela/gpg.conf @@ -20,9 +20,7 @@ # # See the man page for a list of options. -# This is one of the most used keyservers as far as I know. -#keyserver hkp://pool.sks-keyservers.net -keyserver-options auto-key-retrieve no-include-revoked +#keyserver-options auto-key-retrieve no-include-revoked #import-clean # Try to automatically find keys from keyserver if key for email address isn't found, but we are encrypting to email address. @@ -55,7 +53,6 @@ armor # Default preferences #default-preference-list AES256,AES192,AES,CAST5,3DES SHA512,SHA384,SHA256,SHA224,RIPEMD160,SHA1,MD5 BZIP2,ZLIB,ZIP -#default-keyserver-url hkp://pool.sks-keyservers.net # Forcing preferred settings even if it's against OpenPGP standards #cert-digest-algo SHA512 diff --git a/gpg/dirmngr.conf b/gpg/dirmngr.conf new file mode 100644 index 00000000..74b2dc7e --- /dev/null +++ b/gpg/dirmngr.conf @@ -0,0 +1,2 @@ +keyserver hkps://keys.openpgp.org +keyserver hkp://zkaan2xfbuxia2wpf7ofnkbz6r5zdbbvxbunvp5g2iebopbfc4iqmbad.onion diff --git a/gpg/gpg.conf b/gpg/gpg.conf index 912c56a5..5aafe8ba 100644 --- a/gpg/gpg.conf +++ b/gpg/gpg.conf @@ -20,9 +20,7 @@ # # See the man page for a list of options. -# This is one of the most used keyservers as far as I know. -#keyserver hkp://pool.sks-keyservers.net -keyserver-options auto-key-retrieve no-include-revoked +#keyserver-options auto-key-retrieve no-include-revoked #import-clean # Try to automatically find keys from keyserver if key for email address isn't found, but we are encrypting to email address. @@ -55,7 +53,6 @@ armor # Default preferences #default-preference-list AES256,AES192,AES,CAST5,3DES SHA512,SHA384,SHA256,SHA224,RIPEMD160,SHA1,MD5 BZIP2,ZLIB,ZIP -#default-keyserver-url hkp://pool.sks-keyservers.net # Forcing preferred settings even if it's against OpenPGP standards #cert-digest-algo SHA512 diff --git a/install b/install index 8b13e388..706d5cfd 100755 --- a/install +++ b/install @@ -19,6 +19,8 @@ fi mkdir -p ~/.gnupg cat gpg/gpg.conf > ~/.gnupg/gpg.conf cat gpg/gpg-agent.conf > ~/.gnupg/gpg-agent.conf +cat gpg/dirmngr.conf > ~/.gnupg/dirmngr.conf +killall -HUP dirmngr #cat rc/xinitrc > ~/.xinitrc cat conf/pastebinit.xml > ~/.pastebinit.xml cat conf/Xresources > ~/.Xresources