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

Can't import otpauth:// URL that works fine in other app #54

Closed
pieterdd opened this issue Feb 28, 2023 · 1 comment
Closed

Can't import otpauth:// URL that works fine in other app #54

pieterdd opened this issue Feb 28, 2023 · 1 comment

Comments

@pieterdd
Copy link

I'm trying out totp-rs with some 2FA tokens that were originally stored in another app. I can generate a code in that app without issue. However, when I try to import the token used to generate those codes, totp-rs reports a SecretSize(80) error. I'm inferring this happens because the secret isn't long enough.

How come totp-rs cannot use the token when the other app can?

@pieterdd
Copy link
Author

Ah, probably a consequence of #46.

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

No branches or pull requests

1 participant