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

Problem with GNUpg not found on MacOS #362

Closed
FiloSpaTeam opened this issue Apr 3, 2018 · 11 comments
Closed

Problem with GNUpg not found on MacOS #362

FiloSpaTeam opened this issue Apr 3, 2018 · 11 comments
Labels

Comments

@FiloSpaTeam
Copy link
Contributor

I tried to install QtPass on MacOS (friend's pc) but he doesn't had install GNUpg so QtPass prompt me this. We ignored the message and QtPass opened anyway with options page opened. Later clicking on treeview failed and make QtPass crash.

@annejan annejan added the macOS label Apr 3, 2018
@annejan
Copy link
Member

annejan commented Apr 3, 2018

That is indeed unexpected.

I would expect there to be an error that the folder could not be found (and loop that).

Do you happen to know which version of MacOS your friend is running?

I'll try and replicate this on a clean machine at work later this week.

@annejan
Copy link
Member

annejan commented Apr 3, 2018

The easiest way to use QtPass on mac is to use it in combination with pass which is easiest installed via https://brew.sh/ with the command brew install pass

@FiloSpaTeam
Copy link
Contributor Author

MacOSX 10.11.6 on Mac Pro 4,1
QtPass installed from Github releases 1.2.1

I think he didn't installed pass or GNUpg so i expected the software tell me what i need to do 👍

@annejan
Copy link
Member

annejan commented May 7, 2018

As noted in the readme QtPass on mac (with passphrase or cards, dongles etc) only works with https://gpgtools.org/

I thought the wizard should have some detection for it but will check again.

@MindTooth
Copy link

Sad to see that the program requires a large dependency such like GPGTools. Don't that create a overhead compared to the bare gpg package?

I'll keep monitoring the project to see if they remove the dependency. If a were proficient enough to code myself, I would gladly contribute.

@annejan
Copy link
Member

annejan commented May 20, 2018

Heya @MindTooth the dependency is only there when you are using pin entry or passphrase entry.

This is because the minimal gpg package doesn't have a graphical way to ask for input of such data on macOS.

@MindTooth
Copy link

Like this? Meaning I won't be able to access my passdb if it's locked?

pinentry

@annejan
Copy link
Member

annejan commented May 21, 2018

It is possible to not use gpgtools but compile a graphical pinentry app yourself.
Since it is also possible of Linux and freeBSD.
Unfortunately the standard gpg command on macOS doesn't come with a graphical pinentry app.

@riccardocossu
Copy link
Contributor

I am currently using pass and pinentry-mac (from homebrew) and everything works fine without gpgtools; given the recent switch to paid version of the Mail plugin, this may be a useful alternative configuration

@annejan
Copy link
Member

annejan commented Sep 25, 2018

Very much so, I'll give it a go @riccardocossu
Thanks for the update!

Quick howto (so I don't forget):

brew install pinentry-mac

edit: ~/.gnupg/gpg-agent.conf

remove:

pinentry-program /usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac

add:

pinentry-program /usr/local/bin/pinentry-mac

@riccardocossu
Copy link
Contributor

ok I also left a PR for the README file

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

4 participants