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 new handler get-logins-by-names #227

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ScottDennison
Copy link

As well as being a useful tool for helping with browser based logins, KeePass+KeePassHTTP could also be a useful tool for retrieving username/passwords for use in programs, instead of hardcoding credentials into them. However, for this use case, accessing entries by URL is not very helpful, instead it is better to access by name/title. It is also feasible that multiple entries will be needed by a single program.
This pull requests adds support for a new request type 'get-logins-by-names', where a list of names (encrypted in the same way as other request strings), instead of a URL, is provided.

At some point in the future, I will also upload to github, the java class library that I wrote to uses get-logins-by-names to retrieve entries.

Scott Dennison added 3 commits May 3, 2014 22:02
Fixed get-logins-all to actually do what it says in its name, rather
than a unpredictable subset due to incorrect regular expression use, and
also added get-logins-by-names, to allow returning of multiple
non-linked credentials.
Conflicts:
	KeePassHttp.plgx
	KeePassHttp/KeePassHttp.cs
	latest-version.txt
	update-version.txt
…ecompiling pglx and removing some unnecessary changes, so that it is hopefully ready for a pull request.
@ScottDennison ScottDennison changed the title Add support for get-logins-by-names Add support for new handler get-logins-by-names Aug 15, 2015
@ScottDennison ScottDennison changed the title Add support for new handler get-logins-by-names Add new handler get-logins-by-names Aug 15, 2015
@pfn
Copy link
Owner

pfn commented Mar 22, 2016

thanks, I finally reviewed this, and it looks good to go, please rebase and remove the committed plgx file

@ScottDennison
Copy link
Author

I have had a look at #233 and noticed that it's comitter added code that I am missing in my new handler and probably should have (for the allow dialog, and things like sorting). Would you prefer that these were added before I went ahead?

@pfn
Copy link
Owner

pfn commented Mar 23, 2016

lets assume @berrnd isn't staying on top of this and that you'll get in before #233 -- so please implement a common allow dialog/sorting (if you want to add that) as part of your rebase

@berrnd can rebase/integrate on top of your changes since he will need to rebase anyway.

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

Successfully merging this pull request may close these issues.

2 participants