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

Gopassbridge on firefox says: "no such native application: com.justwatch.gopass" #284

Open
formula-spectre opened this issue Feb 23, 2025 · 0 comments

Comments

@formula-spectre
Copy link

formula-spectre commented Feb 23, 2025

Describe the bug
when I use the gopassbridge extension, I get displayed the message "no such native application: com.justwatch.gopass"
I tried to debug gopass-jsonapi, but there is nothing much that tells me what it's doing wrong; this is the log:

/'
2025/02/23 18:19:23.657676 gitconfig/configs.go:74	gitconfig.(*Configs).LoadAll	Loading gitconfigs for gopass
2025/02/23 18:19:23.657966 gitconfig/configs.go:74	gitconfig.(*Configs).LoadAll	Loading gitconfigs for gopass
2025/02/23 18:19:23.659420 root/store.go:35	root.New	created store Store(Path: , Mounts: )
2025/02/23 18:19:23.659538 root/init.go:18	root.(*Store).IsInitialized	initializing store and possible sub-stores
2025/02/23 18:19:23.659564 root/init.go:80	root.(*Store).initialize	initialize - /home/MYSTORE
2025/02/23 18:19:23.659622 leaf/store.go:52	leaf.New	Instantiating "" at "/home/MYSTORE"
2025/02/23 18:19:23.661536 backend/storage.go:86	backend.DetectStorage	Using detected gitfs for /home/MYSTORE
2025/02/23 18:19:23.661686 gitconfig/configs.go:74	gitconfig.(*Configs).LoadAll	Loading gitconfigs for git
2025/02/23 18:19:23.661914 leaf/store.go:64	leaf.New	Storage for  => /home/MYSTORE initialized as gitfs(2.46.2,path:/home/formula/.password-store)
2025/02/23 18:19:23.664979 backend/crypto.go:80	backend.DetectCrypto	Trying gpgcli for gitfs(2.46.2,path:/home/MYSTORE)
2025/02/23 18:19:23.667754 backend/crypto.go:86	backend.DetectCrypto	Using gpgcli for gitfs(2.46.2,path:/home/MYSTORE)
2025/02/23 18:19:23.670577 cli/loader.go:26	cli.loader.New	Using Crypto Backend: gpgcli
2025/02/23 18:19:23.673136 cli/gpg.go:84	cli.New	binary detected as /usr/bin/gpg
2025/02/23 18:19:23.673176 leaf/store.go:71	leaf.New	Crypto for  => /home/MYSTORE initialized as &{/usr/bin/gpg [--quiet --yes --compress-algo=none --no-encrypt-to --no-auto-check-trustdb --default-recipient [email protected]] [] [] 0xc0002c57a0 false}
2025/02/23 18:19:23.673270 root/init.go:87	root.(*Store).initialize	Root Store initialized at /home/MYSTORE
2025/02/23 18:19:23.673311 root/init.go:25	root.(*Store).IsInitialized	root store is initialized
2025/02/23 18:19:23.673390 leaf/init.go:20	leaf.(*Store).IsInitialized	store "/home/MYSTORE" is initialized: true

but on the browser I have that error; this is my ~/.mozilla/native-messaging-hosts/com.justwatch.gopass.json

{
    "name": "gopass",
    "description": "Gopass wrapper to search and return passwords",
    "path": "/home/formula/.config/gopass/gopass_wrapper.sh",
    "type": "stdio",
    "allowed_extensions": [
        "{eec37db0-22ad-4bf1-9068-5ae08df8c7e9}"
    ]
    "permissions": ["nativeMessaging"]
}

(note: I added the last line, permissions on my own to see if it would resolve`)

To Reproduce
Steps to reproduce the behavior:

  1. set up gopass and gopass-jsonapi
  2. json-api-configure with firefox, and leave everything blank
  3. ???

Expected behavior
that I get my list of passwords in the application

System (please complete the following information):

  • OS: Gentoo Linux, LLVM/Musl toolchain
  • Browser: Mozilla Firefox 129.0.1
  • Gopassbridge version: 2.1.0
  • gopass --version: gopass 1.15.15 go1.23.2 linux amd64
  • gopass-jsonapi --version: gopass-jsonapi version 1.15.14

Issues with installation

  • Did you try restarting your gpg-agent and browser (e.g. killall gpg-agent)? Yes
  • Did you reconfigure gopass-jsonapi with the current version (e.g. gopass-jsonapi configure)? Yes

Did the problem change with these steps (e.g. different error message, now it works)? no

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

1 participant