funtoo / keychain

keychain ssh-agent front-end
http://www.funtoo.org
GNU General Public License v2.0
750 stars 104 forks source link

exporting session key before graphical session with graphical-session-pre.target #149

Open Konfekt opened 3 months ago

Konfekt commented 3 months ago

If one happens to use systemd, then, looking at graphical-session-pre.target does not adding an SSH key for the graphical-session-pre.target export SSH_AUTH_SOCK for a session that includes all logins to desktop environments, in particular spawned terminals?

    This target contains services which set up the environment or global configuration of a graphical session, such as 
SSH/GPG agents (which need to export an environment variable into all desktop processes) or migration of obsolete 
d-conf keys after an OS upgrade (which needs to happen before starting any process that might use them). This 
target must be started before starting a graphical session like [gnome-session.target](http://gnome-session.target/).

    Added in version 234.