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

Relax requirement for 128 bit totp secrets #358

Merged

Conversation

Fingel
Copy link
Contributor

@Fingel Fingel commented Sep 16, 2024

totp-rs is strictly RFC6238 compliant. This is a good thing, but the reality is many sites/apps are still using 80 bit secrets for TOTP. These include Github, Discord, Paypal, among others. The author of totp-rs added a function from_url_unchecked to address this in this issue: constantoine/totp-rs#46. I suggest we use it here so that ripasso can be used practically for totp.

totp-rs is strictly RFC6238 compliant. This is a good thing, but the
reality is many sites/apps are still using 80 bit secrets for TOTP.
These include Github, Discord, Paypal, among others. The author of
totp-rs added a function `from_url_unchecked` to address this in this
issue: constantoine/totp-rs#46. I suggest we
use it here so that ripasso can be used practically for totp.
@alexanderkjall
Copy link
Collaborator

This sounds like a good suggestion, thanks a lot for the pull request (both of them).

I will try to make time to review them later this week.

@alexanderkjall alexanderkjall merged commit e6597bb into cortex:master Sep 28, 2024
6 checks passed
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