sh/bash/gnupg.sh

7 lines
212 B
Bash
Raw Normal View History

2023-05-09 21:32:24 +00:00
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
gpg-connect-agent updatestartuptty /bye > /dev/null
2023-05-09 20:02:34 +00:00
alias gpgoff='gpgconf --kill gpg-agent'
alias gpgtty='gpg-connect-agent updatestartuptty /bye'