browserpass fails to run with firefox

Bug #2004134 reported by Matt Chapman
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
browserpass (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I use firefox as my main browser. I would like to use the browserpass extension
`webext-browserpass/jammy`

This extension has two components, the extension in the browser, and an external binary helper program. The extension in the browser installs, but warns that the external binary needs to also be installed.

Navigating to any website and clicking The extension `browserpass open extension` displays an error in the browser, `Error: Error: an unexpected error occurred`

In the browser debug console I see these two error messages:

```
AbortError: Native application start canceled by user
    _doInitPortal resource://gre/modules/NativeMessaging.jsm:185
    AsyncFunctionThrow self-hosted:814

NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE
    [nsINativeMessagingPortal.closeSession]
```

I can see the native binary is provided by the .deb package and is sitting in `/usr/lib/browserpass/browserpass-native` I think though that this might be the wrong location for firefox installed as a snap.

I'm on Ubuntu 22.04.1 LTS.
firefox version 110.0b7-1 (snap beta) but the stable version has the same issue.
webext-browserpass version is 3.7.2-1build1

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in browserpass (Ubuntu):
status: New → Confirmed
Revision history for this message
A. D. (ammodramus) wrote :

I am also seeing this. I am on Ubuntu 22.04.2 with Firefox 111.0.1.

Revision history for this message
Franck (alci) wrote :

Same here on 23.04:

$ /usr/lib/browserpass/browserpass-native -version
Browserpass host app version: 3.0.7

And (snap) Firefox 114.0.1 (64 bits) console gives me:

AbortError: Native application start canceled by user NativeMessaging.jsm:189
    _doInitPortal resource://gre/modules/NativeMessaging.jsm:189
    AsyncFunctionThrow self-hosted:760
NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsINativeMessagingPortal.closeSession] NativeMessaging.jsm:365

Revision history for this message
Franck (alci) wrote :

Extension version is 3.7.2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.