« Previous |

Keepass2, KeeFox and Firefox in Debian

Posted by coldtobi | 5 Oct, 2014, 14:26

Took a little to figure out how to install the combo, so here're a few lines:

*NOTE* Its usually not recommended to install forgein code (the plugin), do only so if you trust KeeFox.

First step is to install the plgx file into to /usr/lib/keepass2/Plugins/. Just copy the file as root. The file you need, KeePassRPC.plgx comes with the KeeFox plugin. There is a link to it on the "install KeeFox" page.  For reference, mine was here: $HOME/.mozilla/firefox/<your-profile-id>.default/extensions/keefox@chris.tomlinson/dep (my profile id replaced with an placeholder)

Also, you need to go into the KeeFox settings and set /usr/lib/keepass2/Plugins as KeePassRPC-Plugin installation directory and /usr/lib/keepass2 as KeePass installation location.

Then the tricky part came: When starting KeePass2, it detected the RPC plugin but was somehow unable to compile it, claiming "its not compatible". However, I know that this plugin is working, so this message is misleading.

keepass file

Solution: After a little bit of trying, this was caused by missing mono dependencies which could be fixed by:

apt-get install keepass2 mono-dmcs libmono-system-management4.0-cil

After doing that, keepass recompiles without the message, and also after restarting firefox the plugin starts working.

(For reference, here's a list of all packages installed, with mono in their name:)

# dpkg -l '*mono*' | grep ^ii
ii  libmono-accessibility4.0-cil                                3.2.8+dfsg-7              all          Mono Accessibility library (for CLI 4.0)
ii  libmono-addins-gui0.2-cil                                   1.0+git20130406.adcd75b-3 all          GTK# frontend library for Mono.Addins
ii  libmono-addins0.2-cil                                       1.0+git20130406.adcd75b-3 all          addin framework for extensible CLI applications/libraries
ii  libmono-cairo4.0-cil                                        3.2.8+dfsg-7              all          Mono Cairo library (for CLI 4.0)
ii  libmono-corlib4.0-cil                                       3.2.8+dfsg-7              all          Mono core library (for CLI 4.0)
ii  libmono-corlib4.5-cil                                       3.2.8+dfsg-7              all          Mono core library (for CLI 4.5)
ii  libmono-csharp4.0c-cil                                      3.2.8+dfsg-7              all          Mono.CSharp library (for CLI 4.0)
ii  libmono-data-tds4.0-cil                                     3.2.8+dfsg-7              all          Mono Data Library (for CLI 4.0)
ii  libmono-i18n-west4.0-cil                                    3.2.8+dfsg-7              all          Mono I18N.West library (for CLI 4.0)
ii  libmono-i18n4.0-cil                                         3.2.8+dfsg-7              all          Mono I18N base library (for CLI 4.0)
ii  libmono-microsoft-csharp4.0-cil                             3.2.8+dfsg-7              all          Mono Microsoft.CSharp library (for CLI 4.0)
ii  libmono-posix4.0-cil                                        3.2.8+dfsg-7              all          Mono.Posix library (for CLI 4.0)
ii  libmono-security4.0-cil                                     3.2.8+dfsg-7              all          Mono Security library (for CLI 4.0)
ii  libmono-sharpzip4.84-cil                                    3.2.8+dfsg-7              all          Mono SharpZipLib library (for CLI 4.0)
ii  libmono-system-configuration-install4.0-cil                 3.2.8+dfsg-7              all          Mono System.Configuration.Install library (for CLI 4.0)
ii  libmono-system-configuration4.0-cil                         3.2.8+dfsg-7              all          Mono System.Configuration library (for CLI 4.0)
ii  libmono-system-core4.0-cil                                  3.2.8+dfsg-7              all          Mono System.Core library (for CLI 4.0)
ii  libmono-system-data4.0-cil                                  3.2.8+dfsg-7              all          Mono System.Data library (for CLI 4.0)
ii  libmono-system-drawing4.0-cil                               3.2.8+dfsg-7              all          Mono System.Drawing library (for CLI 4.0)
ii  libmono-system-enterpriseservices4.0-cil                    3.2.8+dfsg-7              all          Mono System.EnterpriseServices library (for CLI 4.0)
ii  libmono-system-management4.0-cil                            3.2.8+dfsg-7              all          Mono System.Management library (for CLI 4.0)
ii  libmono-system-runtime-serialization-formatters-soap4.0-cil 3.2.8+dfsg-7              all          Mono System.Runtime.Serialization.Formatters.Soap Library (for CLI 4.0)
ii  libmono-system-security4.0-cil                              3.2.8+dfsg-7              all          Mono System.Security library (for CLI 4.0)
ii  libmono-system-transactions4.0-cil                          3.2.8+dfsg-7              all          Mono System.Transactions library (for CLI 4.0)
ii  libmono-system-windows-forms4.0-cil                         3.2.8+dfsg-7              all          Mono System.Windows.Forms Library (for CLI 4.0)
ii  libmono-system-xml4.0-cil                                   3.2.8+dfsg-7              all          Mono System.Xml library (for CLI 4.0)
ii  libmono-system4.0-cil                                       3.2.8+dfsg-7              all          Mono System libraries (for CLI 4.0)
ii  libmono-webbrowser4.0-cil                                   3.2.8+dfsg-7              all          Mono Web Browser library (for CLI 4.0)
ii  mono-4.0-gac                                                3.2.8+dfsg-7              all          Mono GAC tool (for CLI 4.0)
ii  mono-dmcs                                                   3.2.8+dfsg-7              all          Mono C# 4.0 compiler for CLI 4.0 (transitional package)
ii  mono-gac                                                    3.2.8+dfsg-7              all          Mono GAC tool
ii  mono-mcs                                                    3.2.8+dfsg-7              all          Mono C# 2.0 / 3.0 / 4.0 / 5.0  compiler for CLI 2.0 / 4.0 / 4.5
ii  mono-runtime                                                3.2.8+dfsg-7              amd64        Mono runtime - default version
ii  mono-runtime-common                                         3.2.8+dfsg-7              amd64        Mono runtime - common files
ii  mono-runtime-sgen                                           3.2.8+dfsg-7              amd64        Mono runtime - SGen

Blog and Website | Comments (0) | Trackbacks (0)

Related Articles:

0 Comments | "Keepass2, KeeFox and Firefox in Debian" »