gnome keyring master password reset

Luis lemsx1 at
Sun Nov 5 04:47:05 UTC 2006

Is it possible to reset the password for the default keyring in Gnome (Edgy).

Acccording to this:


 Any way to change the Gnome Keyring password?
I'm looking for a way to change the master password of the Gnome
Keyring. I know the current password, but, I'd like to change it to a
new one, and I haven't been able to find anything conclusive on the
topic. Does anyone know how to go about doing this?

I think that at the moment, you will have to kill the daemon (killall
gnome-keyring-daemon) and delete your keyrings (~/.gnome2/keyrings),
then start over. There is no mechanism to change the password.

[end quote]

Of course, you could simply fired gnome-keyring-manager to delete the
default keyring if you wanted to start over.

The question is, can this be implemented? How would one go about
implementing this? Perhaps (note that I have not read the source code
for this yet):

1. create new keyring with new password called "default-tmp"
2. programatically copy all keys from default to default-tmp
3. delete and rename keyrings

Is there a better algorithm? Perhaps there is a way to simply change
the keyring password without going through all this trouble.

Luis Mondesi
*NIX Guru

"Feliz el hombre que ha hallado sabiduria y el hombre que consigue
discernimiento, porque el tenerla como ganancia es mejor que tener la
plata como ganancia; y el tenerla como producto, [mejor] que el oro
mismo" (Prov 3:13-14).

More information about the ubuntu-users mailing list