First of all, let's start with a clean slate:
- Exit any Brave Browser.
- Open the
seahorse
application. - WARNING: continuing will wipe all of your passwords in ALL Brave profiles.
- Look for "Brave Safe Storage" and right-click on it. Delete.
- Close the seahorse application.
Now, pick a website for which you'll save the password in Brave. I used https://www.libravatar.org/ just because I know it reliably triggers the "save this password" prompt.
Now let's save the password in Brave Nightly:
- Start Nightly using
brave-browser-nightly --user-data-dir=/home/francois/brave-temp-profile
(replacing "francois" with your username). - Visit the target website, login and save the password to the password manager.
- Check
brave://settings/passwords
to make sure the password was saved successfully. - Close Brave.
Let's check the password was saved in an encrypted way:
- Open
seahorse
again. - Confirm that a new "Brave Safe Storage" entry was created.
- Close
seahorse
. - Install
sqlite3
usingsudo apt install sqlite3
. - Open the password database manually:
sqlite3 ~/brave-temp-profile/Default/Login\ Data
- List all passwords:
select origin_url, username_value, password_value from logins;
- Confirm that the
password_value
(last column) starts with "v11" and not "v10". - Exit
sqlite3
by pressing Ctrl+d.
If we see that "v11", it means that Brave was able to connect to gnome-keyring using gnome-libsecret since that's the only secure storage wallet available by default in Ubuntu.
Finally, let's check upgrades:
- Delete the
brave-temp-profile
folder:rm -rf ~/brave-temp-profile
- Start Release using
brave-browser-stable --user-data-dir=/home/francois/brave-temp-profile
- Visit the target website, login and save the password to the password manager.
- Check
brave://settings/passwords
to make sure the password was saved successfully. - Close Brave.
- Follow the same
sqlite3
procedure as before to check that the password was saved in "v11" format. - Exit
sqlite3
by pressing Ctrl+d. - Start Nightly using
brave-browser-nightly --user-data-dir=/home/francois/brave-temp-profile
- Check
brave://settings/passwords
to make sure the password is still readable.
If you can see the password in Nightly, that means that Nightly, using gnome-libsecret, can continue to read passwords that were saved in gnome-keyring (using the old library in Release).