pfn / passifox

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

KeePassHTTP Url Matching? #312

Open metal450 opened 9 years ago

metal450 commented 9 years ago

Is there some documentation on exactly how ChromeIPass / KeePassHTTP matches sites/urls? I've looked around, but have been unable to find it.

The reason is that I'm finding a number of sites which ChromeIPass doesn't match, but which KeeFox (and LastPass, from which I imported my password list) does. Does it match based on the "Url" field? The title? Both? What kind of substring matches? Is it configurable?

As an extension of this question, there are quite a few sites that use multiple subdomains, or in a few cases even different domains. For instance, https://www.tdameritrade.com and https://invest.ameritrade.com are really the same site with the same login. I'm hoping that with a clearer understanding of which strings are being matched, and what kind of (substring) matching is taking place, I can get ChromeIPass to fill things in a bit more reliably, like LastPass :)

Thanks!

metal450 commented 9 years ago

Here's one example of a site that doesn't match in ChromeIPass (but does in KeeFox): http://screencast.com/t/mINMhCFXPrb

...Although the KeePass entry seems to match the domain exactly: http://screencast.com/t/CHISs5r6tw

VWFeature commented 9 years ago

I haven't seen this issue, but I'm using a plugin 'WebAuto Type', which matches URLs as well as titles. I believe KP matches on page titles not URLs, and looking at your entry, the title is "blueshieldca.com", but the web page title is "BSCA Member Portal.."

Dunno if that's your issue, but try installing one of the enhanced match plugins and see if that fixes the problem? I am only a egg....

metal450 commented 9 years ago

Awesome, thanks! I'll give that a try :)

metal450 commented 9 years ago

Awesome! It looks like WebAutoType did the trick, and ChromeIPass now matches via URL (as well as page title). Thanks again for the tip :)

metal450 commented 9 years ago

...So unfortunately, I've got another one it doesn't seem to match: https://transferwise.com (login button on the upper right). The title of the entry is "transferwise.com" and the URL is "https://transferwise.com" - but even with the WebAutoType plugin, ChromeIPass doesn't fill in either field. Any ideas? Is there something weird with the page that might be preventing it...?

VWFeature commented 9 years ago

The devil's in the details.....I had a site that didn't fill with the URL in KP as 'websitename/" but did match for "websitename". Go figure. The "https://transferwise.com/en" site has a name of "TransferWise Ltd" -did you try that as the name/title? For a fuzzy logic person entitiy, it's obvious, but for a dumb computer, not so...

metal450 commented 9 years ago

Making the title "TransferWise" didn't work, nor did "TransferWise Ltd".

Also, the URL should match substrings - so https://transferwise.com in KeePass should match https://transferwise.com/, https://transverwise.com/en, etc in the browser (just not the inverse, I'd assume)...