2FA support no longer working due to the API being deprecated
Closed this issue · 3 comments
Steps to Reproduce
- Open KeePass 2
- Add the "2FA Support" column via right clicking on another column, clicking "Comfigure Columns...", add 2FA Support if not already added.
- Use eyes to tell and discover that said column is empty
- Get disappointed and confused because it was there last time you checked. Decide to try and fix it.
- Go to this Git in order to find info. Search the index page for "support". Find the URL which the function uses.
- Go to that URL (https://api.2fa.directory/v2/tfa.json)
- Recieve the JSON error message;
{
"error": "This API version is no longer supported. Upgrade to version 3: https://2fa.directory/api/"
}
- Create this bug report, try to be witty and not just a demanding entitled dimwit because you actually work in IT and deal with those all the time.
- Ask nicely that someone has time to fix it, cross fingers.
- Tell you that the actual list is over and the remaining points are moot.
- Try to convey puppy eyes via text.
- Remember that there is no way to do that.
- Point out that you tried.
- Still be somewhat sad.
- ???
- Profit.
Expected Behavior
The "2FA Support" column should say "Yes" or "No".
Actual Behavior
The "2FA Support" column is not populated.
Context
OS: Windows 10 Enterprise x64
KeePass Version: 2.55 x86 installed
Plugin Version: Latest (v1.7)
- Inform the creator of this issue that KeePassOTP does NOT provide a column named "2FA Support"
- Ask the creator of this issue whether he uses the "KP2faChecker" plugin which provides this column?
- Wonder where in the current sourcecode the https://api.2fa.directory/v2/tfa.json URL was found?
KeePassOTP does not use https://api.2fa.directory/v2/tfa.json, it uses https://api.2fa.directory/v3/tfa.json instead which is working
In addition, column "KPOTP" will show "Setup 2FA" if 2FA is possible but not set up yet. If possible AND set up, it will show the OTP or - depending on your config - the "2FA defined" => No need for one more column "2FA Support"
Hi, thanks for the quick reply!
- Then why does both the plugin and the landing page of this git say that it does?
- I am not using KP2faChecker. It is very possible that I have done so in the past though.
- I did not look through the source code, the URL is listed on the landing page for this Git; https://github.com/rookiestyle/keepassotp/?tab=readme-ov-file#two-factor-authentication--internet-access
EDIT: Installed KP2faChecker which made the column work again. Thank you for the hint.
- Then why does both the plugin and the landing page of this git say that it does?
The plugin does not say so and the landing page says so because it's kind of documentation and... not 100% accurate.
Working in IT, this should not be a big surprise :)
EDIT: Installed KP2faChecker which made the column work again. Thank you for the hint.
You're welcome.
I still think you don't need it as the KPOTP will show the same information.
What are you missing in KPOTP column?