can someone point out on me how gnome-keyring works?
Colin Walters
walters at verbum.org
Mon Feb 2 22:44:38 UTC 2009
On Mon, Feb 2, 2009 at 5:40 PM, Colin Walters <walters at verbum.org> wrote:
>
> But sinc e cron is all we
> have right now, if you need gnome-keyring from cron, you need to look
> up the DBUS_SESSION_BUS_ADDRESS Unix environment variable. If none
> exists, then create your own session using dbus-launch, and
> gnome-keyring should be invoked through service activation when you
> try to talk to it.
Though thinking about this further, it's obviously not going to work
if you don't have a running session since you'll need the password for
gnome-keyring to be able to decrypt its database. It's a pretty
complicated problem. If the desktop had some way to know that you had
scheduled jobs, it would probably make sense for gnome-keyring to hang
around even after a session ends to provide passwords. We also
*really* need to make the session bus per-uid looked up from the
kernel instead of based on an environment variable.
More information about the fedora-devel-list
mailing list