@vladsbl
I experienced a very similar issue after resetting my Windows PC and reinstalling Opera, so I wanted to share how it played out for me.
After reinstalling Opera and signing back into my account, only part of my data came back:
-
Restored: History and Bookmarks (including my Speed Dials). (I didn't check my Settings or Pinboards at the time, so I'm not sure about those.)
-
Missing: Passwords and most of my Workspace data. Only the tabs from the last workspace I was actively using before the reset came back—none of the tabs from my other workspaces synced, even though I had specifically double-checked the Tabs sidebar page right before resetting to make sure everything was synced.
Fortunately, I had exported my passwords beforehand, so passwords were safe with me.
I also ran into the exact same Sync encryption loop:
Even though I could sync my data, the profile panel showed a warning saying "Synchronization has encountered a problem."
Clicking it directed me to the syncSetup page asking me to confirm my identity.
Just like in your case, entering my password and clicking Next simply redirected to the syncSetup page and kept asking me to confirm my identity over and over.
I also had a similar issue earlier on when I was using an Opera account created via Google Sign-In. Because the "Confirm identity" prompt only asks for a password with no option to authenticate via Google, I got stuck there as well—which is actually why I ended up creating a separate account using a standard email and password later on.