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

Comments

@uliska
Copy link

@uliska 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

@kuroidoruido kuroidoruido commented Nov 7, 2018

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

Loading

@uliska
Copy link
Author

@uliska 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.

Loading

@annejan
Copy link
Member

@annejan 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

Loading

@masterfloda
Copy link

@masterfloda masterfloda commented Feb 2, 2019

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

Loading

@innir
Copy link
Contributor

@innir innir commented Jun 24, 2019

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

Loading

@annejan
Copy link
Member

@annejan 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 . .

Loading

@innir
Copy link
Contributor

@innir 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?

Loading

@annejan
Copy link
Member

@annejan 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...

Loading

@innir
Copy link
Contributor

@innir 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.

Loading

@akhefale
Copy link

@akhefale akhefale commented Jan 21, 2021

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

Loading

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

Successfully merging a pull request may close this issue.

None yet
6 participants