freeotp / freeotp.github.io

177 stars 87 forks source link

QR code generator requires secret to be at least 32 characters #5

Closed praxiq closed 6 years ago

praxiq commented 6 years ago

The QR code generator won't generate a code if the provided secret is less than 32 characters. Dropbox and Facebook are examples of services that give shorter codes (26 and 16 characters, respectively.) When these shorter codes are typed into the FreeOTP app manually, they work fine, but there seems to be no way to generate a QR code with them.

bjanders commented 5 years ago

It has now been changed to require at least 26 chars, but I used a service that required 16 chars, so I think the requirement should be changed to a minimum of16 chars.