GNOME/Keyring

From ArchWiki
Revision as of 22:34, 30 November 2011 by Ehntoo (Talk | contribs) (Add info on what's needed to run gnome-keyring without GNOME.)

Jump to: navigation, search

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:GNOME/Keyring#)

The GNOME Keyring stores passwords in an encrypted file that can be accessed by applications.

Manage using GUI

pacman -S seahorse

It is possible to leave the gnome keyring password blank. In seahorse, on the Passwords tab, right click on "Passwords: login" and pick "Change password." Enter the old password and leave empty the new password. You will be warned about using unencrypted storage; continue by pushing "Use Unsafe Storage."

Use Without Gnome

It is possible to use GNOME Keyring without the rest of the gnome desktop. This can be accomplished by adding to your .xinitrc:

# Start a dbus-session
source /etc/X11/xinit/xinitrc.d/30-dbus
# Start Gnome-Keyring
/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh

See Bug #13986 for more info.

SSH Keys

To add your SSH key:

$ ssh-add ~/.ssh/id_dsa
Enter passphrase for /home/mith/.ssh/id_dsa:

To list automatically loaded keys:

$ ssh-add -L

To disable all keys;

$ ssh-add -D

Now when you connect to a server, the key will be found and a dialog will popup asking you for the passphrase. It has an option to automatically unlock the key when you login. If you check this you won't need to enter your passphrase again!

Unlock at Startup

GNOME's login manager (gdm) will automatically unlock the keyring once you login, for others it isn't so easy.

For SLiM, see SLiM#SLiM_and_Gnome_Keyring