add yubico/openpgp guide

master
Paul Walko 2019-08-31 12:27:54 -04:00
parent a1d91c4125
commit 4ca4ede6b0
1 changed files with 1 additions and 0 deletions

1
zshrc
View File

@ -35,6 +35,7 @@ fi
# GPG/SSH # GPG/SSH
## Void: Install pcsclite, pcsc-ccid, gnupg2-scdaemon ## Void: Install pcsclite, pcsc-ccid, gnupg2-scdaemon
## Yubico openpgp: https://support.yubico.com/support/solutions/articles/15000006420-using-your-yubikey-with-openpgp
unset SSH_AGENT_PID unset SSH_AGENT_PID
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"