https://bugzilla.novell.com/show_bug.cgi?id=383353
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=383353#c15
Vincent Untz
Created an attachment (id=215156) --> (https://bugzilla.novell.com/attachment.cgi?id=215156) [details] /etc/X11/xdm/sys.xsession
Please test out it this /etc/X11/xdm/sys.xsession will work with both gnome-keyring and seahorse-agent
Seems to work fine here. Thanks! There's a small bug: echo "$GPG_AGENT_INFO" > "$GPG_AGENT_FILE" should be echo "GPG_AGENT_INFO=$GPG_AGENT_INFO" > "$GPG_AGENT_FILE" (In reply to comment #12 from Dr. Werner Fink)
AFAICS from http://live.gnome.org/Seahorse/SessionIntegration and the source code seahorse edits the file ~/.gnupg/gpg.conf (which is a bug IMHO) ... beside this seahorse should be started *after* the process which has created the socket $SSH_AUTH_SOCK.
The question is: does the option '--variable' obmit editing ~/.gnupg/gpg.conf? This is given at http://live.gnome.org/Seahorse/SessionIntegration but the souce code says:
If I can trust the modification date of ~/.gnupg/gpg.conf, it hasn't been modified here. So it works. An alternative is to use --execute, but it won't do the agent.info file creation. (In reply to comment #13 from Dr. Werner Fink)
Next point, seahorse-agent does not have an --write-env-file option which makes it very difficult to be able to use the same gpg session even for an sub session e.g. started by Xnest.
Want me to open a bug upstream to get this? Not sure it'll be accepted, but we can try. -- 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.