Skip to content

Updated CFC to use Apache Commons#4

Open
andyj wants to merge 5 commits intomarcins:masterfrom
andyj:master
Open

Updated CFC to use Apache Commons#4
andyj wants to merge 5 commits intomarcins:masterfrom
andyj:master

Conversation

@andyj
Copy link

@andyj andyj commented Nov 8, 2016

Hi

I've update the code base to now use the Apache Commons Codec and removed the needs to have a separate .JS file to create the QR code

Andy Jarrett added 5 commits November 8, 2016 00:22
…odec to implement Base32 encoding/decoding. Also Added new function getOTPQRURL() which return the a QR code URL you can put straight in to an image tag
}

public string function getOTPQRURL(required string OTPURL){
local.qrURL = "https://chart.googleapis.com/chart?chs=200x200&cht=qr&chl=200x200&chld=M|0&cht=qr&chl=";
Copy link

@displague displague Nov 28, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like a bad idea to send your secret tokens to Google. They seem nice but I assume this grants thousands of Google employees the ability to grep your referral domain from their logs and get a very small list of possible secrets for any TOTP enabled account on your domain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants