ios-application icon indicating copy to clipboard operation
ios-application copied to clipboard

Initial sync not working (with "Advanced Data Protection" enabled?)

Open inDietz opened this issue 1 year ago • 2 comments

Describe the bug After fresh installation of the app the synced OTPs don't show up.

To Reproduce Steps to reproduce the behavior:

  1. Installed app on a new device without using backed up data from previous device (Note: Advanced Data Protection on my iCloud account)
  2. Choosing iCloud sync provider
  3. input master password and set the passcode
  4. the app shows me none of the synced OTPs

Expected behavior OTPs are shown.

Smartphone (please complete the following information):

  • Device: iPad Pro 2021 / iPhone 13 Pro
  • OS: iOS / iPadOS 16.3 RC
  • Version 1.4.8 (build-70)

Additional context As mentioned I've enabled Advanced Data Protection but can't tell if it's happening because of it.

I was able to force sync the OTPs by:

  1. on the old device: for each OTP entry click edit and then hit save
  2. restart the app on the new Device
  3. all "new" saved OTPs appear

Log

2023-01-19 20:55:49  global.initializeFileLogging():61 VERBOSE: File log destination initialized
2023-01-19 20:55:56  global.initializeFileLogging():61 VERBOSE: File log destination initialized
2023-01-19 20:55:56  LoadEntryViewController.viewDidLoad():38 VERBOSE: Loading Raivo OTP
2023-01-19 20:55:56  LoadEntryViewController.viewDidLoad():66 VERBOSE: Got syncer account succesfully
2023-01-19 20:55:56  StateHelper.getCurrentState():93 VERBOSE: State: ENCRYPTION_KEY_UNKNOWN
2023-01-19 20:55:56  StateHelper.getCurrentState():93 VERBOSE: State: ENCRYPTION_KEY_UNKNOWN
2023-01-19 20:55:56  ApplicationDelegate.setCorrectStoryboard():159 VERBOSE: Changing Storyboard: Auth
2023-01-19 20:55:58  StorageHelper.setPasscodeTriedAmount():204 VERBOSE: Setting passcode tried amount
2023-01-19 20:55:58  StorageHelper.setPasscodeTriedTimestamp():224 VERBOSE: Setting passcode tried timestamp
2023-01-19 20:55:58  AuthEntryViewController.attemptBiometrickUnlock():229 VERBOSE: Unlocked app via biometric
2023-01-19 20:55:58  StateHelper.getCurrentState():97 VERBOSE: State: DATABASE_AND_ENCRYPTION_KEY_AVAILABLE
2023-01-19 20:55:58  StateHelper.getCurrentState():97 VERBOSE: State: DATABASE_AND_ENCRYPTION_KEY_AVAILABLE
2023-01-19 20:55:58  BaseSyncer.enable():39 VERBOSE: Enabling syncer
2023-01-19 20:55:58  CloudKitSyncer.enableAccountChangeListener():203 VERBOSE: Enabling account change listener
2023-01-19 20:55:58  ApplicationDelegate.setCorrectStoryboard():159 VERBOSE: Changing Storyboard: Main
2023-01-19 20:56:00 com.apple.cloudkit.operation-E31D529B0E902455.callback StateHelper.getCurrentState():97 VERBOSE: State: DATABASE_AND_ENCRYPTION_KEY_AVAILABLE
2023-01-19 20:56:01  StateHelper.getCurrentState():97 VERBOSE: State: DATABASE_AND_ENCRYPTION_KEY_AVAILABLE
2023-01-19 20:56:01  StateHelper.getCurrentState():97 VERBOSE: State: DATABASE_AND_ENCRYPTION_KEY_AVAILABLE
2023-01-19 20:56:01  StateHelper.getCurrentState():97 VERBOSE: State: DATABASE_AND_ENCRYPTION_KEY_AVAILABLE
2023-01-19 20:56:01  StateHelper.getCurrentState():97 VERBOSE: State: DATABASE_AND_ENCRYPTION_KEY_AVAILABLE
2023-01-19 20:56:01  StateHelper.getCurrentState():97 VERBOSE: State: DATABASE_AND_ENCRYPTION_KEY_AVAILABLE
2023-01-19 20:56:01  StateHelper.getCurrentState():97 VERBOSE: State: DATABASE_AND_ENCRYPTION_KEY_AVAILABLE
2023-01-19 20:56:01  StateHelper.getCurrentState():97 VERBOSE: State: DATABASE_AND_ENCRYPTION_KEY_AVAILABLE

inDietz avatar Jan 19 '23 20:01 inDietz

@inDietz did you have to confirm your master password upon setup? Or did it only ask for your master password once?

tijme avatar Jun 27 '23 14:06 tijme

@tijme sorry i can't remember. sadly no device to reset here to test it again :/

inDietz avatar Jun 27 '23 14:06 inDietz