X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=subdir_files%2F.gnupg%2Fgpg.conf;h=21955c404c6c71519d090e45945dd0885202f1f9;hb=32a1673064cfd9eaa165b4ea62fa416f02f3dfd2;hp=f9da1b58f50f80ea44ee0a55e4e2040ce7de7df4;hpb=0c4ac4609fac9710f34ee75feacad69b00aef664;p=distro-setup diff --git a/subdir_files/.gnupg/gpg.conf b/subdir_files/.gnupg/gpg.conf index f9da1b5..21955c4 100644 --- a/subdir_files/.gnupg/gpg.conf +++ b/subdir_files/.gnupg/gpg.conf @@ -6,15 +6,19 @@ keyserver-options auto-key-retrieve # start gpg agent on login use-agent + # standard short key ids are easy to collide # https://security.stackexchange.com/questions/84280/short-openpgp-key-ids-are-insecure-how-to-configure-gnupg-to-use-long-key-ids-i # https://evil32.com/ # another option is 0xshort -keyid-format 0xlong +keyid-format long + -# iank@fsf.org default-key B125F60B7B287FF6A2B7DF8F170AF0E2954295DF +# financial key +#default-key 0xFB40960C541A7D1F + # note, i did this so that gpg-agent would not hold open the .gnupg dir. # so I could unmount the filesystem which holds the .gnupg dir while # running gpg-agent. @@ -26,3 +30,23 @@ default-key B125F60B7B287FF6A2B7DF8F170AF0E2954295DF # echo -e "%Assuan%\nsocket=${HOME}/gpg-agent-socket/s" > ~/.gnupg/S.gpg-agent # # this is also in my conflink scrpt: # install -d -m700 ~/gpg-agent-socket +# and in /etc/X11/Xsession.d/01iank +# install -o iank -g iank -d -m700 /home/iank/gpg-agent-socket +# because something keeps deleting that directory + +# default keyserver. i switch around randomly to find one that is up. +# +# DO NOT USE THIS ONE. +#keyserver hkp://pool.sks-keyservers.net + +#keyserver hkp://keys.openpgp.org +#keyserver hkp://pgp.mit.edu +#keyserver hkp://keyserver.pgp.com +#keyserver hkp://ipv4.pool.sks-keyservers.net +keyserver hkp://keys.gnupg.net +#keyserver hkp://keyserver.ubuntu.com +#keyserver hkp://keyring.debian.org +keyserver keyserver.ubuntu.com + +# more secure hkps, but had problems with my gpg version +#keyserver hkps://hkps.pool.sks-keyservers.net