J3 Issue ?
avatar hollaho
hollaho
22 Oct 2017

Steps to reproduce the issue

This is a feature request: Currently the choice is to use google authenticator or yubico OTP.
Which is already not bad, but it could be even better. One cannot choose to use U2F and it is not possible to have a 2nd backup key (possible in U2F mode only) without creating e.g. multiple admin accounts. The OTP mode makes the website also dependant on yubico's cloud for the login.

Expected result

Support FIDO U2F as well, allow multiple keys for backup.

Actual result

Only google auth or yubico OTP supported. No backup keys.

System information (as much as possible)

No relevant

Additional comments

Kudos for implementing a meaningful 2FA at all. But the more general approach of U2F would be better.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar hollaho hollaho - open - 22 Oct 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Oct 2017
avatar brianteeman
brianteeman - comment - 27 Oct 2017

Did you know that there is a free extension available that will do this?
https://www.akeebabackup.com/products/loginguard.html

avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Oct 2017
Status New Information Required
avatar Quy
Quy - comment - 2 Dec 2017

Since there is already a free extension, is it necessary to implement/include in the core?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Dec 2017

can Release Lead @mbabker make a Decision?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18389.

avatar hollaho
hollaho - comment - 9 Dec 2017

This is indeed a policy decision.

I personally consider the login/auth part of core functionality and did not even expect it to be something done by 3rd party plugins, so did not know about the existence of Akeebas 3rd party plugin. Especially as joomla does offer 2FA itself as a core feature, just not the more modern U2F method.

Reading the description of Akeebas Login guard, it actually does not change the normal login process, but redirects to a 2nd login to affect the 2FA. Technically that is a bit unelegant and certain info may leak, as joomla considers the user logged in and Akeebas plugin just tries to intercept it until the 2FA is also solved.

avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Dec 2017
Status Information Required Discussion
avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar Aditza2015
Aditza2015 - comment - 25 Apr 2018

U2F support is sorely needed directly in the Joomla core.

i tried Akeeba LoginGuard but even with U2F enabled LoginGuard uses mandatory backup codes as a bypass mechanism and it's not allowed to disable the codes. akeeba/loginguard#44

avatar brianteeman
brianteeman - comment - 25 Apr 2018

The option to never have emergency onetime use backup codes is never going to happen here either for exactly the same reason given here akeeba/loginguard#44

avatar Aditza2015
Aditza2015 - comment - 25 Apr 2018

even with backup codes, it would be safer if the Joomla core was handling them than a 3rd party plugin that does a redirect for the 2FA login.
More people are looking at the core than at 3rd party plugins. I never even knew about LoginGuard before reading about it today in this thread and trying it - it definitely looks interesting but at the same time has me worried.

avatar brianteeman
brianteeman - comment - 25 Apr 2018
  1. its written by the same person that wrote the current core 2fa
avatar Vednier
Vednier - comment - 14 May 2018

Since Firefox 60 release FIDO U2F was superseded by WebAuthn/FIDO 2.0 (includes support for U2F tokens), which also will be implemented in Chrome 67, and in some sort in MS Edge and Safari. Previously U2F was supported officially by Chrome and, partially, in Firefox, disabled by default.
Joomla already supports Yubikey and WebAuthn probably will be much more widely used.

avatar brianteeman
brianteeman - comment - 14 May 2018

@Vednier that will not help for joomla as we have to support many browsers that don't support it

avatar wilsonge wilsonge - change - 18 Aug 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-08-18 12:27:05
Closed_By wilsonge
avatar wilsonge
wilsonge - comment - 18 Aug 2018

I don't see us adding any additional core 2fa plugins at this time. Practically this only needs to be a plugin and not a full blown extension as Nic chose to do with Akeeba. The API exists. It just requires someone to write an extension for it. At a very quick glance for example this plugin which claims to have u2f support https://extensions.joomla.org/extension/openotp-authentication/

I'm going to close this PR right now. Of course if someone does propose it as code though I'd be happy to review it at that time.

avatar wilsonge wilsonge - close - 18 Aug 2018

Add a Comment

Login with GitHub to post a comment