This commit is contained in:
Yuri Zamyatin 2025-04-13 08:15:17 +00:00
parent f6decf8e5f
commit cb54fabe7e
3 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/sh
unset SSH_AGENT_PID
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null

View File

@ -0,0 +1 @@
pinentry-program ~/.local/bin/bemenu/pinentry.sh

View File

@ -66,6 +66,7 @@ gomplate --input-dir config \
ln -sf ~/.config/bash/bashrc ~/.bashrc
ln -sf ~/.config/profile ~/.profile
mkdir -p ~/.gnupg && ln -sf ~/.config/gnupg/gpg-agent.conf ~/.gnupg
################################
############# data ############