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
Passwords not retrievable on OS X 10.11.6 / Chrome 62.0.3202.94 #13
Comments
I have the same chrome version and works perfectly on my PC. If the chrome extension cannot communicate with the native app it could mean that the extension id or the native app path is not set correctly. Did you follow the troubleshooting section in the README? |
Hey, sorry for the slow response - been pretty busy. I have gone through the troubleshooting section in the readme. The only thing that's not exactly as described is that my native host application manifest is in a different folder, presumably due to being on OS X. It's in Copying it to I'll reiterate that I can get the list of usernames fine - it's just when I click one that it fails. I could probably figure this out myself if I could find the error messages from the nativePass program. Where should I look for those? |
aha - I just discovered I can look at the "Inspect views" link on the With that I probably have what I need to figure this out. |
If I start Chrome from the command line, per Google's advice for debugging native messaging, the plugin works. When I first discovered that, I thought it must have been my .bashrc setting the PATH or similar, but it still worked even when I moved it to ~/.bashrc.bak, started a new terminal, and tried it again. When I start Chrome through Spotlight, regardless of my .bashrc's location, retrieving passwords still fails. Judging from this page on logging, I don't see a way to enable logging without running from the command line, so I'm unsure how to see the error messages for whatever's going wrong. |
Chrome started from Terminal.app included /usr/local/bin in its PATH env var, while Chrome started by normal means did not. I needed it there for Python to find gpg, since I installed gpg via Homebrew. Customizing environment variables for .app bundles on OS X turns out to be much more fraught with difficulty than I would have guessed. I finally found this solution that did the job for me, and retrieving passwords is working now. |
Closed the issue since it's a configuration problem. It might be worth updating the readme to warn people about this, similar to the Linux "wrong GPG version" issue. |
Thanks for the debugging... I added a small comment to the README regarding this possible issue. |
You're welcome. Thanks for updating the readme. |
A caveat to the solution I applied: It does not work in Chrome instances that were auto-started by OS X after a reboot. At least that appears to be the pattern, and I believe I saw someone else mention an analogous issue back when I was researching this. So far, when I've hit an instance of the "No response from native app" issue again, quitting Chrome and restarting it has made it go away. Just wanted to mention that for anyone else who runs into this problem. |
Clicking the extension's icon lists my stored passwords and I can search them, so much of this is working, but when I click on a password to retrieve it, I see the message "No response from native app."
I tried the diagnostics at #8 and verified that
nativePass
can indeed decrypt my passwords.Any clues how I might debug this further?
The text was updated successfully, but these errors were encountered: