From b1002ac82b0b3401f4af3520cb70cd1632d5c5d6 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Sun, 9 Feb 2025 00:16:41 +0100 Subject: gpg ssh --- .profile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.profile b/.profile index 8cd2ee7..7455fa5 100644 --- a/.profile +++ b/.profile @@ -1,4 +1,8 @@ export ENV=$HOME/.kshrc +export GPG_TTY="$(tty)" +export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) +gpgconf --launch gpg-agent +gpg-connect-agent updatestartuptty /bye > /dev/null if [ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ]; then startx fi -- cgit v1.2.3