From a3698677eaf7236f5fbf2dcc0f1bcab38061b494 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 ++++++ zsh/dot-zshrc | 1 + 2 files changed, 7 insertions(+) create mode 100644 gnupg/dot-gnupg/gpg-agent.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/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