-
-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alphanumeric characters in TOTP passwords #229
Comments
Hi, The OCRA algorithm allow alphanumeric values. |
Thanks for the prompt response. At ChesslaBlab we're implementing a passwordless sign-up use case. We don't want to share any private data with users, so we're thinking along the lines of usernames automatically created by the system such as "preciseKoala" which will then be eventually assigned to users once they've scanned the QR code with their authenticator app. Thus, if using a ten characters long TOTP password containing alphanumeric codes, the probability of hijacking an account will be lower than if using only numbers. Here's an example of "Sign in" form:
I hope this sample "Sign in" form helps understand what we're trying to do. Keep it up, |
In this case, you should consider Webauthn that is passwordless and in some cases usernameless among all other nice features such as fishing resistance. |
It seems as if TOTP using a smartphone is just fine for an online chess app. The thing with WebAuthn is that it is currently requiring a hardware token like YubiKey which has an additional cost. Alternatively, WebAuthn using a smartphone is not too obvious to use if I'm not very much mistaken. |
No you don't need hardware tokens.
From my POV, it's much more simpler compared to OTPs. You can stay on the same screen and not required to type anything. |
I'm currently using Authy and FreeOTP to scan the QR codes generated by Spomky-Labs/otphp, however, those two authenticator apps can't scan the WebAuthn QR code at https://webauthn.spomky-labs.com/register Which app should I use to scan the WebAuthn QR code? Thank you, |
No app is needed. It is natively recognized with your smartphone camera app. |
Well, it seems as if my camera is somehow recognizing the QR code since it returns an output like this:
It just says FIDO with a bunch of numbers. What should I do now with this FIDO code? See: |
Google Authenticator did the trick. |
Maybe TOTP is just fine for some apps. Now preciseKoala can play chess with other users and see their results in the ranking. See #230 |
Description
👋 Hello there,
Is it possible to use alphanumeric chars in TOTP passwords? If so, could you please provide an example in the docs?
🙏 Thanks for the help, and keep up the great work!
The text was updated successfully, but these errors were encountered: