smorks / keepasshttp-connector

Extension to allow Chrome and Firefox (4.0+) to auto form-fill passwords from KeePass (requires KeePassHttp) (Deprecated)
GNU General Public License v3.0
247 stars 33 forks source link

[Enchancement]Use password Generation settings from Keepass2 #75

Open Mcinwwl opened 6 years ago

Mcinwwl commented 6 years ago

Hi, As i like generate password icon that pops up in browser, I'd like to ask for a small enhancement for that - if it could somehow use password generation settings I had set up in Keepass2. Currently I don't see any way to change the add-ons password generators settings any way.

I use KeepassX, not XC, and everything is up-to date using current stable releases.

Prometheus720 commented 6 years ago

I'm on Windows using KeePass2. I don't know if KeePassX is a super strict port of KP2 or not, but if it's almost identical then I can help you.

Go into KeePass and click on Tools. Click Generate Password. You will get a menu with a number of rules. You can edit these rules, as you may know. Set the rules you want for your browser, and then save that profile as (Automatically generated passwords for new entries). It should autocomplete that or something.

That's the key. You have to use the specified profile that HTTPConnecter grabs from. By default, it used 20-character keys. I upped it to 30 by doing this and it works great.