gopasspw / gopassbridge

A web extension for Firefox and Chrome to insert login credentials from gopass
MIT License
264 stars 24 forks source link

Firefox not able to receive any passwords #237

Closed con-f-use closed 1 year ago

con-f-use commented 1 year ago

I'm on Firefox with gopass-bridge 0.9.0. I've run gopass-jsonapi configure for my user and hit has installed the wrapper script and manifest. Same procedure worked for Chrome on the same system (bridge version 0.8.0 there), but on Firefox, I get:

image

Here are the jsonapi debug logs and installed scripts:

#!/bin/sh

export PATH="$PATH:$HOME/.nix-profile/bin" # required for Nix
export PATH="$PATH:/usr/local/bin" # required on MacOS/brew
export PATH="$PATH:/usr/local/MacGPG2/bin" # required on MacOS/GPGTools GPGSuite
export GPG_TTY="$(tty)"

# Uncomment to debug gopass-jsonapi
export GOPASS_DEBUG_LOG=/tmp/gopass-jsonapi.log

if [ -f ~/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
    source ~/.gpg-agent-info
    export GPG_AGENT_INFO
else
    eval $(gpg-agent --daemon)
fi

export PATH="$PATH:/usr/local/bin"

/run/current-system/sw/bin/gopass-jsonapi listen

exit $?
{
    "name": "com.justwatch.gopass",
    "description": "Gopass wrapper to search and return passwords",
    "path": "/home/confus/.config/gopass/gopass_wrapper.sh",
    "type": "stdio",
    "allowed_extensions": [
        "{eec37db0-22ad-4bf1-9068-5ae08df8c7e9}"
    ]
}
con-f-use commented 1 year ago

https://github.com/gopasspw/gopassbridge/issues/214#issuecomment-1538268218

nevermind.