various fixes and improvements
[distro-setup] / subdir_files / .gnupg / gpg.conf
1 # Note: initial files in this directory were created by running
2 # gpg -k
3
4 # for aur, automatically dl & add gpg keys.
5 keyserver-options auto-key-retrieve
6 # start gpg agent on login
7 use-agent
8
9
10 # standard short key ids are easy to collide
11 # https://security.stackexchange.com/questions/84280/short-openpgp-key-ids-are-insecure-how-to-configure-gnupg-to-use-long-key-ids-i
12 # https://evil32.com/
13 # another option is 0xshort
14 keyid-format 0xlong
15
16 # iank@fsf.org
17 default-key B125F60B7B287FF6A2B7DF8F170AF0E2954295DF
18
19 # note, i did this so that gpg-agent would not hold open the .gnupg dir.
20 # so I could unmount the filesystem which holds the .gnupg dir while
21 # running gpg-agent.
22 # also, symlinking things like keys in the .gnupg dir is a recipe
23 # for trouble
24 # https://askubuntu.com/questions/777900/how-to-configure-gnupgs-s-gpg-agent-socket-location
25
26 # rm -f ~/.gnupg/S.gpg-agent
27 # echo -e "%Assuan%\nsocket=${HOME}/gpg-agent-socket/s" > ~/.gnupg/S.gpg-agent
28 # # this is also in my conflink scrpt:
29 # install -d -m700 ~/gpg-agent-socket