Skip to content
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

Steam: default to 5-digit codes #113

Merged
merged 1 commit into from
Feb 23, 2021
Merged

Steam: default to 5-digit codes #113

merged 1 commit into from
Feb 23, 2021

Conversation

James-E-A
Copy link
Contributor

This is a needed workaround for Valve's API, which emits slightly-malformed TOTP URIs: omitting the digits parameter despite not using the default value of 6. Some QR-code generation libraries detect otpauth://totp/Steam:… and insert this parameter when necessary, but most do not.

This PR will bring this FreeOTP+'s behavior in line with other apps such as andOTP (since Oct 2017), Kee Vault (since Feb 2020), and Aegis (since last month); it implements 5 as the default value for the digits field when issuerExt is "Steam".

@helloworld1
Copy link
Owner

Thanks!

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