Skip to content

Instantly share code, notes, and snippets.

View ppar's full-sized avatar

Peter Parkkali ppar

  • Europe
View GitHub Profile
@Takuto88
Takuto88 / brave-keyring-migrate.sh
Last active July 25, 2026 13:06
Migrate a Chromium/Brave 'Safe Storage' master key from the GNOME keyring to KDE wallet (fixes Brave Sync breaking after a GNOME->KDE switch)
#!/usr/bin/env bash
#
# brave-keyring-migrate.sh
#
# Migrate a Chromium-family browser's "Safe Storage" master key between the
# GNOME keyring (libsecret / Secret Service) and the KDE wallet (kwalletd),
# in either direction.
#
# Why this exists:
# When you move a desktop between GNOME and KDE, a Chromium-based browser such