stoken icon indicating copy to clipboard operation
stoken copied to clipboard

iPhone token - Device ID mismatch

Open nkormakov opened this issue 4 years ago • 3 comments

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

nkormakov avatar Feb 11 '21 20:02 nkormakov

Sounds like https://github.com/cernekee/stoken/issues/24.

mcraveiro avatar Nov 30 '21 18:11 mcraveiro

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 avatar Jan 14 '22 14:01 nkormakov

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

nkormakov avatar Jan 14 '22 14:01 nkormakov