?
avatar ajejebrazorf01
ajejebrazorf01
19 Mar 2019

Steps to reproduce the issue

Enable plugin "Two Factor Authentication - Google Authenticator"

Expected result

When Google Authenticator is enabled in user profile the QR Code is generated

Actual result

QR code is not generated

System information (as much as possible)

Joomla 3.9.4

Additional comments

Qr code is generated in /libraries/fof/encrypt/totp.php in line 157
"$encoder = "https://chart.googleapis.com/chart?chs=200x200&chld=Q|2&cht=qr&chl=";"

But the QR code generation service of Google is deprecated in March 14, 2019:
https://developers.google.com/chart/infographics/

Votes

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

avatar ajejebrazorf01 ajejebrazorf01 - open - 19 Mar 2019
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Mar 2019
avatar ajejebrazorf01 ajejebrazorf01 - change - 19 Mar 2019
Title
QR code generator - Google Authenticator
[3.9 ]QR code generator - Google Authenticator
avatar ajejebrazorf01 ajejebrazorf01 - edited - 19 Mar 2019
avatar ajejebrazorf01 ajejebrazorf01 - change - 19 Mar 2019
Title
[3.9 ]QR code generator - Google Authenticator
[3.9] QR code generator - Google Authenticator
avatar ajejebrazorf01 ajejebrazorf01 - edited - 19 Mar 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Mar 2019
Status New Discussion
avatar HLeithner
HLeithner - comment - 19 Mar 2019

So 2 possibilities, remove it or replace it with f. ex. qrcode http://phpqrcode.sourceforge.net (lib seams old enough to required php 5.3, untested)

avatar brianteeman
brianteeman - comment - 19 Mar 2019

Removing it is not an option

For j3 we could use https://github.com/kazuhikoarase/qrcode-generator/blob/master/php/qrcode.php

For j4 presumably we are using something else already as fof isnt included

avatar HLeithner
HLeithner - comment - 19 Mar 2019

why is removing not an option? for convenient reasons you mean?

avatar HLeithner
HLeithner - comment - 19 Mar 2019

The JS versions fits better vor this use case in my opinion.

avatar brianteeman
brianteeman - comment - 19 Mar 2019

yes.

and I just checked that j4 has the same problem

avatar Quy Quy - change - 20 Mar 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-03-20 00:26:05
Closed_By Quy
avatar joomla-cms-bot joomla-cms-bot - change - 20 Mar 2019
Closed_By Quy joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 20 Mar 2019
avatar joomla-cms-bot
joomla-cms-bot - comment - 20 Mar 2019

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/24252

avatar Quy
Quy - comment - 20 Mar 2019

Please test PR #24255


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

avatar Quy
Quy - comment - 20 Mar 2019

Please test PR #24255


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

Add a Comment

Login with GitHub to post a comment