Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin for KeePass 2 to use KeePassXC Browser #2631

Closed
Skrelpoid opened this issue Jan 21, 2019 · 12 comments
Closed

Plugin for KeePass 2 to use KeePassXC Browser #2631

Skrelpoid opened this issue Jan 21, 2019 · 12 comments

Comments

@Skrelpoid
Copy link

It would be very cool if you could make a plugin for KeePass 2 so your new KeePassXC Browser extension works with the original KeePass. Since you already did this in the past with KeePass Http I think it is reasonable to do the same thing for your new browser integration.

Expected Behavior

The plugin should to the user work the same as KeePass http but should use the method (named pipes I believe) that works with KeePass Xc Browser

Current Behavior

Currently there's only the KeePass http plugin as for KeePass 2, which is deprecated

Possible Solution

Steps to Reproduce

Context

Debug Info

Libraries:

  • LIBS

Operating system: Windows
CPU architecture: x64
Kernel: KERNEL

Enabled extensions:

  • EXTENSIONS
@droidmonkey
Copy link
Member

This would be great for getting people weened off the old HTTP plugin, which I slightly abandoned at this point. Does anyone have sufficient C# skills to pull this off? It could start out as a fork of the existing HTTP plugin similar to what we did for the browser integration in KeePassXC.

@yan12125
Copy link
Contributor

I guess this is worth a look - https://github.com/smorks/keepassnatmsg

@droidmonkey
Copy link
Member

I thought I saw that before, excellent!

@Skrelpoid
Copy link
Author

Skrelpoid commented Jan 23, 2019

Sadly KeePassNatMsg doesn't work that well. (see smorks/keepassnatmsg#25)
The biggest problem for me is that saving the connection doesn't work. After closing KeePass and reopening it, KeePassXC-Browser doesnt recognize the connection anymore and I have to reconnect
natmsg
The update notice is also kind of annoying.
Maybe someone here can fork the plugin and make a compatible version with the browser extension
Edit: Also, the password generator doesn't seem to work at all with the browser extension. It just says "Can not receive generated password. Is KeePassXC running?"
So maybe someone can build support for that?

@Skrelpoid
Copy link
Author

It seems the new version of NatMsg works well. So a new "official" plugin is probably not needed

@auwsom
Copy link

auwsom commented Apr 17, 2020

It would be very useful to use plugins, such as this to sync to a cloud db file. Especially now that LastPass for mobile is $40/year, and KeePassXC is the most active KP manager available on Ubuntu.
https://sourceforge.net/projects/kp-googlesync/

Nevermind, I just found there is an actual port of KP to Ubuntu named keepass2 which allows plugins (https://askubuntu.com/questions/127796/where-is-keepass2-plugins-directory). I think the draw to KPXC for me was the browser integration, but honesty, I dont like connecting my browser to my most secure DB file and I can use the Tusk Chrome extension to sync a low importance DB file to Google Drive. I just needed a way to edit it remotely and hopefully the plugin above will let me do that. And good riddance LastPass, you served your purpose, but I always hated how cantankerous your UI functions were.

@droidmonkey
Copy link
Member

droidmonkey commented Apr 17, 2020

Tusk is no longer maintained and should be considered extremely high risk. We offer by far the most secure browser integration on the market.

We have decided to never support a plugin approach, it leads to people using random, stale code running in their secure software. We are a "batteries included" type of software.

@auwsom
Copy link

auwsom commented Apr 17, 2020

Thanks @droidmonkey, for the information. As I said, this is just for low importance accounts and signins, but good to know.

Re batteries included.. then could you include a method to sync a cloud file on Linux without having to install a heavyweight full sync app like GDrive? I guess this is where the plugins still shine. Stale, but at least they exist.

Im sure theres some short snippet to sync a db file on a cron job, after setting up authentication. Probably semi-trivial, but also possibly semi-trivial for KPXC to suggest such a procedure or build in a simple sync option, which would then benefit many more people than just myself.

Then again, there is still no remove duplicates function in KPXC, I think provided by the stock KP application, so I guess I wont hold my breath and go with the 'stale' plugin and 'unmaintained' extension, so I can get back to working on my actual work ;). Thanks for your quick reply though..

@droidmonkey
Copy link
Member

This isn't the issue to discuss this on, but there are so many great options to handle cloud file syncing on all operating systems. Why would we invest the time to integrate it into KeePassXC above other more important features that do not have alternatives?

https://github.com/gdrive-org/gdrive/blob/master/README.md

@auwsom
Copy link

auwsom commented Apr 17, 2020

Thanks again, also good to know, and its only 7mbs. You might want to provide a link to that in KPXC as one of the primary ways to sync. I know it may seem obvious, but the regular plugins are the first goto for many simply by convention. It is also nice to have a dedicated function and auth, so that if people can use a different G accounts (I think this GDrive only allows one, another reason why I dont use it, along with providing an open window right to my files if someone steals my laptop). At least a plugin is modestly obscured long enough for me to change all my account passwords. (And its not running in the background doing god knows what else for Google).

Also, are you saying 'remove duplicates' function has an alternative? What is more important than porting over the stock functionality? Don't get me wrong, I really appreciate the maintenance of these critical utilities, but the Keepass2Android app will sync with many clouds, so I just dont know why that is a difficulty here if this is the most maintained KP manager.

On a related note, like Tusk, KPXC doesnt seem like it will auto-ask and save passwords. Is that correct? So I have to save with Google, export and then import in KP, then sync to the android app. Its all a big pain. I realize its free compared with LastPass, but its not like this hasnt been done a hundred times before. (granted I realize recognizing every password field is a challenge, but simple ones should be easy). Thoughts?

@droidmonkey
Copy link
Member

Our extension does ask you if you want to save new accounts / passwords when it recognizes them.

@auwsom
Copy link

auwsom commented Apr 18, 2020

Okay, that is good to know. I may use it for that purpose.

re gdrive, I dont like having to install more things, because it one more thing I have to reinstall when reinstalling the OS, especially if they arent listed in an ubuntu repo, however after working on this what should be a simple problem for hours trying every solution I will list link to below for future searchers, I am giving in to this idea. Kubuntu has a kio-gdrive client, and according to where my search ended on a KeeAnywhere GitHub repo, it can be used, with caveats, to sync with GDrive. There is also a solution using the dll from KeeAnywhere and Mono with KP portable 2.43, which is the in following issue comment in that link.

Unfortunately, though gdrive-org solutions is nice being precompiled and small, it fails in Ubuntu with error after opening the Google authentication link "Sign in with Google temporarily disabled for this app..This app has not been verified yet by Google in order to use Google Sign In.".

Yeah, the more I use the original KP, the more I remember that I was missing basic features like 'Find Duplicates' that can give you a preview before Removing Duplicates sorted based on identical passwords and then alphabetically. Thats useful for syncing (or merging) files from different sources (Google), that might not look like the same entry. Although it looks like any collisions would be stored in history, and they are compared by a 'combination of user name / password' (https://keepass.info/help/v2/sync.html). I also miss having the automatic LastPass (and many more) file import vs manually setting the fields. Auto-type would be nice, and should work on linux, but not for me. https://thelinuxexperiment.com/set-up-keepass-auto-type-on-linux/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants