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

Can't install jsonapi native messaging host #188

Closed
erazemk opened this issue Jan 6, 2021 · 1 comment
Closed

Can't install jsonapi native messaging host #188

erazemk opened this issue Jan 6, 2021 · 1 comment

Comments

@erazemk
Copy link

erazemk commented Jan 6, 2021

I'm running gopass 1.10.1 on Fedora 33, using ungoogled-chromium and gopass-bridge 0.8.0.

The first problem I get is the following message after setting everything up:

Screenshot from 2021-01-06 22-26-59

When trying to debug by manually running gopass-jsonapi listen or ./gopass_wrapper.sh I get the following message before it exits: ;{"error":"not enough bytes read to determine message size"}.

I tried installing the jsonapi script globally (using sudo), but couldn't since gopass reported the following error: Failed to initialize gopass API: store not initialized. run gopass init first, which I guess is to be expected, since I've setup the store for my account, not root (although how are you supposed to install the listener globally without initializing a root store). The problem was "fixed" by copying the com.justwatch.gopass.json file to the location the script mentioned, but the extension still doesn't work.

@erazemk
Copy link
Author

erazemk commented Jan 6, 2021

Apparently the problem was with ungoogled-chromium using a custom .config directory (although weirdly .config/chromium is still present for some reason), so the problem was solved by copying the json file to ~/.config/ungoogled-chromium/NativeMessaging/Hosts/.

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

No branches or pull requests

1 participant