Skip to content

Commit e872369

Browse files
authored
Merge branch 'main' into repo-sync
2 parents fe43fa8 + e2d01f0 commit e872369

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ If you have multiple GPG keys, you need to tell Git which one to use.
4444
$ if [ -r ~/.bash_profile ]; then echo 'export GPG_TTY=$(tty)' >> ~/.bash_profile; \
4545
else echo 'export GPG_TTY=$(tty)' >> ~/.profile; fi
4646
```
47+
1. Optionally, to prompt you to enter a PIN or passphrase when required, install `pinentry-mac`. For example, using [Homebrew](https://brew.sh/):
48+
```shell
49+
$ brew install pinentry-mac
50+
$ echo "pinentry-program $(which pinentry-mac)" >> ~/.gnupg/gpg-agent.conf
51+
$ killall gpg-agent
52+
```
4753

4854
{% data reusables.gpg.x-509-key %}
4955

0 commit comments

Comments
 (0)