There is no symlink called gpg2 on a stock system until the package
gnupg2 is installed. When I ran the change in my previous post, I had
gnupg2 installed, this is not the case on a fresh install of lubuntu.
However, qtpasssettings.cpp could check for the binary gpg if it cannot
find gpg2 and qtpass will start successfully without gnupg2 installed
(around line 288 in qtpasssettings.cpp:

  QString gpgExecutable =
      QtPassSettings::getGpgExecutable(Util::findBinaryInPath("gpg2"));
  if(!QFile(gpgExecutable).exists()){
    gpgExecutable =
      QtPassSettings::getGpgExecutable(Util::findBinaryInPath("gpg"));
  }

This mimics a similar check in configdialog.cpp.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864631

Title:
  lubuntu 20.04 daily: qtpass reports "GnuPG not found"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtpass/+bug/1864631/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to