Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196059 - add keychain support for dbus
Summary: add keychain support for dbus
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Keychain (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-16 15:20 UTC by Elan Ruusamäe
Modified: 2009-08-13 01:35 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elan Ruusamäe 2007-10-16 15:20:34 UTC
dbus supports also so called agent. at least the enviroment variable is set:

dbus-launch manual mentions:

       Here is an example of how to use dbus-launch with an sh-compatible shell to start the per-session bus daemon:

         ## test for an existing bus daemon, just to be safe
         if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
             ## if not found, launch a new one
             eval `dbus-launch --sh-syntax --exit-with-session`
             echo "D-BUS per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
         fi




Reproducible: Always
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2008-02-27 19:06:52 UTC
This is started by the various DEs, is it really necessary in keychain?
Comment 2 Elan Ruusamäe 2008-02-28 12:46:47 UTC
why not :)

my DE doesn't. i have copied script from manualpage, but that doesn't inherit, but starts new one.

besides keychain has very nice feature of attaching to a dead session, regular DE's can't do that. they see if no agent is present in ENV, they start new one.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-28 20:50:41 UTC
why did this got re-assigned to fdo, are we supposed to maintain keychain or what ?
Comment 4 Víctor Ostorga (RETIRED) gentoo-dev 2009-07-28 21:00:55 UTC
This bug is a request to add keychain support to dbus package as far as I know. I re-assigned because dbus and keychain are not maintainer-needed stuff.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-28 21:09:05 UTC
I read for, not to. I don't see how dbus could use keychain in anyway, really.
Comment 6 Elan Ruusamäe 2009-07-29 11:23:40 UTC
keychain could support dbus sessions inheritance, not vice versa.
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2009-07-29 11:32:26 UTC
Definitely not an fdo bug. If anything, keychain should probably provide an xinitrc.d file like seahorse-agent does.

Thanks
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-07 00:39:06 UTC
Daniel,
Please weigh in on this bug. Thx.
Comment 9 Daniel Robbins 2009-08-12 17:54:47 UTC
I won't be adding dbus support to keychain. keychain is focused specifically on authentication services.

You could use a similar approach for dbus (probably a good starting point would be the keychain 1.0 source code) but this would be a separate project. 
Comment 10 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-13 01:35:15 UTC
(In reply to comment #9)
> I won't be adding dbus support to keychain. keychain is focused specifically on
> authentication services.
> 
> You could use a similar approach for dbus (probably a good starting point would
> be the keychain 1.0 source code) but this would be a separate project. 
> 

I agree. thx for the comment, as upstream author.