Automatically Unlock Gnome Keyring on Login With Arch Linux

Tue, Jun 19, 2018 12:44 CEST

Tags: Automation, Security

So that only your session password is needed.

Install gnome-keyring, libsecret, and seahorse.

Start seahorse and create a keyring named login and set it as default. If such a keyring already exists and you do not remember its password, delete it and create a new one.

Follow the instructions here:

In /etc/pam.d/login, add auth optional at the end of the auth section and `session optional auto_start at the end of the session section.


auth       required
auth       requisite
auth       include      system-local-login
auth       optional
account    include      system-local-login
session    include      system-local-login
session    optional auto_start



Add instructions on how to add gnupg keys to the keyring.

Add instructions on how to add ssh keys to the keyring.