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

Running qtPass remotelly not prompting for the GPG key passphrasse #374

Closed
titansmc opened this issue Apr 27, 2018 · 2 comments
Closed

Running qtPass remotelly not prompting for the GPG key passphrasse #374

titansmc opened this issue Apr 27, 2018 · 2 comments

Comments

@titansmc
Copy link

titansmc commented Apr 27, 2018

Hi,
I am not sure whether this is the proper place to ask a question or not, if not, please point me in the right direction.
I am trying to set up a remote installation of qtpass (so then all the users can access the tool just by having ssh access) so I do the following:

  • Adding this to the bash_profile, so after ssh it will load my ssh keys (to be able to push changes to pass git
if [ -z "$SSH_AUTH_SOCK" ] ; then
  eval `ssh-agent -s`
  ssh-add
fi
  • launch qtpass

But now the problem is that if I do it locally, I will see another window asking me the passphrasse to unlock the GPG key. But it never comes up with my setup.... The only way I have to get it working is by calling the pass, then I will be prompted on the terminal for the GPG passphrasse, so the I can use it.

So it seems it is not forwarding pinentry (I've set up pinentry=/usr/bin/pinentry in the qtpass.conf). For me it would be OK to just prompt me for the curses "style" and enter the passphrasse

Any idea on what is wrong here?

@annejan
Copy link
Member

annejan commented Apr 29, 2018

I would personally recommend against using QtPass (or pass for that matter) in this way.

You can use git to sync between multiple devices.
You can setup pass to encrypt for multiple gpg id's which not only makes (dis)allowing access easier and more granular but you can also set-up per-folder permissions on a user level.

I think the issue is with the pinentry "environment" but if I find some time I'll try and replicate and look for a solution . .

@titansmc
Copy link
Author

titansmc commented Apr 30, 2018 via email

@annejan annejan closed this as completed Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants