Skip to content

NativeMessageingHosts manifest file is not created for brave #11750

@popy2k14

Description

@popy2k14

Steps To Reproduce

  1. Use mint 22 and install howdy, so it identifies you by face
  2. Install latest bitwarden desktop linux appimage (currently 2024.10.1)
  3. Install Brave browser with latest extension (currently 2024.10.1)
  4. Unlock bitwarden desktop with master password
  5. Enable settings -> browser extention function
  6. start brave, connect to bitwarden server
  7. go to settings and try to activate biometrics (settings -> security -> biometrics)
  8. It says it, that first "browser extention function" must be enabled in desktop app, which is

Expected Result

Brave works like google-chrome

Actual Result

It says it, that first "browser extention function" must be enabled in desktop app, which is

Screenshots or Videos

No response

Additional Context

Sadly, the manifest is just generated for firefox, google-chromium & edge.
See here:

case "linux":
if (existsSync(`${this.homedir()}/.mozilla/`)) {
await this.writeManifest(
`${this.homedir()}/.mozilla/native-messaging-hosts/com.8bit.bitwarden.json`,
firefoxJson,
);
}
if (existsSync(`${this.homedir()}/.config/google-chrome/`)) {
await this.writeManifest(
`${this.homedir()}/.config/google-chrome/NativeMessagingHosts/com.8bit.bitwarden.json`,
chromeJson,
);
}
if (existsSync(`${this.homedir()}/.config/microsoft-edge/`)) {
await this.writeManifest(
`${this.homedir()}/.config/microsoft-edge/NativeMessagingHosts/com.8bit.bitwarden.json`,
chromeJson,
);
}

So with a little workaround and it's now working as it should (google-chrome not installed):

mkdir ~/.config/google-chrome/NativeMessagingHosts
cd ~/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts
ln -s ../../../google-chrome/NativeMessagingHosts/com.8bit.bitwarden.json com.8bit.bitwarden.json

Would be nice if more chromium based browsers will get supported by the client.

Operating System

Linux

Operating System Version

Mint 22

Installation method

Direct Download (from bitwarden.com)

Build Version

2024.10.1

Issue Tracking Info

  • I understand that work is tracked outside of GitHub. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions