freeotp / freeotp-ios

Apache License 2.0
686 stars 173 forks source link

iPhoneX ->iPhone15,ios17,Can’t access code after transfe #328

Open Whoami-e opened 1 year ago

Whoami-e commented 1 year ago

After transferring the app from the old phone to the new phone, the previous token cannot be opened. The newcomer is the iPhone 15 and iOS 17 system

Neustradamus commented 1 year ago

Dear @freeotp team,

What do you think?

ruxandramitu14 commented 1 year ago

I have the same problem transferring from iphone 11 to iphone 15

justin-stephenson commented 1 year ago

Two important caveats about backup + restore in iOS based on the current implementation:

1) Encrypted backups must be taken to include the iOS keystore in the backup data. 2) Locked tokens which require entering a PIN or biometrics (tokens with a lock icon next to the icon) cannot be backed up or restored.

Both of these are dictated by iOS Security, as FreeOTP depends on iOS native backup + restore.

Otherwise backup and restore should work without issues, please double-check these requirements and provide reproducer steps if not applicable.

Whoami-e commented 1 year ago

How can i Encrypted backups? I hope you can provide a graphic tutorial, but I don't quite understand what you're saying about the operation

justin-stephenson commented 1 year ago

https://support.apple.com/en-us/HT205220

https://support.apple.com/en-us/HT212520

Whoami-e commented 1 year ago

I took an encrypted backup of iTunes on my PC and restored it to my new phone, but it still didn't work, and I wondered if the software wasn't compatible with the new phone or system

Whoami-e commented 1 year ago

I have the same problem transferring from iphone 11 to iphone 15

Did you solve the problem?

sferich888 commented 11 months ago

The real issue here; outside of not being able to to access the tokens is you can't delete the tokens either.

https://github.com/freeotp/freeotp-ios/issues/326

rofrano commented 11 months ago

I have the same problem. I did not do a back and restore, I did a transfer from iPhone 12 Pro to iPhone 15 Pro by placing them next to each other and initiating the transfer directly from phone to phone. Now I have a lock next to one token but another one does not have a lock and works as before. Is there any way to unlock the one with the lock on the icon?

ArtemovMaxim commented 10 months ago

I have the same problem. I did not do a back and restore, I did a transfer from iPhone 12 Pro to iPhone 15 Pro by placing them next to each other and initiating the transfer directly from phone to phone. Now I have a lock next to one token but another one does not have a lock and works as before. Is there any way to unlock the one with the lock on the icon?

Good afternoon! Have you found a solution to this problem?

rofrano commented 10 months ago

Hi @ArtemovMaxim, I could not find a solution other than deleting it and recreating a new one which required me to contact the IT department and get a new invitation to create a token.

I think the problem may have been that when I originally created it, I selected to lock or encrypt the token (I forget which) and that may have caused it to stop working because all the tokens that I selected this option for all did not work, but the ones that I did not select this option continued to work. So when I created the new token, I did not select this option. Good Luck!

ArtemovMaxim commented 10 months ago

Привет, @ArtemovMaxim, я не смог найти другого решения, кроме как удалить его и создать новый, что потребовало от меня связаться с ИТ-отделом и получить новое приглашение для создания токена.

Я думаю, что проблема, возможно, заключалась в том, что, когда я первоначально создавал его, я выбрал блокировку или шифрование токена (я забыл, какой именно), и это, возможно, привело к тому, что он перестал работать, потому что все токены, для которых я выбрал эту опцию, не работали, но те, для которых я не выбрал эту опцию, продолжали работать. Поэтому, когда я создавал новый токен, я не выбирал эту опцию. Удачи!

John, thank you very much for your time for your detailed answer! I understand what you are talking about. Unfortunately, I ran into an issue where the new app was not fully displaying the token data stored in the old version of the app in the UI. Those who upgraded the old application to the new one, unfortunately, lost the ability to interact with the “old” tokens. I don’t know how to get out of this situation. Thanks again for your response, John! Sincerely