Allow gpg path to be manually configured to make sure gpg2 is used #356
Labels
enhancement
New feature or request
good-first-issue
A good issue or enhancement for a first time contributor
platform:linux
Specific to a Linux-based platform
Feature description
On some legacy Linux systems where
gpg
versions 1 and 2 are both installed, thegpg
mode for GCM won't work correctly. (See symptoms described on this mistaken issue: #334 ) Let me paraphrase my followup from that thread: Thepass
program expects to interact withgpg2
, while GCM invokesgpg
by name. If the commandgpg
still invokesgpg
version 1, then various failures will arise (e.g., the user will always be prompted to recreate the stored credential, or no key will be found for the expected version ofgpg
). This is not an issue for users on systems wheregpg
invokesgpg2
by default.It would be helpful if GCM had an option to manually specify which path to use to invoke
gpg
(which, for compatibility withpass
, probably needs to be version 2).The text was updated successfully, but these errors were encountered: