Add new handler get-logins-by-names #227
Open
+123
−44
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.