Browser Integration Not Working
Description:
Polkit authentication and browser integration were recently enabled upstream (https://github.com/bitwarden/clients/pull/4586). There are users reporting problems specifically on arch https://github.com/bitwarden/clients/pull/4586#issuecomment-2308934096. I do not currently have an Arch installation to debug the issues, nor is the AUR version supported upstream. However, I'll do my best to help debug this / make changes upstream if needed.
I believe this is because the ipc creates a manifest with the binary path - which in the AUR case is electron - without pointing to the asar (https://github.com/bitwarden/clients/blob/f2be150b70827269020f9a2552c01294aac35258/apps/desktop/src/main/native-messaging.main.ts#L128-L133). So patching the ipc setup command should work.
Additional info:
- package version(s): 2024.8.0
- config and/or log files:
- link to upstream bug report, if any: https://gitlab.archlinux.org/archlinux/packaging/packages/bitwarden/-/blob/main/bitwarden.sh?ref_type=heads#L4
Steps to reproduce:
- With unsandboxed google-chrome or firefox, and bitwarden desktop 2024.8.0, browser integration is expected to work, and unlock via "system authentication" (biometrics) should work from the browser while desktop is running.