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

Add (secure) support for browser integration #259

Closed
RlndVt opened this issue Feb 6, 2017 · 25 comments
Closed

Add (secure) support for browser integration #259

RlndVt opened this issue Feb 6, 2017 · 25 comments

Comments

@RlndVt
Copy link

RlndVt commented Feb 6, 2017

Implement a method to allow for browser integration.

As I understand it, both RPC and HTTP have security issues, that can't be fixed (yet?). I believe that work is being done on creating a substitute for them both, but I felt like this deserved it's own issue.

Or does the preference lie in fixing the security issue of RPC/HTTP?

@TheZ3ro
Copy link
Contributor

TheZ3ro commented Feb 6, 2017

Someone is creating a substitute for them both?

I think RPC is still better than HTTP (but that autotype is definetly the best)

@phoerious
Copy link
Member

I'm happy with either solution. Only someone has to do it. We don't have the resources to develop and maintain two browser plugins. And in the best case, you also want a standard that is compatible with other KeePass products. There is a lot of work attached to such a "simple" thing.

@RlndVt
Copy link
Author

RlndVt commented Feb 6, 2017

I might have misread a comment.

I am also happy with either solution.

I imagine focussing on the standard would be best practice, having the browser plugins part external from the KPXC project. Or does that introduce (security) problems?

@ArchangeGabriel
Copy link

Does autotype works under Wayland?

@rockihack
Copy link
Contributor

Autotype doesn't work with wayland.
There is no way to get window titles or raise windows.

@droidmonkey
Copy link
Member

Perhaps that needs to be a feature in wayland? I am not familiar with that project enough to know if that was specifically excluded.

@rockihack
Copy link
Contributor

One goal of wayland is to sandbox applications and windows.
Each wayland compositor needs some form of "rights" management in the long term, but there is none at the moment.

@rockihack
Copy link
Contributor

Just as a side note I got a working non-global autotype for wayland, it sends keys through the linux user input system (uinput). However the user needs to configure it and switch windows manually...

@phoerious
Copy link
Member

Wayland is really an unsolved problem. But you're welcome to create a pull request, so we can start finding an appropriate solution.

@rockihack
Copy link
Contributor

@phoerious I will create a pull reqeust when the implementation is stable.
Do you want to test autotype on wayland?

https://github.com/rockihack/keepassx/tree/wayland-autotype

@phoerious
Copy link
Member

I'll try it when I find the time. Thanks.

@pfoo
Copy link

pfoo commented Mar 28, 2017

I tried both keefox (keepassrpc) and passifox (keepasshttp), I think keefox / keepassRPC is ahead in term of integration, accessibility and functionality but might be harder to port to keepassxc.

Keefox is providing an additional tab in keepass allowing to easily hide the entry from firefox, set priority override, define how to match and URL and add custom URL.
Keefox addon for firefox is also providing a better and less intrusive support for form filling and entry saving as far as I can tell

@phoerious
Copy link
Member

We need a cross-browser solution, though.

@lofidevops
Copy link

Perhaps KeePassXC could instead expose a WebSocket server (example), and serve password data over HTTPS to browser add-ons (implemented as WebSocket clients)?

@lofidevops
Copy link

Just saw Native Messaging suggested as an alternative to an https://localhost / WebSocket solution: #287

@droidmonkey
Copy link
Member

Cool idea but yikes, boost is the last dependency I want to add!

@lofidevops
Copy link

@droidmonkey Which one requires Boost (WebSocket or Native Messaging)?

Perhaps browser integration would be a separate package (there only for those that want it).

@droidmonkey
Copy link
Member

Websocket server requires boost libraries which are basically like adding another​ qt

@seatedscribe
Copy link
Contributor

seatedscribe commented Mar 30, 2017 via email

@soredake
Copy link

soredake commented Mar 30, 2017

@phoerious keefox will be re-written to cross-browser WebExtensions http://keefox.org/news/detail/2017/03/26/changes-to-keefox-in-2017 https://github.com/kee-org/browser-addon, so keepassrpc is a great choice, i think.

@prometheanfire
Copy link
Contributor

passifox/keepasshttp don't seem to support deeper url syntax / matching, making it hard to support subdomains or subfolders / realms. Since keefox does support that I think moving in the rpc support direction would be better.

@dsonck92
Copy link

dsonck92 commented Sep 4, 2017

Websocket server requires boost libraries which are basically like adding another​ qt

I thought that WebSockets were native inside Qt5 for quite some time now which would simply add a dependency on another Qt module

@RlndVt
Copy link
Author

RlndVt commented Mar 2, 2018

With the release of KeePassXC-Browser I believe this can be closed.

@RlndVt RlndVt closed this as completed Mar 2, 2018
@bcm0
Copy link

bcm0 commented Mar 7, 2018

Coming from here https://forum.kee.pm/t/use-with-keepassxc/311 what about Thunderbird?

@droidmonkey
Copy link
Member

What about it? If that is something you want supported then create a new issue please.

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