flathub / org.chromium.Chromium

https://flathub.org/apps/details/org.chromium.Chromium
43 stars 25 forks source link

KeePassXC-Browser does not connect with KeePassXC #39

Open jedenastka opened 3 years ago

jedenastka commented 3 years ago

KeePassXC-Browser extension can't connect to native KeePassXC instance.

image

(It says: Key exchange did not succeed.).

I don't know if I should report it here or on KeePassXC-Browser repo, but it works with native Chromium browser provided by Debian so I guess it's not it's fault.

Here is an extenstion activity log: exported_activity_log_oboonakemofpalcgghocfoadofidjkkk.txt

Also the Chromium output:

~ $ flatpak run org.chromium.Chromium --enable-extension-activity-logging
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[39:39:1212/171004.980863:ERROR:vaapi_wrapper.cc(547)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[39:39:1212/171004.980971:ERROR:vaapi_wrapper.cc(557)] vaInitialize failed using DRM: unknown libva error
Failed to load cookie file from cookie: Operacja niedozwolona
[41:55:1212/171404.402303:ERROR:object_proxy.cc(621)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[41:55:1212/171404.402323:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd5 (isEnabled)
[41:55:1212/171404.402523:ERROR:object_proxy.cc(621)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[41:55:1212/171404.402535:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd5
[41:55:1212/171404.402767:ERROR:object_proxy.cc(621)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[41:55:1212/171404.402777:ERROR:kwallet_dbus.cc(418)] Error contacting kwalletd5 (close)

My OS:

~ $ inxi -S 
System:
  Host: pecet Kernel: 5.9.0-12.1-liquorix-amd64 x86_64 bits: 64 
  Desktop: KDE Plasma 5.20.4 Distro: Debian GNU/Linux bullseye/sid
xalt7x commented 3 years ago

This issue is probably similar to #34

gasinvein commented 3 years ago

I think here is also another (probably unrelated) bug: Chromium can't connect to KWallet.

Erick555 commented 3 years ago

Try using --talk-name=org.kde.KWallet (you may confirm with --log-session-bus if this is correct dbus address.

refi64 commented 3 years ago

This is definitely due to native extension hosts. Kwallet would be a different issue however.

AsavarTzeth commented 3 years ago

For reference: https://github.com/flathub/org.keepassxc.KeePassXC/issues/29

When I last worked on something similar for Firefox and KeePassXC (both as flatpaks) all browsers on Flathub lacked the necessary native host extension points. I am happy to see that is no longer the case.

One question though: Would it be possible to standardize the native host extension prefix similar to: org.freedesktop.LinuxAudio.BaseExtension. I would love to work on this, but I dislike the idea of having to maintain a duplicated flatpak extension for each browser.

Edit: How could I miss #49