Git Product home page Git Product logo

com.bitwarden.desktop's People

Contributors

erick555 avatar evan-a-a avatar flathubbot avatar ghisvail avatar jakobdev avatar lctrs avatar maks1ms avatar mstroecker avatar phloose avatar proletarius101 avatar samy-k97 avatar taaem avatar theevilskeleton avatar tilosp avatar tingping avatar vchernin avatar vroger11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

com.bitwarden.desktop's Issues

Please update package to note an Unofficial distribution

Hi there from Bitwarden!

We are very appreciative of community contributions that help make Bitwarden a great product and community of users, enthusiasts, and security professionals. We do however want to ensure the following in that light:

  1. Ensure end-users understand which versions of our application are officially built, packaged, signed and distributed by Bitwarden
  2. Know when a package is built, packaged and distributed outside of Bitwarden (unofficial)
  3. Reduce confusion and support incidents when folks use community provided clients, install, or packages

We would appreciate it if you could update the description and title of your Flatpack distribution of Bitwarden to include language and/or notice that is not maintained or supported by Bitwarden. If you have any questions or concerns please let me know or if you would rather us submit a PR with the suggested language we can do that as well. It would also be helpful if the author and contact information are updated to reflect the actual package maintainer vs. Bitwarden.

Thanks again!
~ Chad
[my github username] @ bitwarden.com

Failed to start on Fedora 35

When I tried to launch to app, it crashed.
Here are what I got when running flatpak run com.bitwarden.desktop in the terminal

$ flatpak run com.bitwarden.desktop
[2 preload-host-spawn-strategy] Running: /app/bin/zypak-helper child - /app/Bitwarden/bitwarden --type=zygote --enable-crashpad
(node:2) DeprecationWarning: file property is deprecated and will be removed in v5.
(Use `bitwarden --trace-deprecation ...` to show where the warning was created)

Outdated version

The current version of the bitwarden desktop app ist 1.19.0, whereas the flathub version is 1.18.0.

Doesn't launch on ARM

When launching this on my ARM machine I get an error in keytar:

Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]: App threw an error during load
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]: Error: Cannot find module '../build/Release/keytar.node'
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Module._resolveFilename (module.js:543:15)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Function.Module._resolveFilename (/app/main/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Function.Module._load (module.js:473:25)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Module.require (module.js:586:17)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at require (internal/module.js:11:18)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Object.<anonymous> (/app/main/node_modules/keytar/lib/keytar.js:1:169)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Object.<anonymous> (/app/main/node_modules/keytar/lib/keytar.js:61:3)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Module._compile (module.js:642:30)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Object.Module._extensions..js (module.js:653:10)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Module.load (module.js:561:32)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]: A JavaScript error occurred in the main process
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]: Uncaught Exception:
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]: Error: Cannot find module '../build/Release/keytar.node'
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Module._resolveFilename (module.js:543:15)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Function.Module._resolveFilename (/app/main/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Function.Module._load (module.js:473:25)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Module.require (module.js:586:17)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at require (internal/module.js:11:18)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Object.<anonymous> (/app/main/node_modules/keytar/lib/keytar.js:1:169)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Object.<anonymous> (/app/main/node_modules/keytar/lib/keytar.js:61:3)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Module._compile (module.js:642:30)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Object.Module._extensions..js (module.js:653:10)
Oct 04 13:52:59 endless-arm com.bitwarden.desktop.desktop[2096]:     at Module.load (module.js:561:32)

As I remember, this needs some sort of binary component, maybe that's missing?

bundling the cli client

Might be a tall ask, but would it be possible to consider bundling the bw command line client? It would make querying the password database possible from within scripts (would be very nice for a use case I'm playing with: replacing pass)

Generated sources need refreshing

Following the most recent build fixing #2 :

ERR! code ENOTCACHED

npm ERR! request to https://registry.npmjs.org/extract-text-webpack-plugin failed: cache mode is 'only-if-cached' but no cached response available.

Login fails on Rapsberry PI4

Hi,
after typing the credentials it produces the following error: an unexpected error has occurred.

Thanks for Your attention, bye.

image

Window borders not rendering in Wayland

Probably an upstream issue, but might as well report here first, when forcing Wayland using --enable-features=UseOzonePlatform --ozone-platform=wayland, the Bitwarden window is missing the title bar and buttons.

Aarch64 build

The aarch64 build seems to be several versions (1.7.0) behind the x86_64 builds (1.26.4).

Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown

I see a lot of these when I query the contents of the systemd(1) journal:

Sep 05 06:55:44 uplink electron[23948]: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
Sep 05 06:55:54 uplink electron[23948]: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
Sep 05 06:55:55 uplink electron[23948]: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
Sep 05 06:56:04 uplink electron[23948]: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
Sep 05 06:56:14 uplink electron[23948]: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown

I isolated (read: shutdown/closed) all Electron apps, so I'm sure this is coming from Bitwarden. I can't run the AppImage anymore to see if that happens also with that one.

Just filing this one to let you know...in case those are relevant.

Cheers / me

The Global Menubar does not appear immediately after unlock of vault unless org.gtk.Gtk3theme.Breeze-Dark is forced.

The menubar does not appear after unlocking of the vault, and the Global Menubar Plasmoid does not function for http://github.com/flathub/com.bitwarden.desktop unless http://github.com/flathub/org.gtk.Gtk3theme.Breeze-Dark is forced as flatpak run --env=GTK_THEME=Breeze-Dark com.bitwarden.desktop. However, this is such a minor inconvenience that this is not worth the time to remediate, and therefore, this problem is closed.

Application isn’t listed correctly by flatpak

Version 1.7.0
Shell 2.0.7
Renderer 61.0.3163.100
Node 8.9.3
Architecture x64

Flatpak v1.0.4

Issue: Reverse DNS name is missing the last part (should be com.bitwarden.desktop). Every other app behaves fine, so I don’t think that this is an issue of Flatpak.

> flatpak search bitwarden
Application ID Version Zweig  Remotes Beschreibung                                               
com.bitwarden  1.7.0   stable flathub A secure and free password manager for all of your devices.

error: Unable to allocate instance id

"flathub/org.signal.Signal#122 (comment)" and

su -c 'flatpak update'
Last metadata expiration check: 3:12:31 ago on Fri Sep  2 21:43:26 2022.
Dependencies resolved.
Nothing to do.
Complete!

Note that the directory 

'/root/.local/share/flatpak/exports/share'

is not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

may be relevant.

bitwarden 1.28 does not launch to gui

Updating flathub / com.bitwarden.desktop from 1.27.1 to 1.28, then attempting to start bitwarden 1.28 yields no gui app.

From a terminal, 'ps ax|grep -v grep|grep bitwarden' shows bitwarden processes running.

Kill all bitwarden processes, then running from a terminal these error messages:

marty@..... ~ $ flatpak run com.bitwarden.desktop
[2 preload-host-spawn-strategy] Running: /app/bin/zypak-helper child - /app/Bitwarden/bitwarden --type=zygote
A JavaScript error occurred in the main process
Uncaught Exception:
Error: libsecret-1.so.0: cannot open shared object file: No such file or directory
    at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1812)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1203:18)
    at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2039)
    at Module.load (internal/modules/cjs/loader.js:992:32)
    at Module._load (internal/modules/cjs/loader.js:885:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
    at Module.require (internal/modules/cjs/loader.js:1032:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/app/Bitwarden/resources/app.asar/node_modules/keytar/lib/keytar.js:1:14)
    at Module._compile (internal/modules/cjs/loader.js:1152:30)
Gtk-Message: 23:36:46.853: Failed to load module "xapp-gtk3-module"
libGL error: MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information

OS: Linux Mint 20.2 MATE 64-bit
flatpak => v. 1.11.2-1flatpak1~20.04 amd64

I had to revert back to flathub / com.bitwarden.desktop 1.27.1 to continuing using com.bitwarden.desktop.

.

Error showing menu bar

The flatpak version of bitwarden has a missing menu bar. As shown under this screenshot:

image

Top-left is the official AppImage while bottom right is the flatpak version.

$ flatpak run com.bitwarden.desktop 

(node:2) DeprecationWarning: file property is deprecated and will be removed in v5.
(Use `bitwarden --trace-deprecation ...` to show where the warning was created)
[2:0116/124431.435630:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0116/124431.435678:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0116/124431.490257:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0116/124431.490324:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0116/124431.490354:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LaunchProcess: failed to execvp:
xdg-settings
(node:2) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'setContextMenu')
    at TrayMain.updateContextMenu (/app/Bitwarden/resources/app.asar/main.js:51261:23)
    at MessagingMain.updateTrayMenu (/app/Bitwarden/resources/app.asar/main.js:50762:28)
    at MessagingMain.onMessage (/app/Bitwarden/resources/app.asar/main.js:50688:22)
    at MessagingMain.<anonymous> (/app/Bitwarden/resources/app.asar/main.js:50679:151)
    at Generator.next (<anonymous>)
    at /app/Bitwarden/resources/app.asar/main.js:50658:71
    at new Promise (<anonymous>)
    at messaging_main_awaiter (/app/Bitwarden/resources/app.asar/main.js:50654:12)
    at IpcMainImpl.<anonymous> (/app/Bitwarden/resources/app.asar/main.js:50679:79)
    at IpcMainImpl.emit (node:events:527:28)
(node:2) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'setContextMenu')
    at TrayMain.updateContextMenu (/app/Bitwarden/resources/app.asar/main.js:51261:23)
    at MessagingMain.updateTrayMenu (/app/Bitwarden/resources/app.asar/main.js:50762:28)
    at MessagingMain.onMessage (/app/Bitwarden/resources/app.asar/main.js:50688:22)
    at MessagingMain.<anonymous> (/app/Bitwarden/resources/app.asar/main.js:50679:151)
    at Generator.next (<anonymous>)
    at /app/Bitwarden/resources/app.asar/main.js:50658:71
    at new Promise (<anonymous>)
    at messaging_main_awaiter (/app/Bitwarden/resources/app.asar/main.js:50654:12)
    at IpcMainImpl.<anonymous> (/app/Bitwarden/resources/app.asar/main.js:50679:79)
    at IpcMainImpl.emit (node:events:527:28)
(node:2) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

While using KDE I have a workaround with an extension to show that menu at the bottom of my screen but I'd rather have it in the app while wanting to manually sync my vault.

Update to 1.11.2

This is the latest version (as of now) and there were some security related fixes.

An unknown file called "salt" starting showing up

I've been running Fedora Gnome 37 since it's release, never any issues. Today I noticed a new, yet unknown file in my home directory called "salt" and it's only 8 bytes so while it's not much in terms of size, I did not create it and no application that I know of uses it. I've tracked my app using down to it being Bitwarden (flatpak) as the most likely culprit. I have not installed any new applications recently, so this came as a bit of a shock. Not sure if it's just some random, harmless little bug from somewhere or if I should be at all concerned about this.

Screenshot from 2023-03-21 19-45-13

Feel free to let me know if you have any information about seeing this and/or if you need any additional information from me please don't hesitate to ask. When I try to open the file it says "Could not display salt, the file is of an unknown type" so I'm wondering if it's anything nefarious or not or if I could safely delete it. All my applications have been installed from dnf, flatpak, or gnome software, I haven't used any copr repos or anything out of the ordinary; nothing was ever installed outside of the Fedora repos, Flatpak repos, or RPMFusion repos. My .bash_history file in my home directory shows nothing with 'salt' in it either, i've never used the word salt for anything on my computer, which is why I find this odd. So please let me know if this is a result from a possible recent update to Bitwarden's flatpak version, thank you.

Btw, when I open the file 'salt' with Text Editor, this is all I see:

Screenshot from 2023-03-21 20-50-12

Running the application in the background

When running the application with the tray icon enabled, it shuts down completely when closing the main Bitwarden window. I'd have expected the application to continue running in the background, leaving only the tray icon.

Is this the intended behaviour or a bug?

OS: Fedora 31 and Fedora 32 beta
Bitwarden: 1.17.2

Update to 1.8.0

Hello,
Can you update the Bitwarden application to its lastest version?

Thank you

Missing libsecret-1.so.0: Latest flatpak crashes

Hi,

the latest Bitwarden Flatpak from Flathub crashes for me:

$ flatpak run com.bitwarden.desktop
[2 preload-host-spawn-strategy] Running: /app/bin/zypak-helper child - /app/Bitwarden/bitwarden --type=zygote
A JavaScript error occurred in the main process
Uncaught Exception:
Error: libsecret-1.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
    at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1812)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1203:18)
    at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2039)
    at Module.load (internal/modules/cjs/loader.js:992:32)
    at Module._load (internal/modules/cjs/loader.js:885:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
    at Module.require (internal/modules/cjs/loader.js:1032:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/app/Bitwarden/resources/app.asar/node_modules/keytar/lib/keytar.js:1:14)
    at Module._compile (internal/modules/cjs/loader.js:1152:30)
Gtk-Message: 08:15:18.838: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:15:18.838: Failed to load module "pk-gtk-module"
Gtk-Message: 08:15:18.838: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:15:18.838: Failed to load module "pk-gtk-module"
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: MESA-LOADER: failed to open amdgpu: /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/amdgpu_dri.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden (search paths /usr/lib/x86_64-linux-gnu/GL/default/lib/dri)
libGL error: failed to load driver: amdgpu

GPG:

I'm getting a GPG error about missing signatures for the bitwarden package. I haven't modify the flatpak in any way. I did noticed that the package was downgraded from which I assumed was a reverted package. I've already forced removed the flathub remote and re-added which should update the gpg keys if some are missing, but gave me the same results. I am able to install and upgrade other flatpaks as well except this one.

╰─>$ flatpak -v upgrade
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/albert/.local/share/flatpak
Looking for updates…
F: Fetching summary index file for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summary.idx using libsoup
F: Received 2737 bytes
F: Loaded indexed summary file a909dfb132bfef1b607f6df0a2cf07a3a6ea29ddb9257fb2a9620c907e8ed803 from cache for remote ‘flathub’
F: Transaction: update flathub:app/com.bitwarden.desktop/x86_64/stable[*]
###removed unnecessary log lines
F: Fetching summary index file for remote ‘flathub-beta’
F: Loading https://dl.flathub.org/beta-repo/summary.idx using libsoup
F: Received 2687 bytes
F: Loaded indexed summary file 03015240d7add306459665036ab9efcfb8b712966ae9f5bb2ff83bb5a796b227 from cache for remote ‘flathub-beta’
###removed unnecessary log lines


 1.	   	com.bitwarden.desktop	stable	u	flathub	< 112.1 MB

Proceed with these changes to the system installation? [Y/n]: 
Updating…
F: Calling system helper: GetRevokefsFd
F: Calling system helper: GetRevokefsFd
F: flatpak_dir_pull: Using commit 645ef19590ee1ae7ed3826ef948acaf52e73a5dfa6a4c871e848f5e7c5e3be8f for pull of ref app/com.bitwarden.desktop/x86_64/stable from remote flathub
###removed unnecessary log lines
Updating… ████████████████████ 100%  8.6 MB/s  00:00
F: Calling system helper: Deploy
Error: Error pulling from repo: GPG verification enabled, but no signatures found (use gpg-verify=false in remote config to disable)
Updates complete.

Export Vault permissions

Hi
bitwarden has a feature where you can export all your data as JSON or CSV.
In the current configuration, I cannot save that file anywhere due to sandbox restriction.
The workaround is to fire up the application in a command line as follows
flatpak run --filesystem=home com.bitwarden.desktop

This allows access to my home folder in the filestystem, at which point I am able to save and inspect the file.

Should we not add this to the default yaml configuration as well?

Version number not being updated when flathubbot commits new release

When a new Bitwarden version is released, Flatpak detects it on my system and I can install it. However, the version number seems to be stuck with the "2022.5.0" string. I guess that's because it's not being added by flathubbot to the com.bitwarden.desktop.appdata.xml file.

This means that not only flatpak doesn't know the new version number, but also third party software managers such as GNOME Software (they detect newer versions but not the number change). Bitwarden's Flathub site will also contain outdated information (at the moment, it shows that the latest version is 2022.5.0, updated on June 3, 2022, but when it installs 2022.8.1).

'No Folder' view shows all items

Bug description

Clicking 'No Folder' shows all items in the vault.

Steps to reproduce

  1. Open Bitwarden vault,
  2. Click 'No Folder' in left column under 'Folders' subheading,
  3. Observe that all items in the vault are listed in the middle column, same as clicking 'All Items' in left column.

Expected functionality

When clicking 'No Folder' In the left column, only the items that are not saved in a folder should be listed in the middle column.

Other builds

The expected functionality is observed when running the Bitwarden-1.33.0-x86_64.AppImage. The expected functionality was also observed on previous versions of the com.bitwarden.desktop flatpak if I recall correctly.

Flatpak info output

          ID: com.bitwarden.desktop
         Ref: app/com.bitwarden.desktop/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 2022.5.0
     License: GPL-3.0
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 299.1 MB
     Runtime: org.freedesktop.Platform/x86_64/21.08
         Sdk: org.freedesktop.Sdk/x86_64/21.08

Application can’t be started by command line

Version 1.7.0
Shell 2.0.7
Renderer 61.0.3163.100
Node 8.9.3
Architecture x64

Flatpak v1.0.4

I cant start the application fine by the .desktop starter, but when I try to launch it via the command line, I the the following result reproducibly, whereby the application window doesn’t display the real content, but a frozen part of the other windows in the background of the application window:

$ flatpak run com.bitwarden.desktop

> [email protected] start /app/main
> cross-env ELECTRON_IS_DEV=0 ELECTRON_NO_UPDATER=1 electron ./build

bildschirmfoto von 2018-11-19 15-19-12

unable to start Bitwarden since the last update (1.15.2)

Hello,

When I run Bitwarden from the command line, I get this error message :

[3:0815/155649.782135:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /app/bin/chrome-sandbox is owned by root and has mode 4755.

tried to change the permissions with:
sudo chown root chrome-sandbox
sudo chmod 4755 chrome-sandbox

Without effect. Any ideas ?

Thanks

Fails to start on RHEL 7.6

I get an error when trying to run this flatpak:

$ flatpak run com.bitwarden.desktop 
[3:0902/074402.284834:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /app/bin/chrome-sandbox is owned by root and has mode 4755.

flatpak info:

20190902T074326 E1258170@noosl-0r018:~
$ flatpak info com.bitwarden.desktop/x86_64/stable
Ref: app/com.bitwarden.desktop/x86_64/stable
ID: com.bitwarden.desktop
Arch: x86_64
Branch: stable
Origin: flathub
Collection ID: org.flathub.Stable
Date: 2019-08-15 22:06:04 +0000
Subject: Add category to AppStream metadata (4e30eb73)
Commit: 3d8618e0cdaae053e77ab36bb477a4fb45bdbf045cfed06591d78f5c43469cd5
Parent: ecfcdda55d8139e88a8ee95b1852ffd4534bf2f3767861dc8a97099a9e510eba
Location: /var/lib/flatpak/app/com.bitwarden.desktop/x86_64/stable/3d8618e0cdaae053e77ab36bb477a4fb45bdbf045cfed06591d78f5c43469cd5
Installed size: 177.6 MB
Runtime: org.freedesktop.Platform/x86_64/18.08
Sdk: org.freedesktop.Sdk/x86_64/18.08

OS info:

20190902T074327 E1258170@noosl-0r018:~
$ cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.7 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.7"
PRETTY_NAME="Red Hat Enterprise Linux"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.7:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.7
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.7"

not loading up

copy of terminal

[justin@blackbox-lan ~]$ flatpak install flathub com.bitwarden.desktop
Looking for matches…

com.bitwarden.desktop permissions:
    ipc     network     wayland     x11     dri     file access [1]     dbus access [2]

    [1] xdg-download
    [2] com.canonical.AppMenu.Registrar, org.freedesktop.Notifications, org.freedesktop.secrets, org.kde.StatusNotifierWatcher


        ID                             Branch          Op          Remote          Download
 1. [✓] com.bitwarden.desktop          stable          i           flathub         114.6 MB / 114.0 MB

Installation complete.
[justin@blackbox-lan ~]$ flatpak run com.bitwarden.desktop
(node:2) DeprecationWarning: file property is deprecated and will be removed in v5.
(Use `bitwarden --trace-deprecation ...` to show where the warning was created)
Gtk-Message: 08:50:59.423: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:50:59.423: Failed to load module "pk-gtk-module"
Gtk-Message: 08:50:59.423: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:50:59.423: Failed to load module "pk-gtk-module"
[2:0801/085059.432663:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0801/085059.471235:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0801/085059.471282:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0801/085059.471312:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LaunchProcess: failed to execvp:
xdg-settings
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)


             .',;::::;,'.                justin@blackbox-lan 
         .';:cccccccccccc:;,.            ------------------- 
      .;cccccccccccccccccccccc;.         OS: Fedora Linux 36 (Workstation Edition) x86_64 
    .:cccccccccccccccccccccccccc:.       Kernel: 5.18.13-200.fc36.x86_64 
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Uptime: 1 hour, 51 mins 
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Packages: 1883 (rpm), 26 (flatpak) 
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Shell: bash 5.1.16 
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Resolution: 1920x1080 
:cccccccccccccc;MMM.;cccccccccccccccc:   DE: GNOME 42.3.1 
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   WM: Mutter 
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   WM Theme: Adwaita 
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   Theme: Adwaita [GTK2/3] 
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Icons: Adwaita [GTK2/3] 
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     Terminal: gnome-terminal 
cccccc;dNMWXXXWM0::cccccccccccccc:,      CPU: AMD Ryzen 5 5600 (12) @ 3.500GHz 
cccccccc;.:odl:.;cccccccccccccc:,.       GPU: NVIDIA GeForce GTX 1650 
:cccccccccccccccccccccccccccc:'.         Memory: 4511MiB / 31926MiB 
.:cccccccccccccccccccccc:;,..
  '::cccccccccccccc::;,.                                         
        

Start -> Crash

╰─🚀 flatpak run com.bitwarden.desktop               
[2 preload-host-spawn-strategy] Running: /app/bin/zypak-helper child - /app/Bitwarden/bitwarden --type=zygote
A JavaScript error occurred in the main process
Uncaught Exception:
Error: libsecret-1.so.0: no sâha pogut obrir el fitxer dâobjecte compartit: El fitxer o directori no existeix
    at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1812)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1203:18)
    at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2039)
    at Module.load (internal/modules/cjs/loader.js:992:32)
    at Module._load (internal/modules/cjs/loader.js:885:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
    at Module.require (internal/modules/cjs/loader.js:1032:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/app/Bitwarden/resources/app.asar/node_modules/keytar/lib/keytar.js:1:14)
    at Module._compile (internal/modules/cjs/loader.js:1152:30)
Gtk-Message: 11:05:14.157: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:05:14.157: Failed to load module "canberra-gtk-module"
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: MESA-LOADER: failed to open amdgpu: /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/amdgpu_dri.so: no s’ha pogut obrir el fitxer d’objecte compartit: El fitxer o directori no existeix (search paths /usr/lib/x86_64-linux-gnu/GL/default/lib/dri)
libGL error: failed to load driver: amdgpu

Since the last update, it doesn't start.

Error during update (wrong checksum)

Hi, I cannot update to the latest version. I'm having this error:

Error: While pulling app/com.bitwarden.desktop/x86_64/stable from remote flathub: opcode close: Corrupted file object; checksum expected='23cc5c3e69c17a3d51817017b03de494eea0917c417329da09e8fb08cfb531d7' actual='28bded5013ad67c238522b21a05a0c72da19ade5a2b6b94b355e0dc348993353'

Kind regards.

Error loading after recent Fedora update

I updated this flatpak on Fedora 37 recently and it stopped working. Here's the trace:

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=bitwarden --file-forwarding com.bitwarden.desktop @@u %U @@
(node:2) DeprecationWarning: file property is deprecated and will be removed in v5.
(Use `bitwarden --trace-deprecation ...` to show where the warning was created)
A JavaScript error occurred in the main process
Uncaught Exception:
SyntaxError: Unexpected token  in JSON at position 605642
    at JSON.parse (<anonymous>)
    at Conf._deserialize (/app/Bitwarden/resources/app.asar/main.js:6643:43)
    at get store [as store] (/app/Bitwarden/resources/app.asar/main.js:6854:43)
    at new Conf (/app/Bitwarden/resources/app.asar/main.js:6707:32)
    at new ElectronStore (/app/Bitwarden/resources/app.asar/main.js:10432:3)
    at new ElectronStorageService (/app/Bitwarden/resources/app.asar/main.js:49542:22)
    at new Main (/app/Bitwarden/resources/app.asar/main.js:52372:31)
    at 99726 (/app/Bitwarden/resources/app.asar/main.js:43754:18)
    at __webpack_require__ (/app/Bitwarden/resources/app.asar/main.js:54772:42)
    at /app/Bitwarden/resources/app.asar/main.js:54828:37
Gtk-Message: 00:00:45.193: Failed to load module "canberra-gtk-module"
Gtk-Message: 00:00:45.193: Failed to load module "pk-gtk-module"
Gtk-Message: 00:00:45.194: Failed to load module "canberra-gtk-module"
Gtk-Message: 00:00:45.194: Failed to load module "pk-gtk-module"
[2:0111/000045.205755:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0111/000045.205823:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0111/000045.215310:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[2:0111/000045.215377:ERROR:select_file_dialog_linux_portal.cc(242)] Failed to read portal version property

Certificate bundles

I am using the Bitwarden flatpak on an openSUSE host and it seems that Bitwarden is not detecting the self-signed CA certificates I have added to the system by adding the certificates to /etc/pki/trust/anchors and running update-ca-certificates. I am running a self-hosted Bitwarden server that uses a certificate signed by a self-signed CA. Could anyone offer any guidance here?

The symptom is that the UI returns the message "An error has occurred. Failed to fetch" and I see this message in the developer console: "Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID"

Bitwarden icon looks bad in big size

The Bitwarden icon looks very bad when it is displayed using big size. In the following screenshot both Bitwarden, Telegram and Spotify are Flatpaks, but only Bitwarden has this problem.

bitwarden-window-switcher

I am using Linux Mint 19.1 and the Bitwarden package installed from FlatHub:

$ flatpak info com.bitwarden.desktop
Ref: app/com.bitwarden.desktop/x86_64/stable
ID: com.bitwarden.desktop
Arch: x86_64
Branch: stable
Origin: flathub
Collection ID: org.flathub.Stable
Date: 2018-09-05 12:16:39 +0000
Subject: Enable access to secrets (f32239a3)
Commit: 641c2213c1a61dd18a5e8ffe15cecb01d1192731af94c3f6e7b16297f0c2a462
Parent: bfac8442abbc1b886c2aca8fb27bce2bd0909e9b6871a250f6c389bbe95375a2
Location: /var/lib/flatpak/app/com.bitwarden.desktop/x86_64/stable/641c2213c1a61dd18a5e8ffe15cecb01d1192731af94c3f6e7b16297f0c2a462
Installed size: 757,1 MB
Runtime: org.freedesktop.Platform/x86_64/18.08
Sdk: org.freedesktop.Sdk/x86_64/18.08

Bitwarden don't copy passwords in Linux

Directly from bitwarden/clients#5716 (comment)

Steps To Reproduce

Use OpenSUSE Leap 15.5 or NixOS
Install flatpak
Add flathub to the user side
Install bitwarden in userwide flathub
Set minimize when copy passwords to the clipboard
Try to copy a password with the button to do so.

Expected Result

Password in the clipboard, and window minimized
Actual Result

Nothing in the clipboard and window minimized
Screenshots or Videos

No response
Additional Context

No response
Operating System

Linux
Operating System Version

OpenSUSE Leap 15.5
Installation method

Other
Build Version

2023.5.1
Issue Tracking Info

Update to version 1.10.0

There are couple of relevant fixes/features included since version 1.7.0, so it would be nice to upgrade the Flatpak also 🎉

Flatpak version does not respect system dark mode

Steps To Reproduce

Start Bitwarden Flatpak on Fedora 38

Expected Result
Bitwarden to switch to dark mode

Actual Result
Titlebar gets dark but the app stays in light mode

Operating System
Fedora 38

Build Version
Version 2023.7.0 Shell 24.1.1 Renderer 112.0.5615.50 Node 18.14.0 Architecture x64

Screenshot
bitwarden_bug

No global menu under KDE

All is in the title, the menu bar of the app does not integrate with the global menu of KDE (such as on MacOS).
It is linked to the flatpak permissions.
Indeed, when I use flatseal program and add to bitwarden flatpak the com.canonical.AppMenu.Registrar permission into the Sessions Bus -> Talks section, it resolves the issue.

Bitwarden sometimes opens empty

Hi, Bitwarden Flatpak sometimes opens empty.
https://user-images.githubusercontent.com/17685483/225208021-97f9aec8-ddd7-448f-9238-390c8038dba2.png

Bitwarden version:

Version 2023.2.0
Shell 21.3.1
Renderer 106.0.5249.181
Node 16.16.0
Architecture x64

Fedora 37 KDE.

$ flatpak run com.bitwarden.desktop 
(node:2) DeprecationWarning: file property is deprecated and will be removed in v5.
(Use `bitwarden --trace-deprecation ...` to show where the warning was created)
Gtk-Message: 08:07:09.909: Failed to load module "colorreload-gtk-module"
Gtk-Message: 08:07:09.909: Failed to load module "window-decorations-gtk-module"
[2:0315/080709.947966:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0315/080709.948118:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0315/080710.521741:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0315/080710.521904:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0315/080710.522017:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LaunchProcess: failed to execvp:
xdg-settings
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[43:0315/080718.571514:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[43:0315/080720.216686:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[43:0315/080754.104376:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

I only gave it the xdg-config/gtk-3.0:ro filesystem permission to be able to load up the Breeze Dark theme. Without that permission it opens just fine , but with a white theme of course.

Attachments can only be saved in 'Downloads'

When using the Flatpak version of Bitwarden it is only possible to save attachments of secure notes in the 'Download' folder of your homedir. You can navigate to other folders, but it is impossible to save the attachments there.

As this is not an issue when using the browser extension, the AppImage or the Windows application this looks like a bug.

Blank screen on Fedora 35 running on nouveau driver

Bitwarden was running just fine on Fedora 34, but this is not the case anymore with Fedora 35. All I see is a blank screen. If I run it from the console I get this:

[2 preload-host-spawn-strategy] Running: /app/bin/zypak-helper child - /app/Bitwarden/bitwarden --type=zygote
(node:2) DeprecationWarning: file property is deprecated and will be removed in v5.
(Use `bitwarden --trace-deprecation ...` to show where the warning was created)
Gtk-Message: 23:04:12.020: Failed to load module "canberra-gtk-module"
Gtk-Message: 23:04:12.020: Failed to load module "pk-gtk-module"
Gtk-Message: 23:04:12.020: Failed to load module "canberra-gtk-module"
Gtk-Message: 23:04:12.020: Failed to load module "pk-gtk-module"
[2:1112/230412.030234:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1112/230412.127566:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1112/230412.127621:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1112/230412.127678:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LaunchProcess: failed to execvp:
xdg-settings
(node:2) electron: The default of nativeWindowOpen is deprecated and will be changing from false to true in Electron 15.  See https://github.com/electron/electron/issues/28511 for more information.
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[42:1112/230412.146760:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
(node:2) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'setContextMenu')
    at tray_main_TrayMain.updateContextMenu (/app/Bitwarden/resources/app.asar/main.js:2084:23)
    at messaging_main_MessagingMain.updateTrayMenu (/app/Bitwarden/resources/app.asar/main.js:1515:28)
    at messaging_main_MessagingMain.onMessage (/app/Bitwarden/resources/app.asar/main.js:1453:22)
    at messaging_main_MessagingMain.<anonymous> (/app/Bitwarden/resources/app.asar/main.js:1444:154)
    at Generator.next (<anonymous>)
    at /app/Bitwarden/resources/app.asar/main.js:1422:71
    at new Promise (<anonymous>)
    at messaging_main_awaiter (/app/Bitwarden/resources/app.asar/main.js:1418:12)
    at IpcMainImpl.<anonymous> (/app/Bitwarden/resources/app.asar/main.js:1444:82)
    at IpcMainImpl.emit (events.js:376:20)
(node:2) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

BTW I have the same issue with Spotify, and this line appears on both stacktraces: libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.