browserpass / browserpass-legacy

Legacy Browserpass repo, development is now happening at:

Home Page:https://github.com/browserpass/browserpass-extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Unable to detect the location of gpg binary

sievertz opened this issue · comments

General information

  • Operating system + version: MacOS 10.14.2
  • Browser + version: Chrome 71.0.3578.98
  • Information about the host app:
    • How did you install it?
      • downloaded a pre-built binary
    • If installed an official release, put a version:
      • 2.0.22
  • Information about the browser extension:
    • How did you install it?
      • Installed via webstore
    • Browserpass extension version as reported by your browser: 2.0.22

Exact steps to reproduce the problem

  1. Go to page related to a stored password
  2. Click the browserpass button:
    image
  3. Click the password you wish to use

What should happen?

The password is copied

What happened instead?

I get the following error:
image

I thought I had but hadn't done all the steps. After following the steps my pass doesn't seem to work at all (not from terminal either). I get the following error:

gpg: can't connect to the agent: IPC connect call failed
gpg: can't connect to the agent: IPC connect call failed
gpg: decryption failed: No secret key

Any idea what is wrong? Thanks!

Try to restart gpg-agent, or maybe better simply reboot. After that make sure gpg itself is able to see your private key with gpg -K, if so proceed retrying pass and browserpass.

Just tried restarting and then gpg -K but that just resulted in:

gpg: can't connect to the agent: IPC connect call failed
gpg: can't connect to the agent: IPC connect call failed
gpg: can't connect to the agent: IPC connect call failed

Any other ideas?

Uh it seems you broke your gpg 😄 Try to google, there are some results like this: https://stackoverflow.com/questions/46673717/gpg-cant-connect-to-the-agent-ipc-connect-call-failed

Browserpass doesn't use pass at all, but it heavily depends on gpg, so you've got to get gpg working before you can use this project :)

So I simply re-installed macgpg2 from https://github.com/GPGTools/MacGPG2, that fixed the issue. Not sure what I did to break it though!

browserpass also works now, thanks for the help :)

Yay, enjoy 😉