DEV Community

Malik Benkirane
Malik Benkirane

Posted on

pinentry-touchid

❯ pinentry-touchid  --check                                                                                                                                                                                            
❌ /opt/homebrew/opt/pinentry/bin/pinentry is a symlink that resolves to /opt/homebrew/Cellar/pinentry/1.2.1/bin/pinentry-curses not to pinentry-mac
Enter fullscreen mode Exit fullscreen mode

symlink correction

sudo rm /opt/homebrew/opt/pinentry/bin/pinentry
sudo ln -s $(which pinentry-mac) /opt/homebrew/opt/pinentry/bin/pinentry
Enter fullscreen mode Exit fullscreen mode

or just

pinentry-touchid -fix
Enter fullscreen mode Exit fullscreen mode

gpg-agent

~/.gnupg/gpg-agent.conf

pinentry-program $(which pinentry-touchid)
Enter fullscreen mode Exit fullscreen mode

do not forget to replace $(which pinentry-touchid) with its evaluated result as pinentry-touchid absolute path

Then reloading the agent

gpg-connect-agent reloadagent /bye
Enter fullscreen mode Exit fullscreen mode

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs