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

iPhone token - Device ID mismatch #65

Open
nkormakov opened this issue Feb 11, 2021 · 3 comments
Open

iPhone token - Device ID mismatch #65

nkormakov opened this issue Feb 11, 2021 · 3 comments

Comments

@nkormakov
Copy link

nkormakov commented Feb 11, 2021

I got a problem importing a token, I received it a while ago and successfully imported in RSA app in iPhone and it's working fine till this very day
Received token header is looks exactly like that:
com.rsa.secureid://ctf?ctfData=81 symbols______
And device ID looks like this in app:
0123 4567 89AB
CDEF 0123 4567

I'm typing it in when prompted like this:
0123456789ABCDEF01234567

and getting "Device ID does not match the token."

What I've tried so far:
different headers: with 127.0.0.1 in them, com.rsa.secureid.iphone://ctf?ctfData=, none of them
different cases for Device ID, spaces - still nothing

I commented the code to bypass this Device ID check and found that parsing is ok - I see correct serial number and expiration date

so i'm open to any advices

@mcraveiro
Copy link

Sounds like #24.

@nkormakov
Copy link
Author

Sounds like #24.

yep, but this issue was resolved by using full URL provided

Issue resolved, had to use the full url as the token and not just numbers.

My full URL is different from Android version, so it's possible that iPhone app make something differently with initialization token

@nkormakov
Copy link
Author

nkormakov commented Jan 14, 2022

Maybe @cernekee got some ideas? I'll code them by myself, kinda lost at this point and I got only one test-string for iOS, no Android

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

2 participants