freeotp / freeotp-ios

Apache License 2.0
686 stars 173 forks source link

Cannot unlock token on 15.2 #261

Open ocochar opened 2 years ago

ocochar commented 2 years ago

I just migrated from an iPhone 8 to an iPhone 13 Pro 256GB

Since then, I cannot unlock tokens that were locked with finger print before. I guess it should ask to use FaceID instead...

Nothing happens when I tap on the locked token...

It does not seem to be the same issue as #258 as there were no photo attached to this locked token and in 15.2 there is no way to add access to Photos for FreeOTP.

All the not previously locked tokens work fine.

The screen capture shows the first token is locked and unusable... IMG_7536

justin-stephenson commented 2 years ago

Did you use backup and restore to transfer tokens from iPhone 8 to the iPhone 13 Pro device? Biometrics data is not included in iOS backups by design, therefore locked tokens cannot be transferred.

A warning message about this was added in 019b603c828602cafb2bb828939c0d43c1e38db9 on the add token interface view.

ocochar commented 2 years ago

I used peer to peer transfer with both phones side by side...

This locked token is for a highly secure access and was created on the customer's site around 2 years ago, I do not remember this warning message...

I wish I did not already erase the iPhone 8 as of course, I need to access the customer's system urgently and I will have to to onsite instead...

I also have a backup of the old iPhone 8 with iMazing, I will see if I can just restore it before I sell it

Thanks.

TonioOoOo commented 2 years ago

I have the same problem with a migration from iPhone SE a new one with Face ID. To work around the problem, I added a new one in the meantime.

This is where I realized like @justin-stephenson write that a message warns that locked tokens are not included in backup for security reason.

IMG_40A656A5CC62-1

The issue would therefore be that they appear after a transfer in the new application ?

iliaspavlou commented 2 years ago

Has anyone tried to restore the backup on the old phone in order to make the token work? I'm also locked out because i moved to a new iphone and the tokens are locked.