mirror of
https://github.com/antonioribeiro/google2fa.git
synced 2026-04-25 08:05:49 +03:00
[GH-ISSUE #86] External Service for QR-Code that includes the secret code #270
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/google2fa#270
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @apreiml on GitHub (Oct 11, 2017).
Original GitHub issue: https://github.com/antonioribeiro/google2fa/issues/86
Hello,
regarding
QRCode::getQRCodeGoogleUrl. I don't think it is a good idea to use an external service for showing the qr code containing the secret key. Shouldn't this secret key be only in the hands of the one to be authenticated? If you use this method, also an external service gets this secret information.A major security flaw imho.
Kind Regards
@tankerkiller125 commented on GitHub (Jan 31, 2018):
There is an option for people who don't want to send it to google, simply put though some servers people use are very ill equipped to generate and show QR codes (generally cheap shared hosting) and because of this they need the option to have google or another provider generate the code for them.
@antonioribeiro commented on GitHub (Mar 7, 2018):
@apreiml, people should know it's better inline their QRCode themselves via bacon-qr-code or anything else, but you are right, to not inform this is security issue, so I just changed the way it works: user (developer) has now to authorize it by
Before
Otherwise it will throw an exception with the following message:
Tagged v3.0.0, since this is a huge breaking change.
Thanks for reporting it.
@vdomah commented on GitHub (May 15, 2019):
Hi!
Why can't I find methods getQRCodeGoogleUrl and setAllowInsecureCallToGoogleApis in the sources? I'm getting errors about absence if this methods and I indeed can't find them in this package
Thanks in advance!