Skip to content

Commit

Permalink
docs: update note
Browse files Browse the repository at this point in the history
  • Loading branch information
mi2428 committed Nov 1, 2024
1 parent 517f54e commit a37c29f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ Check `~/.gnupg/gpg-agent.conf` if you encountered "No pinentry" error.
% gpgconf --kill gpg-agent
```

To skip password dialogue:

```
% echo "pinentry-program $(which pinentry-mac)" >> ~/.gnupg/gpg-agent.conf
% gpgconf --kill gpg-agent
```

### visudo

```
Expand Down
1 change: 1 addition & 0 deletions etc/hosts/macos/gnupg/gnupg/gpg-agent.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pinentry-program /opt/homebrew/bin/pinentry-mac

0 comments on commit a37c29f

Please sign in to comment.