Kyrodan / KeeAnywhere

A cloud storage provider plugin for KeePass Password Safe
https://keeanywhere.de
MIT License
681 stars 84 forks source link

plgx version 2.0.3 will not work under Keepass v2.54 #381

Open alabamatoy opened 11 months ago

alabamatoy commented 11 months ago

Keepass 2.54 installed on Ubuntu 20.04.6 will not work, gives following error upon starting Keepass: Screenshot from 2023-07-10 09-45-32 Keepass was installed using

sudo add-apt-repository ppa:ubuntuhandbook1/keepass2
sudo apt install keepass2

If the graphic is not visible, its a dialog box that states:

The following plugin is incompatible with the current Keepass version: /usr/lib/keepass2/plugins/KeeAnywhere-2.0.0.plgx

Have a look at the plugin's website for an appropriate version.

On some systems, the "mono-complete" package may be required for plugins to work properly.

I am reluctant to install a complete development environment, as I am not sure of what side-effects may occur.

Any help would be appreciated.

Realcool commented 9 months ago

I had a similar issue in Windows 7 with Keepass 2.54 64-bit when I tried to load the last plugin version. I believe could be the same issue.

imagen

Kyrodan commented 9 months ago

Hi,

In general this combination works at my machine:

Realcool @.***> hat am 10.09.2023 17:41 CEST geschrieben:

I had a similar issue in Windows 7 with Keepass 2.54 64-bit when I tried to load the last plugin version. I believe could be the same issue.

[imagen] https://user-images.githubusercontent.com/872693/266845753-19bb8f1c-457b-4b9a-89e9-d4ba416aa968.png

— Reply to this email directly, view it on GitHub https://github.com/Kyrodan/KeeAnywhere/issues/381#issuecomment-1712846022, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACWW2SKNY6U4P5KDPO7CDDXZXNSJANCNFSM6AAAAAA2EST3QM. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Z600lan1 commented 9 months ago

me too keepass 2.54 and 2.53

image

Z600lan1 commented 9 months ago

window 10 64 bit

mailyspamy commented 9 months ago

same issue windows 8.1 32bit

mailyspamy commented 9 months ago

same issue windows 8.1 32bit

I did find solution. Install newer dot net. I installed 4.7.1 and it works. there is probably version read problem. Because installed 4.7.1 but in regedit is this 4.7.03062. The same was with 4.6.1 which is minimum acording release note, but in regedit was shovn 4.6.10? and after instalation 4.6.2 was shown 4.6.15? KeeAnywhere has probably problem with version translation. edit: so still not working. plugin is loaded but any try to connect to cloud ends with freeze. edit2: it is needed to start keepass as administrator and than is possible to connect to cloud This is really terrible user expearience :D I also ended with dot net 4.8

cacophobe commented 6 months ago

From my recent experience with KeePass 2.55 on Windows 11, it requires that KeePass is started with 'Admin' or 'root' privileges when initializing the plugin for the first time. My guess is it's because it needs access to the system's secure credentials storage. Once you have the credentials of your cloud provider authenticated and saved, you can start KeePass normally.

gabrielballone commented 3 months ago

Windows 7 SP1 (64-bit) - Keepass 2.56 (64-bit) same incompatibility problem message. Only works with .NET Framework 4.8 and need to run as admin the first time for compiling and for adding a new Google Drive account. Once installed and configured runs well with normal user.

Jackabomb commented 3 months ago

@gabrielballone @cacophobe To those who have found you need admin to connect, I have two questions:

  1. Is your user account capable of admin privileges or do you have to authenticate as a different user to run as admin? (for example, at home I click "run as admin" and the box just asks yes or no; at work, I click run as admin, and the box forces me to enter another username/password which I don't have so I have to call IT)
  2. What cloud provider are you using? Google Drive, by chance?
gabrielballone commented 3 months ago
  • Is your user account capable of admin privileges or do you have to authenticate as a different user to run as admin? (for example, at home I click "run as admin" and the box just asks yes or no; at work, I click run as admin, and the box forces me to enter another username/password which I don't have so I have to call IT)

In my case, my user has admin privileges. I've just need to select "run as admin" and click yes.

  • What cloud provider are you using? Google Drive, by chance?

I'm using Google Drive. To get clear, I only need to "run as admin" to add a storage location and do the authentication process. Not for compiling/installing the plug-in. I need to do same procedure for any other cloud provider that I want to add. I've test it with Dropbox too.

Jackabomb commented 3 months ago

@gabrielballone , maybe you and @mailyspamy are seeing the same issue as #301? That's my first thought when people say they needed admin rights to add an account. I'm not sure if KeeAnywhere actually uses the Windows credential storage, but I know I've never needed admin access to add accounts (except for the issue I linked of course), just for installing the plugin.

I'm not sure @cacophobe is seeing the same thing though. That issue has never been seen to affect Windows 10 (or later) before.

cacophobe commented 3 months ago

This time I tried, on Windows 11, the User Account had Administrator privileges, so I just had to press the Yes button on the UAC prompt.

But in case it helps, the last time I had tried a few years back on Windows 10, I had faced the same issue. But back then, I used to have a separate Administrator account, so I had to type the Administrator password at the prompt.

As for the second question, I am using Dropbox as the cloud provider.

In case most Windows users are not having this issue, it may be some settings that I usually tweak in my windows installations that are causing it.

On March 21, 2024 3:20:51 PM UTC, Jackabomb @.***> wrote:

@gabrielballone @cacophobe To those who have found you need admin to connect, I have two questions:

  1. Is your user account capable of admin privileges or do you have to authenticate as a different user to run as admin? (for example, at home I click "run as admin" and the box just asks yes or no; at work, I click run as admin, and the box forces me to enter another username/password which I don't have so I have to call IT)
  2. What cloud provider are you using? Google Drive, by chance?