What is the "keyring" or "keychain"?
Solution 1
The Gnome Keyring is used by Gnome-ish apps to store secrets on your behalf. The secrets are stuff like SSH keys, keys to wifi networks, et cetera.
If you want to poke at your keyring, go to the Accessories menu and run the app called "Passwords and Encryption Keys." It will show your a number of folders on the Password tab - each one of those is called a keyring. Each entry under a folder is a password. Double click on them to see their contents.
The reason a keyring is provided is that applications have to store secrets somewhere. It's easy for programmers to make a mistake and leave secrets around for anyone to read. In theory, the Gnome Keyring should store passwords for everything and do it right.
(You should always exercise a minimum of security - add a password to keyrings that you care about, keep your computer physically safe, etc)
Solution 2
Which keychain do you mean?
- There's the apt keyring, that is used for verifying downloaded packages. This helps to prevent malicious software from being installed via apt.
- There's your user keyring where good apps store passwords (such as mail passwords, wifi passwords)
And then there's this. Guess what that is good for :)
Solution 3
If you mean the package/command named keychain
:
keychain is a manager for ssh-agent, typically run from ~/.bash_profile. It allows your shells and cron jobs to easily share a single ssh-agent process. By default, the ssh-agent started by keychain is long-running and will continue to run, even after you have logged out from the system.
So in short, it's a tool to make ssh-agent
easier to use.
Solution 4
A keyring basically stores all your various passwords and allows you to access them with one master password. So instead of having to enter passwords for my wireless, email and ubuntu one accounts separately I just enter one master password to unlock my keyring. Then I have access to all the accounts stored in that keyring.
If you set your keyring password to the same as your login password the keyring will be unlocked when you sign in at boot up.
Related videos on Youtube
Jorge Castro
Updated on September 17, 2022Comments
-
Jorge Castro over 1 year
Can someone please explain what Ubuntu's keychain or keyring is, as well as use cases for it?
-
Admin almost 14 yearsThe question should be more clear, there is no such thing as the "ubuntu keychain" .
-
-
Dylan McCall over 12 yearsTo clarify on the “doing it right” part, the particular feature it does is one-way encryption, so your passwords under the keyring are all encrypted and the only way to decrypt them is to enter a password. That would be a real pain if you had to do it for every application, but it's really the only way to be sure. Normally the step of unencrypting your keyring happens invisibly in Ubuntu, because the password you enter to log in is the same as your keyring password.
-
Dylan McCall over 12 yearsIf you're concerned about any of this, the app Erigami mentions lets you tighten this a little more. You can temporarily lock a keyring or change its password so you always have to unlock it separately at login, for example. You can find those options if you right click a keyring in the Passwords list.
-
Anto almost 10 yearsI'm glad you brought that distinction on the table; the apt keyring was actually what I was looking for when getting in here. +1
-
dcorking over 6 yearsIs
seahorse
the default command line command to open the GUI you described? -
l --marc l about 5 years"And then there's this" product appears to no longer exist in the store.
-
Radagast the Brown over 3 years@dennis-kaarsemaker - the link on
this
does not work anymore