From c98755528425aff872c867659971d9f9b35ee590 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Wed, 8 Apr 2026 06:45:44 +0200 Subject: [PATCH] Use PGP auth key for ssh --- gnupg/dot-gnupg/gpg-agent.conf | 6 ++++++ gnupg/dot-gnupg/scdaemon.conf | 2 ++ zsh/dot-zshrc | 1 + 3 files changed, 9 insertions(+) create mode 100644 gnupg/dot-gnupg/gpg-agent.conf create mode 100644 gnupg/dot-gnupg/scdaemon.conf diff --git a/gnupg/dot-gnupg/gpg-agent.conf b/gnupg/dot-gnupg/gpg-agent.conf new file mode 100644 index 0000000..b3f2573 --- /dev/null +++ b/gnupg/dot-gnupg/gpg-agent.conf @@ -0,0 +1,6 @@ +enable-ssh-support + +default-cache-ttl 180800 +max-cache-ttl 180800 +default-cache-ttl-ssh 180800 +max-cache-ttl-ssh 180800 diff --git a/gnupg/dot-gnupg/scdaemon.conf b/gnupg/dot-gnupg/scdaemon.conf new file mode 100644 index 0000000..927a7c9 --- /dev/null +++ b/gnupg/dot-gnupg/scdaemon.conf @@ -0,0 +1,2 @@ +disable-ccid +pcsc-shared diff --git a/zsh/dot-zshrc b/zsh/dot-zshrc index adc7eed..fc8199a 100644 --- a/zsh/dot-zshrc +++ b/zsh/dot-zshrc @@ -29,6 +29,7 @@ plugins=( fast-syntax-highlighting zoxide mise + gpg-agent ) bindkey -M vicmd "k" up-line-or-beginning-search