-
Notifications
You must be signed in to change notification settings - Fork 6
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
Cannot register token if token begins with '\x21\x10' #3
Comments
The |
According to |
Is there a way to set it to a time step of 60s? |
Most HOTP/TOTP programs can used a custom time step parameter:
Note that I do not know if this fixes the issue. Maybe this parameter does not apply based for this version and maybe other things have to be changed (such as the secret derivation mechanism, the hash algorithm, etc). |
Is there a way to test if this works (by altering the script to use 60s when 'begins with \x21\x10' is not true)? |
After checking the error and the code, I'm not sure this issue is actually the same that I had so I don't believe my comments are relevant for this error. |
If anyone is able to share information on how they got a token that is considered invalid (such that I can try get one myself), I am happy to take a look and try figure out what is going on. Without this, it is difficult to understand what is different about the different versions, but it's probably a simple change, just difficult to determine without seeing an example (or reversing the mobile application). |
Apologies. |
Having more information about this would be quite interesting :) |
Problem for me was that the token was registered by a colleague of mine around the same time, but he was faster :) |
I wish I remembered. Just spent an hour trying to figure out how I managed to do that, but nothing came to mind. But the issue is repeatable with the following token: "EEIHVK54DDCWV55A" (this is the expired one, so I think it should be safe to share)
This was exactly the case for me! Spent a lot of time with this. |
Surprisingly, my token that works on the FortToken after b32decode begins with
\x21\x10
and is unable to register with the following error:{'error_code': 40, 'error_message': 'FTM token Activation Code is invalid'}
The text was updated successfully, but these errors were encountered: