-
Notifications
You must be signed in to change notification settings - Fork 39
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
Allow custom secrets path and multiple passwords for the same website #40
Conversation
ebbbc08
to
f062a5e
Compare
Just a nudge on this. Are these new features of any interest? |
very much of interest, I was sick for a few days and got swamped with work. I do have some time now and will try to finish the review for both PRs today |
Read any other username/password pairs from any given secret on top of the default "username"/"password" pair For example, if a secret has the following keys: { "username": "myusername", "password": "mypassword", "username.2": "other username", "password.2": "other password", "username for test": "test username", "password for test": "test password" } then 3 sets of credentials will be loaded for that one secret: myusername/mypassword other username/other password and test username/test password
f062a5e
to
5507d5c
Compare
To avoid to many false positive, only widen the search for a potential username field to generic text fields when a password field is in a form or the user manually requested credentials to be filled on the current web page
5507d5c
to
2b854b1
Compare
@Gerard-CK - I rebased your code on the other PR that I merged before. It all looks fine to me and I'm ready to merge, just wanted to give you a chance to have a quick look over it yourself if you have the time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Hi, sorry to hear that you were sick but good to hear you're back and in good shape. Cheers |
This is a relatively big PR with major enhancements.
I suggest reviewing one commit at a time starting from the oldest one first.
Enhancement 1:
Allow more than one password per website. VaultPass can now extract multiple username/password pairs from any given secret [possibly address issue #33]
Enhancement 2:
User can specify which KV store they wish to use (the default still being /secret/vaultPass) [possibly address issue #20]
Bug fixes:
No matching key found for this page
only once instead of once per selected directory