Profile decryption problem after last update
-
@mib2berlin I used my fully updated backup-browser Chrome since the Viv problem started, and it always worked normally.
-
I searched a bit harder for a reason, and found that, when I rebooted my laptop, my profiles got locked again, and also, I was logged out of Slack. I thought this was no coincidence, and I installed
seahorse
to inspect my keyring. It was unlocked properly, but I noticed a lot of 'Chrome Safe Storage' entries. One was linked tochrome
, so Vivaldi, but Slack also had one. I therefore think Chromium messed something up, or at least there is a bug in the interface between Gnome keyring and Chromium. Weirdly enough, Discord also is a Chrome Safe Storage item but I'm still logged in there. Maybe this requires filing a bug at the Chromium Project. -
To reiterate, other Chromium browsers and older versions of Vivaldi silently deleted saved passwords and cookies. The only thing that has changed from previous versions is that we warn you before that happens. (The profile switcher being shown at the same time as the warning is a bug.)
I’m working on better documentation for what to do when this dialog comes up. It can also appear on other platforms, e.g. when opening a Vivaldi profile created with one Windows user account using another account or computer.
-
Hey folks I read the thread but am totally lost. Even V team says its confusing??! What are exact steps to fix? Environment? What is that???! I am on OSX > chaged my osx user log in pass last night is only thing i did.
-
@bobmane Had you copied profile data between different Linux PC, Linux Desktop environments or Linux users?
Has you changed Linux password system (GNOME keyring, KDE Kwallet)? -
@DoctorG I have not manually done anything other than launch and run the browser in os x. And nothing in browser beyond configuring tabs while using. When you say Linux do you mean lower level code aspects of osx?
Are GNOME keyring, KDE Kwallet in osx or only Linux?
I did have a weird issue in os x with my user login password the day before this issue happened. Never in 20 years of osx had it happened. Out of nowhere, I noticed I was able to login via lockscreen without password (something I never allow). When I tried to change my pass it would not accept the old one. I had to boot into recovery > terminal > resetpassword to get new pass. now like expected and how it should be, i have to enter pass at login once again - but why it happened is unknown. I am still thinking about it but dont have conclusive answer yet. Either a. my teen son accessed my computer and messed with settings, b. i got hacked c. a glitch/bug in osx after recent update to Sonoma. d. senior moment i did something and forgot i had.
In any case, I have considered restoring from a time machine backup in case it was b or c - but the computer is working fine now (other than Vivaldi issue) so I am still looking at it. OSX has been introducing ever more "features" all centered around getting you to use iCloud / walled garden and since I avoid all that stuff when i am dragged into that it can be confusing. e.g. you have user login, apple.com login, app store, icloud etc...kind of a nightmare.
but yeah this issue happened after my password drama in osx. Now I am just stuck at that message and my response is I just quit V since i dont know what to do with the message or what action to take
-
@bobmane Ah, is not Linux?
Asking at https://forum.vivaldi.net/category/34/vivaldi-for-macos better way.Perhaps related to existing bug VB-104366
"[Secure Storage] Handle locked secure storage backends" - In Progress -
@DoctorG ok thanks, also hoping Danial or v team will reply since i just want a fix and he seemed to indicate it is a known bug
fwiw can not find
[Secure Storage] Handle locked secure storage backends -
@bobmane From your description I take it you force-reset the account password which also requires the User Keychain to be reset.
Now
Vivaldi
refers to a non-existent entry without which it will not be able to decrypt its own secret storage.
It may be possible to restore from a backup and you will have to remember the old password (valid at the time of backup).The alternative is to allow
Vivaldi
to discard its current secret store and start afresh ("…continue, but lose data?"). -
@georgep depending on the platform, there are 3-5 ways to mess this up:
- sharing user folders
- resetting passwords
- copying profile folders between machines
- using different secret storage providers
The
Vivaldi
approach is (as @daniel wrote) already a step up from upstreamChromium
behavior.The general recovery is
- you need to know what you changed
- revert that
- export the passwords
- switch back to the new state
- import the passwords
With most people denying they did anything at all, chances of finding a way to describe any recovery process may be considered slim.
Using
--password-store=basic
is the only portable (but most insecure) secret storage setup.
It must be then used by all instances using that profile.
And of course, there should be no prior state with a different secret store already configured in that profile. -
I managed to solve this issue by updating Vivaldi to the latest version (6.8.3381.46-1). I guess some kind of weird bug in Chromium had been fixed.
-
@NiRo1205 said in Profile decryption problem after last update:
updating Vivaldi to the latest version
i updated Vivaldi to the latest version same bug, got impatitnt and blew out all passwords...lesson learned on osx keychain with v
seem to have just blown out cookies and passwords. all history and tabs still there which helps -
Thanks Daniel for helping with this.
In my case, after Vivaldi update, I started Vivaldi in Cinnamon desktop instead of my normal LXQt. After switching back to LXQt desktop Vivaldi showed that now "famous" profile prompt screen. The problem was that in LXQt (KWin) Vivaldi tries to use KWalet5.
Problem is solved (not optimal) by starting Vivaldi with 'vivaldi --password-store=gnome-libsecret' to get my "secrets" back i.e. get my regular profile.
It would be great if Vivaldi would have a prompt to choose the password-store from the available instead of the profile prompt.
-
I'm not sure if I experience the same problem, but after searching before opening a new thread I found this one which might be addressing the same root issue.
The system is Xubuntu (now 24.04 but the problem was already there in 22.04 before upgrading). Initially, I thought the issue might have been caused by some libSSL3 update and I only needed to reboot. But that turned out not to be the case. After reading the posts in here, I now consider Vivaldi itself might be the problem.
But now for the symptoms. Running vivaldi normally, i.e. from a start menu entry (provided by the .desktop file created during installation), is no problem. But usually, on that system, I run it from terminal because I "su" into another account because its vivaldi profile has all the tabs and settings I need.
Since a few days ago, that doesn't work anymore. When starting "vivaldi %u" there are some error messages and instead of opening vivialdi's main window I just get a profile selection window.
The error messages are (random numbers removed and replaced by "..."):
[....:ERROR:vivaldi_keystore_checker.cc(173)] KeystoreChecker: Keystore unlock failed and user requested profile switch!
[....:ERROR:profile_impl.cc(1185)] ProfileImpl: Profile validation failed, profile will be unusable.(vivaldi:420846): dbind-WARNING **: ....: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/1000/at-spi/bus_0: No permission
This is with version 6.8.3381.46
This issue does not occur if I log into that (linux user) account and start vivaldi from start menu entry.
-
Today I encountered also this problem. In my case I started my machine (F40 Gnome), started Vivaldi. Wanted to play something on spotify, my audio didn't work for me (unrelated problem). So I closed Vivaldi, started it again and I got a surprise with profile choosing and keyring problem.
After searching I found this forum, which didn't really help so at the end I went with data loss option. My 70 tabs are still there, I don't care for passwords as I have some other solution for that; but still not a nice evening for me after mentally drained day at work.
Obviously there is something not working properly. I don't belong to any category discussed here (shared profile, multiple environments etc...).
Vivaldi team needs to do better for it's users. I'm a normal user and have no idea how to repair the stuff if there are no steps for this or at least the link to KB or whatever.
-
@becm okay, i'm also having the same problem, but i did do something. completely lost on the technical terms in this thread though, i'm just a normie who expects to be able to start the browser and get to work!
Re: Profile decryption problem after last update
@SophiaONeal said in Getting logged out every session and formatting is off:
i deleted the browser data,
emptied the cache
and blocked trackers
but then i had to re-log into everything.I allowed all cookies so i wouldn't have to do that, but it's still happening (it's been a week!). And I know it's saving cookies because the cookie number has been going up.
I've restarted, reloaded, and applied updates to Vivaldi, but i'm still having to login every time i restart the computer/browser. I'm on a 2021 Macbook Pro running Sonoma 14.5.
-
This post is deleted! -
@pocelka said in Profile decryption problem after last update:
So I closed Vivaldi, started it again and I got a surprise with profile choosing and keyring problem.
(…)
Obviously there is something not working properly. I don't belong to any category discussed here (shared profile, multiple environments etc...).Your secure storage may have been locked in the meantime. Some misconfigured environments will lock your secure storage when the screen saver comes on or your computer goes to sleep; only to fail to unlock it when you return and log back in. A running instance of Vivaldi would have no problem with this, it only needs the decryption key from the secure storage during startup. You would only notice the issue after restarting the browser.
Similarly, your secure storage could have simply timed out and locked itself. KDE Wallet can be configured to do this, for example.
-
The dialog is somewhat confusing. Vivaldi doesn’t know exactly what happen — it only knows it no longer has access to the decryption key. This is why it’s so difficult to provide concrete and actionable instructions on how to recover from the problem.
-
I now ran into this problem on my own system, too, when updating from v6.7 to v6.9.
The curious thing is, on my system I have 3 config folders, two for being able to test and have instances running independently, executed by running the program command with a --user-data-dir flag. So, not really profiles in the narrow sense, but kind of. And those two test configurations have no problem running on either v6.7 or v6.9 - and all that although initially being just copies of the main config folder, with all the hundreds of tabs removed for fast restarting, what essential when testing. But the main one give me that error when trying to run v6.9. When downgrading to v6.7 it runs just fine.
Another difference between the main and the test config folders that caught my eye is, that the main one contains a subfolder "System Profile" (~/.config/vivaldi/System Profile) while the other 2 don't have such a subfolder.
Testing back and forth and comparing config files' content, I finally narrowed the "problem" down to an "keystore_canary" entry in ~/.config/vivaldi/Default/Preferences. Replacing the value with one of the working setups or deleting it altogether allows for vivaldi to start, but many of the extensions are defunct then - probably it's equivalent to letting the "unwelcomed "welcome" screen ("Vivaldi could not unlock your secure key store") "nuke" the profile keystore" ("Continue with Data Loss").
Having had my share of bad experiences with vivaldi destroying working setups I have a few backups of some settings files, like e.g. Preferences. So I had some backups from v6.7, v6.6 and earlier. The ones from v6.7 didn't work, but the one from v6.6 allowed the program to start normally and only have 2-3 defunct extensions which I could un- and reinstall easily. It now seems to be back to normal with minimal corrective work - I have to see if I notice any abnormalities that I'm not yet aware of now.
Interestingly enough, the v6.6 Preferences file does not have a "keystore_canary" entry. And now, after having used it to be able to run v6.9 it has such an entry and its value is the same as the one in the Preferences file of working test configs. Probably I could have just used the Preferences file that I modified by replacing the "keystore_canary" value in the v6.7 main Preferences file with the one from one of the test configs. But at that point in time, I wasn't content with still some extensions being defunct - easily noticeable by the generic icon instead of the specific one each extension usually brings with it.
So, if one runs into such a problem, it can definitely help having a backup of the Preferences file - either from a version that didn't yet have a "keystore_canary" entry or from a setup that works with the respective version that makes problems on another system / different setup.
One option I would have expected to find, but didn't, would be to be able to export data / change the keystore on a working version and then import it at the "Can't unlock your secure key store" screen. Because apparently, it can be unlocked, just not by some versions of vivaldi...