Created
December 3, 2022 02:31
-
-
Save worldwise001/cfa097dfd8f92001ff23511a25de6cb4 to your computer and use it in GitHub Desktop.
gpg config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GPG_AGENT_SOCKET="$HOME/.gnupg/S.gpg-agent.ssh" | |
if [ ! -S $GPG_AGENT_SOCKET ]; then | |
gpg-agent --use-standard-socket --daemon >/dev/null 2>&1 | |
export GPG_TTY=$(tty) | |
fi | |
unset SSH_AGENT_PID | |
export SSH_AUTH_SOCK=$GPG_AGENT_SOCKET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment