update armin gpg

This commit is contained in:
Elizabeth Hunt 2024-05-04 14:32:47 -07:00
parent 2ac854a7ea
commit e0cd611262
Signed by: simponic
GPG Key ID: 2909B9A7FF6213EE
2 changed files with 14 additions and 2 deletions

View File

@ -15,3 +15,8 @@ Host gul4
Host rainsllamas Host rainsllamas
Hostname 129.123.107.108 Hostname 129.123.107.108
Host wwwintmmt
Hostname www.int.mistymountainstherapy.com
ForwardAgent yes
User root

View File

@ -24,9 +24,16 @@ source /Users/lizzy/.wasmer/wasmer.sh
eval "$(zoxide init --cmd z zsh)" eval "$(zoxide init --cmd z zsh)"
unset SSH_AGENT_PID # Add the following to your shell init to set up gpg-agent automatically for every shell
# Add the following to your shell init to set up gpg-agent automatically for every shell
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
source ~/.gnupg/.gpg-agent-info
export GPG_AGENT_INFO
else
eval $(gpg-agent --daemon --write-env-file ~/.gnupg/.gpg-agent-info)
fi
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)"
fi fi
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null