kee-org / KeeFox

Legacy browser and XUL application integration with KeePass Password Safe. See https://github.com/kee-org/browser-addon for the new version for Firefox 57+
https://forum.kee.pm
418 stars 48 forks source link

Keefox Plugin incompatible with Keepass2? #148

Closed Shuro closed 11 years ago

Shuro commented 11 years ago

Hi there, i try to get KeyPass & KeyFox running under Linux (Linux Mint 12).

Installed the Debian / Ubuntu package without Problem

keepass2 2.20.1+dfsg-0ubuntu1~ppa1~precise1

Also installed KeyFox Stable without Problem

https://addons.mozilla.org/en-US/firefox/addon/keefox/?src=external-kforg-download

Now i tried to copy the plugin from

/home/userhome/.mozilla/firefox/1234.default/extensions/keefox@chris.tomlinson/deps/KeePassRPC.plgx

to

/usr/lib/keepass2/

Now on startup of keypass2 it comes the follow message

The following plugin is incompatible with the current KeePass version:
/usr/lib/keepass2/KeePassRPC.plgx
Have a look at the plugin's website for an appropriate version.

Did someone have an idea where the problem is? On the KeePass-Page is the KeeFox Plugin labled as 2.x compatible

Edit: Added image from keepass2 --debug 2013_02_06_-_Auswahl_001

krbvroc1 commented 11 years ago

I believe this is the usual problem people encounter with Linux and that confusing error message.

In order to get KeeFox plugin running you need Mono. Most Linux distributions ships with something called 'mono-runtime' however that does not include some extra library packages that KeeFox requires. So you need to install something called 'mono-complete'. I believe Linux Mint calls it mono-complete.

krbvroc1 commented 11 years ago

@shuro - did my suggestion of installing mono-complete work? If so, we can close this.

richvdh commented 11 years ago

Actually, I think you just need mono-dmcs, rather than all the stuff in mono-complete.

dlech commented 11 years ago

I just read this recently too. The package maintainer actually added this to the suggested packages list.

https://launchpad.net/ubuntu/+source/keepass2/2.19+dfsg-2

Added to the wiki: https://github.com/luckyrat/KeeFox/wiki/en-|-Running-KeeFox-under-Mono

lamarqua commented 11 years ago

I just tested installing only mono-dmcs under Ubuntu 12.04 and it did not do the trick. I had the same error message (with --debug) as in shuro's screenshot. However installing mono-complete solved the issue. I wouldn't know how to retrieve easily which dependency solved that, though.

dlech commented 11 years ago

OK, final answer (I hope! :smile:)

The quick and easy answer: sudo apt-get install mono-complete

For the minimalists: sudo apt-get install mono-dmcs libmono-system-management4.0-cil

fancypantalons commented 11 years ago

Running Debian sid after a recent upgrade, and alas installing mono-complete doesn't appear to solve this problem.

Any ideas what the underlying problem is? Perhaps there's some other optional package that needs to be installed that's no longer part of mono-complete.

dlech commented 11 years ago

@fancypantalons, I believe sid is using mono 3. If that is the case, you will be interested in the discussion here: https://discussions.zoho.com/keefox/topic/keepassrpc-plgx-not-functioning-with-mono-3

vasyugan commented 10 years ago

I just tried mono-complete from Debian experimental, at version 3.2.3. This should have the bugfix, but it doesn't work either.

dlech commented 10 years ago

@vasyugan: The bug is fixed in 3.2.x, however there is a different issue with conflicting versions of Mono.Security. See this post for more details. Hopefully I have found a fix in isssue #213, so if you have any further input, please post one of those two places - or if you think you have discovered a new issue, open a new issue here on github.

webwake commented 7 years ago

was searching for this and was able to fix it on my computer by installing the latest version of mono and the mono-complete. Not an expert so might have been overkill but it worked.


#source: http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get install mono-complete
sudo apt-get update