varjolintu / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.

Home Page:https://keepassxc.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proxy does not work on MacOS

whisdol opened this issue · comments

Expected Behavior

KeePassXC-Browser is able to start keepassxc-proxy and connect to the database.

Current Behavior

KeePassXC-Browser is unable to connect to the database when the proxy is enabled ("timeout or not connected to KeePassXC").
The configuration in com.varjolintu.keepassxc_browser.json is correct and points to the proxy binary in /Applications/KeePassXC.app/Contents/MacOS/keepassxc-proxy.
When starting the proxy directly from this directory, the following error is displayed in the terminal:

/Applications/KeePassXC.app/Contents/MacOS/keepassxc-proxy ; exit;
dyld: Library not loaded: /usr/local/opt/qt/lib/QtNetwork.framework/Versions/5/QtNetwork
Referenced from: /Applications/KeePassXC.app/Contents/MacOS/keepassxc-proxy
Reason: image not found
fish: '/Applications/KeePassXC.app/Con…' terminated by signal SIGABRT (Abort)

There is no folder named "qt" in /usr/local/opt/.

Possible Solution

Change the linking for the Qt-library or include it in the proxy binary.

Debug Info

KeePassXC - Version 2.2.4
Revision: 7350ff7

Libraries:

  • Qt 5.10.0
  • libgcrypt 1.8.1

Operating system: macOS Sierra (10.12)
CPU architecture: x86_64
Kernel: darwin 16.6.0

Enabled extensions:

  • KeePassHTTP
  • Auto-Type
  • Native messaging browser extension

Fixed with 63f04db. New .dmg is uploaded to the release. Please test it out.

Works, thanks!