Files
dotfiles/config/zsh/conf.d/gpg-ssh.zsh
T

6 lines
159 B
Bash

# GPG/SSH via yubikey
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
gpg-connect-agent updatestartuptty /bye > /dev/null