quexten / goldwarden

A feature-packed Bitwarden compatible desktop client
MIT License
778 stars 28 forks source link

vault pin set error on Mac with pinentry-mac installed #263

Open chain710 opened 4 months ago

chain710 commented 4 months ago

v0.3.3

Pin updating failed: exec: "pinentry-mac": executable file not found in $PATH

❯ which pinentry-mac
/opt/homebrew/bin/pinentry-mac

❯ pinentry-mac --version
pinentry-mac (pinentry) 1.1.1
Copyright (C) 2016 g10 Code GmbH
License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

PATH env

echo $PATH | grep homebrew
/usr/local/bin:/opt/homebrew/bin:/opt/homebrew/sbin: ....
mil1i commented 1 month ago

Also noticing this. And trying to figure out how to build the GTK Gui ;d

❯ goldwarden vault pin set
Pin updating failed: exec: "pinentry-mac": executable file not found in $PATH

❯ which pinentry-mac
/opt/homebrew/bin/pinentry-mac

❯ goldwarden version
v0.3.4
Oisann commented 1 month ago

I think this happens when your goldwarden daemon isn't running.