I’m not sure if I’m just doing something wrong here or if this is a problem for everybody, but I can’t seem to get Kee to recognize the GitHub MFA form. It’s properly filling in the initial login form (username and password) and I’ve got the Tray TOTP plugin installed and working properly (e.g. I can use the plugin in KeePass proper to generate TOTP codes which are accepted by the site). Also, I know the {TOTP}
placeholder is working because if I enter it in, say, the username field I see the expected result show.
For those who don’t have access to the page in question, the form element that GitHub uses to collect your TOTP response has the following properties:
URI: https://github.com/sessions/two-factor
CSS ID: otp
“name” attribute: otp
“type” attribute: tel
Here’s the full HTML of the element, in case I left out something relevant:
<input name="otp" id="otp" value="" autocomplete="off" autofocus="autofocus" class="form-control input-block" type="tel">
After doing basically every other trial and error thing I can think of, my best guess at this point is that Kee is ignoring the field because it’s of type “tel” (instead of, say, “text” or “password”). Unfortunately, the “Type” setting in the form field definition editor is a drop-down menu instead of a free text field, so I can’t specify an arbitrary value and the provided values (Text, Password, Radio, Checkbox, and Select) don’t include the necessary value.
This is what I have in the definition editor now:
Name: otp
Type: Text
Id: otp
Page: 2
Value: {TOTP}
KeePass placeholders: Enable [since my database default is to disable them]
As far as I’ve been able to guess from the available information, this is what’s supposed to go in there:
Name: The form element’s HTML “name” attribute
Type: The form element’s HTML “type” attribute
Id: The form element’s CSS ID, if available (otherwise, empty)
Page: Ignored, but may be used in the future for formalized multi-page logins
Value: The string to auto-fill
KeePass placeholders: Enable [since my database default is to disable them]
I also tried adding otp
to the list of whitelisted form IDs, both globally and as a per-site for github.com
, but nothing I have tried has ever gotten Kee to fill anything into that field.
Any ideas? Does anybody have a working example of a two-page auto-fill with MFA? (Or a two-page login of any kind, for that matter )