A keyring is thought of as a local database that stores your login information in encrypted forms. Various desktop applications (e.g., browsers, email clients) use a keyring to store and manage your login credentials, secrets, passwords, certificates, or keys securely. For those applications to retrieve the information stored in a keyring, the keyring needs to be unlocked.
GNOME keyring used by Ubuntu desktop is integrated with desktop login, and the keyring is automatically unlocked when you authenticate into your desktop. But your default keyring can remain "locked" if you set up automatic desktop login or wake up from hibernation. In this case, you will be prompted:
"Enter password for keyring 'Default keyring' to unlock. An application wants to access to the keyring 'Default keyring,' but it is locked."
If you want to avoid typing a password to unlock your default keyring every time such a pop-up dialog appears, here is how you can do it.
Before doing that, understand the implication of disabling the password prompt. By automatically unlocking the default keyring, you will make your keyring (and any information stored in the keyring) accessible to anyone who uses your desktop, without them having to know your password.
Disable Password for Unlocking Default Keyring
Open up Dash, and type "password" to launch "Passwords and Keys" app.
Alternatively, use the seahorse command to launch the GUI from the command line.
On the left side panel, right-click on the "Default keyring," and choose "Change Password."
Type your current login password.
Leave a new password for the "Default" keyring as blank.
Click on "Continue" button to confirm to store passwords unencrypted.
That's it. From now on, you won't be prompted to unlock the default keyring.
Subscribe to Ask Xmodulo
Do you want to receive Linux related questions & answers published at Ask Xmodulo? Enter your email address below, and we will deliver our Linux Q&A straight to your email box, for free. Delivery powered by Google Feedburner.
Did you find this tutorial helpful? Then please be generous and support Xmodulo!