-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gnupg2: gpg: public key decryption failed: Inappropriate ioctl for device #14737
Comments
This workaround fixed the problem: IJHack/QtPass#156 (comment) brew install pinentry-mac
echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
killall gpg-agent |
The |
But I find it weird that the |
Yeah, I just found out about the pinentry-mac workaround by googling for this issue, it's not a pinentry-mac bug report but a gnupg2 one. |
I wonder if this has any bearing on the reason why it isn't using the configured
from here. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Beep boop, might be stale but still an issue ;) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This is not a Homebrew issue, but rather one of user configuration. The information I posted before should solve your issue. The relevant configuration instructions, (the solution), are present both on gnupg.org and towards the beginning of the Given these two things, and the fact that the user configuration is predominantly outside of Homebrew's scope in cases like this, this issue is inherently "resolved". |
Apologies for opening a frivolous ticket @JCount It was not clear to me from this thicket that your comment represented the community opinion on the matter of bundled pinentry tool. Thank you for all the hard work you do as a maintainer, and for speedily reviewing community PRs. |
My comment represents the opinion and position of the maintainers of this project. |
Please always follow these steps:
brew install
ing one, specific formula (not cask) and not every time you runbrew
? If it's a generalbrew
problem please file this issue at https://github.com/Homebrew/brew/issues/new. If it's abrew cask
problem please file this issue at https://github.com/Homebrew/caskroom/homebrew-cask/newbrew update
and retried your prior step?brew doctor
, fixed all issues and retried your prior step?brew gist-logs <formula>
(where<formula>
is the name of the formula that failed) and included the output link?brew gist-logs
didn't work: ranbrew config
andbrew doctor
and included their output with your issue?Please note we will close your issue without comment if you delete or do not fill out the issue checklist and provide ALL the requested information.
To help us debug your issue please explain:
Decrypt text with
gpg2 -d
.brew install
commands)The text was updated successfully, but these errors were encountered: