diff --git a/Makefile b/Makefile index e474bb4..e7de544 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,13 @@ redshift: ln -s ~/.dotfiles/redshift.conf ~/.config/redshift/redshift.conf gnupg: - for i in $(ls gnupg -1); do rm ~/.gnupg/$i; ln -s ~/.dotfiles/gnupg/$i ~/.gnupg/$i; done + rm ~/.gnupg/gpg.conf || true + rm ~/.gnupg/sshcontrol || true + rm ~/.gnupg/gpg-agent.conf || true + ln -s ~/.dotfiles/gnupg/gpg.conf ~/.gnupg/gpg.conf + ln -s ~/.dotfiles/gnupg/sshcontrol ~/.gnupg/sshcontrol + ln -s ~/.dotfiles/gnupg/gpg-agent.conf ~/.gnupg/gpg-agent.conf + zsh: rm -rf ~/.zim || true diff --git a/gnupg/gpg-agent.conf b/gnupg/gpg-agent.conf index 5f48733..fdbc5b0 100644 --- a/gnupg/gpg-agent.conf +++ b/gnupg/gpg-agent.conf @@ -5,3 +5,4 @@ max-cache-ttl-ssh 30 no-allow-external-cache enable-ssh-support ignore-cache-for-signing +ssh-fingerprint-digest sha256 diff --git a/gnupg/sshcontrol b/gnupg/sshcontrol new file mode 100644 index 0000000..394a62e --- /dev/null +++ b/gnupg/sshcontrol @@ -0,0 +1 @@ +257FD9CDA2C6CE8647A052723CCDA4B19AF6C5F2