GNOME-KEYRING-DAEM(1)

✨ GNOME-KEYRING-DAEM ✨

okay bestie, you found the manual page for gnome-keyring-daemon β€” yes, section 1 of the user commands, the one and only gnome-keyring daemon πŸ’…. Sit down, this one's actually so good.


🌸 NAME 🌸

gnome-keyring-daemon β€” the gnome-keyring daemon, aka your passwords' ✨main character era✨


πŸ¦‹ SYNOPSIS πŸ¦‹

gnome-keyring-daemon [OPTION...]

πŸ’– DESCRIPTION πŸ’–

so like,, the gnome-keyring-daemon is a service that stores your passwords and secrets πŸ”. and ngl it's not the kind of thing you boot up yourself β€” it's normally started automatically when a user logs into a desktop session. it just appears, like a fairy godmother but for credentials 🧚

it implements the DBus Secret Service API, which means you can pull up tools like seahorse or secret-tool and talk to it directly, and they'll understand each other perfectly, no cap 🫢

the daemon also implements a GnuPG and SSH agent, and both of those automatically load the user's keys and prompt for passwords when necessary. so yeah, it's carrying the whole session on its back, lowkey iconic πŸ‘‘

and here's the part you need to know: the daemon will print out various environment variables which should be set in the user's environment, in order to interact with the daemon. so when you see it spewing env vars at you, that's not a glitch, that's the assignment πŸ“


⭐ OPTIONS ⭐

the various startup arguments below can be used:

  • -c, --components=ssh,secrets,pkcs11 β€” ask the daemon to only initialize certain components, girl. valid components are ssh, secrets, pkcs11. by default all components are initialized, so if you say nothing it does everything ✨
  • -C, --control-directory=/path/to/directory β€” use this directory for creating communication sockets 🧦. by default a temporary directory is automatically created for you, no prep needed.
  • -d, --daemonize β€” run as a real daemon, disconnected from the terminal. it's giving independent, it's giving no strings attached πŸ’…
  • -f, --foreground β€” run in the foreground, and do not fork or become a daemon. it stays right here with you, holding your hand.
  • -l, --login β€” this argument tells the daemon it is being run by PAM. it reads all of stdin (including any newlines) as a login password and does not complete actual initialization. so it's like, half-baked on purpose bestie, that's the point.

the daemon should later be initialized with a gnome-keyring-daemon --start invocation. finish the job later, we're not rushing.

this option implies --unlock. and β€” important β€” it may not be used together with either the --replace or --start arguments. pick a lane 🚫

  • -r, --replace β€” try to replace a running keyring daemon, and assume its environment variables. a successful replacement depends on the GNOME_KEYRING_CONTROL environment variable being set by an earlier daemon. so if that var isn't there, it's not happening πŸ’€

this option may not be used together with either the --login or --start arguments.

  • -s, --start β€” connect to an already running daemon and initialize it. this is often used to complete initialization of a daemon that was started by PAM using the --login argument. it's the sequel 🎬

this option may not be used together with either the --login or --replace arguments.

  • --unlock β€” read a password from stdin, and use it to unlock the login keyring or create it if the login keyring does not exist. open sesame but make it secure πŸ—οΈ
  • -V, --version β€” print out the gnome-keyring version and then exit. quick lil flex, then she's gone πŸ‘‹
  • -h, --help β€” show help options and exit. the classic, the beloved.

πŸ™ˆ BUGS πŸ™ˆ

please send bug reports to either the distribution bug tracker or the upstream bug tracker at https://gitlab.gnome.org/GNOME/gnome-keyring/-/issues/

(and pls be nice, they're doing their best 🫢)


🌈 SEE ALSO 🌈

secret-tool(1), seahorse(1)

further details available in the gnome-keyring online documentation at https://wiki.gnome.org/GnomeKeyring and in the secret-service online documentation at http://standards.freedesktop.org/secret-service/


heads up bestie: --login, --replace and --start are all mutually exclusive in different combos β€” --login can't go with --replace or --start, --replace can't go with --login or --start, and --start can't go with --login or --replace. don't try to stack them, fr fr 😭

and that's the whole page bb πŸŽ€ this one's from the gnome-keyring source and lives in section GNOME-KEYRING-DAEM(1) of the user commands β€” go forth and store your secrets responsibly πŸ’–πŸŒΈβœ¨

πŸ“¦ where this page comes from