gnupg: add patch to work with pinentry-mac - #69405
Conversation
|
Has this patch been submitted upstream? |
|
I'm not sure. @lukele do you know if anyone at GPGTools have submitted this upstream? |
|
@SMillerDev @LinusU since this is only relevant for pinentry-mac (in combination with macOS Keychain as pin cache), not the general pinentry implementation, it was not. We have discussed it a few years ago, but there has not been any progress since. |
|
Is it possible to have homebrew recognize MacGPG2 as installed version of gnupg so packages depending on gnupg don't have to install the gnupg package (creating a conflict) |
|
No, all packages that homebrew depends on must be installed using homebrew. |
|
Ok, thanks. That's unfortunate. |
If the goal is to upstream the pinentry modifications. Why not try and upstream this already? |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
|
As has been reported on the GnuPG mailing list it appears that the old pinentry version did not cache passphrases in macOS Keychain. The new one does by default. So you might want to add a patch which changes the following line from |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
brew install --build-from-source <formula>, where<formula>is the name of the formula you're submitting?brew test <formula>, where<formula>is the name of the formula you're submitting?brew audit --strict <formula>(after doingbrew install <formula>)?As discussed in #68265 (comment) this adds the patch to GnuPG recommended by the GPGTools team to workaround for a bug in gpg-agent when a wrong password from the cache is returned by pinentry-mac.