Files
configs/playbooks/roles/terminal/files/default/.shellrc/rc.d/10-gpg.sh
2024-10-05 10:13:19 +02:00

6 lines
165 B
Bash

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