[Bug 710038] New: Xfce should setup/start/configur gnome-keyring in the same way GNOME does
https://bugzilla.novell.com/show_bug.cgi?id=710038 https://bugzilla.novell.com/show_bug.cgi?id=710038#c0 Summary: Xfce should setup/start/configur gnome-keyring in the same way GNOME does Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Xfce AssignedTo: bnc-team-xfce@forge.provo.novell.com ReportedBy: rschweikert@suse.com QAContact: qa@suse.de Found By: --- Blocker: --- When logging into a GNOME session gnome-keyring management is setup in such a way that both ssh key management is enabled and the osc commands find and access gnome-keyring. The keyring needs to be unlocked only once per session, after that osc commands can access the key and it is not necessary to store account credentials in $HOME/.oscrc The work around is to enable "Launch GNOME services on startup" in the "Advanced" tab of the "Session and Startup". However, this results in too many services running. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c1
--- Comment #1 from Robert Schweikert
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c2
--- Comment #2 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c3
--- Comment #3 from Robert Schweikert
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c4
--- Comment #4 from Guido Berhörster
OK, trying to find a different way to make this work.
So if I would start gnome-keyring-daemon from my login script, i.e. .login for C-shell and derivatives, and set
GNOME_KEYRING_CONTROL GNOME_KEYRING_PID
in the environment is this sufficient to get things moving or is the login shell too late?
Yes, that's too late, it will only affect the current shell. This would have to go into the session wrapper, but rather than such a hack the real solution would be to move the gnome-keyring support out of the GNOME compatibility mode of xfce4-session and make it a separate option. That's something I need to bring up with upstream but haven't gotten round to yet. Unfortunately even that would not provide the ability to selectively enable/disable gnome-keyring components through autostart files because xfce4-session does not support early autostart files and modification of the session environment through DBus. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c5
--- Comment #5 from Robert Schweikert
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c6
--- Comment #6 from Robert Schweikert
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c7
--- Comment #7 from Robert Schweikert
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c8
--- Comment #8 from Guido Berhörster
${HOME}/.config/autostart/${gnome_autostart##*/}; done
I'll talk to upstream later and see if we can move gnome-keyring support out of GNOME compatibility mode. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c9
--- Comment #9 from Guido Berhörster
${HOME}/.config/autostart/${gnome_autostart##*/}; done
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c10
--- Comment #10 from Robert Schweikert
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c11
Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c12
--- Comment #12 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c13
--- Comment #13 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c14
Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c15
Harald Koenig
Fixed in Factory.
it's back again in 12.3-RC1 (or never got fixed?) ! I'm using 12.3-RC1 plus updates and run XFCE4. /usr/bin/gnome-keyring-daemon --daemonize --login gets started and it's loading offering all my ssh-keys, which is a no-go! when debugging my ssh-agent problems, I found the hint in some discussions to rename/remove nome-keyring-daemon (or remove execute permission). this worked fine for me -- until bug #805048: NetworkManager needs gnome-keyring-daemon to ask for wifi passphrases :-(( so gnome-keyring-daemon is back in businees, and trashes my ssh usage:-( looking for other solutions I found e.g. http://ubuntuforums.org/showthread.php?t=1655397 but sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool --set /apps/gnome-keyring/daemon-components/ssh FALSE does not help. https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/932177/comments... does not work either for me, the key daemon still loads/offers all ssh keys (output of "ssh-add -l"). for now I've hacked the gnome-keyring-daemon to garble the path to my keys: diff <( strings /usr/bin/gnome-keyring-daemon~ ) <( strings /usr/bin/gnome-keyring-daemon ) 9543c9543 < ~/.ssh ---
~/@ssh
but of corse that's not the way to go:-( so my question for running XFCE4: how can I disable the ssh-agent functionality for gnome-keyring-daemon these days ??? thanks for the real[tm] solution!!! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=710038
https://bugzilla.novell.com/show_bug.cgi?id=710038#c16
Guido Berhörster
(In reply to comment #14)
Fixed in Factory.
it's back again in 12.3-RC1 (or never got fixed?) !
I'm using 12.3-RC1 plus updates and run XFCE4.
/usr/bin/gnome-keyring-daemon --daemonize --login
gets started and it's loading offering all my ssh-keys, which is a no-go!
when debugging my ssh-agent problems, I found the hint in some discussions to rename/remove nome-keyring-daemon (or remove execute permission).
this worked fine for me -- until bug #805048: NetworkManager needs gnome-keyring-daemon to ask for wifi passphrases :-((
so gnome-keyring-daemon is back in businees, and trashes my ssh usage:-(
looking for other solutions I found e.g. http://ubuntuforums.org/showthread.php?t=1655397
but
sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool --set /apps/gnome-keyring/daemon-components/ssh FALSE does not help.
https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/932177/comments...
does not work either for me, the key daemon still loads/offers all ssh keys (output of "ssh-add -l").
for now I've hacked the gnome-keyring-daemon to garble the path to my keys:
diff <( strings /usr/bin/gnome-keyring-daemon~ ) <( strings /usr/bin/gnome-keyring-daemon ) 9543c9543 < ~/.ssh ---
~/@ssh
but of corse that's not the way to go:-(
so my question for running XFCE4:
how can I disable the ssh-agent functionality for gnome-keyring-daemon these days ???
That's currently not possible, you can either start all components of gnome-keyring-daemon (by enabling GNOME compatibility mode) or not start it at all. This bug was about making it work properly at all which has been the case since 12.1. The ability to selectively enable/disable components is a different issue and would need to be addressed upstream. Please file a new enhancement request, preferably on the upstream tracker or here if you want me to forward it for you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com