Skip to content
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

Allow gpg path to be manually configured to make sure gpg2 is used #356

Closed
echuber2 opened this issue May 29, 2021 · 1 comment · Fixed by #406
Closed

Allow gpg path to be manually configured to make sure gpg2 is used #356

echuber2 opened this issue May 29, 2021 · 1 comment · Fixed by #406
Assignees
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

Comments

@echuber2
Copy link

Feature description

On some legacy Linux systems where gpg versions 1 and 2 are both installed, the gpg mode for GCM won't work correctly. (See symptoms described on this mistaken issue: #334 ) Let me paraphrase my followup from that thread: The pass program expects to interact with gpg2, while GCM invokes gpg by name. If the command gpg still invokes gpg 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 of gpg). This is not an issue for users on systems where gpg invokes gpg2 by default.

It would be helpful if GCM had an option to manually specify which path to use to invoke gpg (which, for compatibility with pass, probably needs to be version 2).

@echuber2 echuber2 added the enhancement New feature or request label May 29, 2021
@mjcheetham mjcheetham added good-first-issue A good issue or enhancement for a first time contributor platform:linux Specific to a Linux-based platform labels Jun 24, 2021
@mjcheetham mjcheetham assigned vdye and unassigned mjcheetham Aug 11, 2021
@mjcheetham
Copy link
Collaborator

The ability to specify which gpg binary to use (and to try to find gpg2 first in the default case) has been added as an option, and released in v2.0.498

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@vdye @echuber2 @mjcheetham and others