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

GnuPG not found on Linux Mint #433

Closed
uliska opened this issue Nov 7, 2018 · 10 comments
Closed

GnuPG not found on Linux Mint #433

uliska opened this issue Nov 7, 2018 · 10 comments
Labels
interoperability Working together with other applications

Comments

@uliska
Copy link

uliska commented Nov 7, 2018

There are (partially closed) issues about Mac (#362) and Windows (#50, #284), but I'm now experiencing the problem on Linux Mint 19 too.

$ apt show qtpass
Package: qtpass
Version: 1.2.1-1
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Philip Rinn <rinni@inventati.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 870 kB
Depends: libqt5svg5, pass, libc6 (>= 2.14), libgcc1 (>= 1:3.0), libqt5core5a (>= 5.9.0~beta), libqt5gui5 (>= 5.7.0), libqt5network5 (>= 5.0.2), libqt5widgets5 (>= 5.6.0~beta), libstdc++6 (>= 4.1.1)
Recommends: pwgen

Upon the first start I get this message box

image
(telling "GnuPG not found" etc.)

After clicking on OK I get an error message about not finding the GPG key list:

image

After that I get into the Settings dialog, but - not knowing what the consequences of the error are - I decided not to proceed until the issue is settled.

I originally had the following GPG packages installed (by default, it's a new Linux installation):

Version: 2.2.4-1ubuntu1.1

Package: gnupg
Version: 2.2.4-1ubuntu1.1

I then also installed gnupg2, and there is no package gpg2. All these GPG packages are installed regularly with APT, so there shouldn't be an issue with not finding them.

@kuroidoruido
Copy link

Hello @uliska,

did you try to setting up gpg manually to the good path?
did you try to manually call gpg or gpg2 command with a terminal? (try a simple "gpg --version" for example)

My configuration is like that (if you want something to compare):
capture d ecran du 2018-11-08 00-08-07

@uliska
Copy link
Author

uliska commented Nov 8, 2018

No, I hadn't done this - as said I stopped going further after the strange error messages.

I now did this, and have to say it works now. But while my problem-at-hand is now solved I think it should not happen that an application like QtPass should fail finding programs on Linux that are installed by the package manager in the usual location.

@annejan
Copy link
Member

annejan commented Nov 8, 2018

You are correct, in the past there was a need to specifically use gpg2 but these days any gpg is gpg2 😄

This will be addressed in the next release, thank you for bringing this to our attention @uliska

@masterfloda
Copy link

Experienced the same problem on MacOS Mojave 10.14.2, setting the paths manually works.

@innir
Copy link
Contributor

innir commented Jun 24, 2019

Lubuntu is affected as well...
@annejan Time for a new release?

@annejan
Copy link
Member

annejan commented Jun 24, 2019

I hope to have some time next week to draft a new release . .

Don't know if there are any items that require some looking into before "just publishing" current master branch . .

@annejan annejan added the interoperability Working together with other applications label Aug 20, 2019
@annejan annejan closed this as completed Aug 20, 2019
@innir
Copy link
Contributor

innir commented Aug 26, 2019

@annejan Are you sure it's fixed? I'm not really convinced when looking at the code:

This seems to still set gpg2 as default:
https://github.com/IJHack/QtPass/blob/master/src/qtpasssettings.cpp#L288-L290

While this might actually work:
https://github.com/IJHack/QtPass/blob/master/src/configdialog.cpp#L240-L242

But which one wins?

@annejan
Copy link
Member

annejan commented Aug 26, 2019

To be honest, it's a mess..

The good thing is that with a lot of projects out of the way, I'm finally getting some time to work on QtPass again...

@innir
Copy link
Contributor

innir commented May 9, 2020

Hi @annejan,

I still see that on Debian testing and (L)ubuntu is effected as well: https://bugs.launchpad.net/ubuntu/+source/qtpass/+bug/1864631

I think it's reasonable nowadays to assume gpg is actually gpg2.

@bhark
Copy link

bhark commented Jan 21, 2021

The Windows client is affected, too. Manually pointing to the gpg executable fixes the problem, as mentioned above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interoperability Working together with other applications
Projects
None yet
Development

No branches or pull requests

6 participants