Skip to content

Commit

Permalink
docs: Clarify that pinentry needs to point to a GUI program
Browse files Browse the repository at this point in the history
As seen in #3 the GPG installation from homebrew creates a `pinentry`
symlink pointing the `pinentry-curses` which prevents `pinentry-touchid`
from successfully calling the fallback pinentry program
(`pinentry-mac`).
  • Loading branch information
jorgelbg committed Sep 14, 2021
1 parent bffcc2c commit 1f05b9a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ This program interacts with the `gpg-agent` for providing a password, using the

### Homebrew

If you have already installed GPG, make sure that executing `pinentry` shows a GUI prompt by running
the following command:

```
echo GETPIN | pinentry
```

You should get the dialog from `pinentry-mac`. If that is not the case you can overwrite the
`pinentry` symlink to point to `pinentry-mac`.

As part of our release process we keep an updated Homebrew Formula. To install pinentry-touchid using
homebrew execute the following commands:

Expand Down

0 comments on commit 1f05b9a

Please sign in to comment.