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

KeePassRPC.plgx wont compile #228

Closed euri10 closed 10 years ago

euri10 commented 10 years ago

debian just updated testing to version 2.24 of KeePass : apt-cache policy keepass2 keepass2: Installed: 2.24+dfsg-1 Candidate: 2.24+dfsg-1 Version table: *\ 2.24+dfsg-1 0 990 http://ftp.fr.debian.org/debian/ testing/main amd64 Packages 90 http://ftp.fr.debian.org/debian/ sid/main amd64 Packages 100 /var/lib/dpkg/status 2.19+dfsg-2 0 980 http://ftp.fr.debian.org/debian/ stable/main amd64 Packages with 2.23 KeePassRPC.plgx used to compile fine

keepass2 --saveplgxcr give the same error I saw in a thread (can't find it anymore) error CS1705: Assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' referencesMono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' which has a higher version number than imported assembly `Mono.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'

How can I deal with that issue, downgrade to KeePass 2.23 using snapshot.debian.org, but maybe there are other possibilities.

as I read it's mono related, here is what I use apt-cache policy mono-complete mono-complete: Installed: 3.0.6+dfsg2-9 Candidate: 3.0.6+dfsg2-9 Version table: 3.2.3+dfsg-3 0 90 http://ftp.fr.debian.org/debian/ experimental/main amd64 Packages *\ 3.0.6+dfsg2-9 0 990 http://ftp.fr.debian.org/debian/ testing/main amd64 Packages 90 http://ftp.fr.debian.org/debian/ sid/main amd64 Packages 100 /var/lib/dpkg/status 2.10.8.1-8 0 980 http://ftp.fr.debian.org/debian/ stable/main amd64 Packages

luckyrat commented 10 years ago

There's a problem with the the way we work with the Mono.Security library. It's been fixed in the latest build which should be released for beta testing at the weekend or next week.

I'm not sure why a KeePass upgrade would trigger the problem but that's academic now.

If you still have problems with KeeFox 1.3, please open a new issue then.

dlech commented 10 years ago

There is an issue with mono version 3.0.x where plgx files will not compile correctly. This applies to all KeePass plugins, not just KeeFox and all versions of KeePass. So. you will need to upgrade to the mono v3.2.3 package in addition to using the new beta version 1.3 of KeeFox.

Programmist11180 commented 10 years ago

KeePassRPC cannot compile with mono v3.2.3. Other plugins compiles normally.

error CS1705: Assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' referencesMono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' which has a higher version number than imported assembly `Mono.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'

dlech commented 10 years ago

@Programmist11180: If you are using KeeFox < 1.3, then this is expected. Please try with KeePassRPC v1.3. If you still have problems, please open a new issue.

Programmist11180 commented 10 years ago

@dlech , thanks for advice. KeePassRPC now compiles normally.