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

GPGME issues #8

Open
ageis opened this issue Jan 12, 2016 · 1 comment
Open

GPGME issues #8

ageis opened this issue Jan 12, 2016 · 1 comment
Labels

Comments

@ageis
Copy link

ageis commented Jan 12, 2016

In one scenario where the gnupg2 package is not present, when running update_redmine_pgpkey rake task, I receive the error GPGME::Error::InvalidEngine: Invalid crypto engine.

Also when an email emission is triggered, in Redmine's production.log I see Email delivery error: Invalid crypto engine.

The cause of this, I believe, is that the libgpgme11 package is required by the GPGME gem, and needs to be installed. However, this package depends on gnupg2, so if you avoid ever installing GPG 2.x in order to deal with the known passphrase callback issue, shit will break. I believe this is why it's recommended to move /usr/bin/gpg2 elsewhere, and symlink it to /usr/bin/gpg.

However, if there's no passphrase on your secret key at all, shouldn't calling out to GnuPG 2 or greater simply just work correctly with GPGME?

@timegrid timegrid added the bug label Mar 17, 2017
@timegrid
Copy link
Member

I'll need to setup a testing environment for that and #3 someday, but for me it has a low priority right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants