Closed 1bcb closed 2 years ago
Hello, thank you for the well reported issue. I'll have a look at it today/tomorrow :smile:
It's because the number of iterations changed with one of the last updates: https://github.com/andOTP/andOTP/blob/6c54b8811f950375c774b2eefebcf1f9fa13d433/app/src/main/java/org/shadowice/flocke/andotp/Utilities/Constants.java#L124-L125
OTPClient version: 2.5.1, flatpak Distro: Linux Mint 20.3 64-bit Cinnamon Description: Attempting to import an encrypted backup from AndOTP produces the error message
This import feature worked correctly until recently.
I tried importing an old AndOTP backup file: one which I had previously imported successfully, and I got the same error. Therefore, I believe the error is caused by a change on OTPClient's side, not a change in AndOTP.
Steps to reproduce: 1)Install AndOTP on Android. 2)Add at least one authenticator code. 3)Select "create backup" 4)Export an encrypted backup. 5)Copy the file to a computer running OTPClient. 6)Launch OTPClient 7)Click the hamburger menu->import->andOTP (encrypted) 8)Select the andOTP backup file 9)Enter the encryption password
Importing a plain-text andOTP file works correctly.