Merge pull request #173 from jamescw/patch-1

Fix pinenty path on macOS
This commit is contained in:
Sun Knudsen 2021-10-07 18:13:45 +00:00 committed by GitHub
commit b027fa5261
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1149,13 +1149,13 @@ EOF
Heads-up: back up current config using `cp ~/.gnupg/gpg-agent.conf ~/.gnupg/gpg-agent.conf.backup` (if necessary).
```shell
cat << "EOF" > ~/.gnupg/gpg-agent.conf
cat << EOF > ~/.gnupg/gpg-agent.conf
default-cache-ttl 60
default-cache-ttl-ssh 60
enable-ssh-support
max-cache-ttl 120
max-cache-ttl-ssh 120
pinentry-program /usr/local/bin/pinentry-mac
pinentry-program $(brew --prefix)/bin/pinentry-mac
EOF
```