# On systems with systemd running, we expect the agent to be launched # via systemd's user mode (see # /usr/lib/systemd/user/gpg-agent.{socket,service} and # systemd.unit(5)). This allows systemd to clean up the agent # automatically at logout. # If systemd is absent from your system, or you do not permit it to # run in user mode, then you may need to manually launch gpg-agent # from your session initialization with something like "gpgconf # --launch gpg-agent" # Nonetheless, ssh and older versions of gpg require environment # variables to be set in order to find the agent, so we will set those # here. agent_sock=$(gpgconf --list-dirs agent-socket) export GPG_AGENT_INFO=${agent_sock}:0:1 if [ -n "$(gpgconf --list-options gpg-agent | \ awk -F: '/^enable-ssh-support:/{ print $10 }')" ]; then export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) fi
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
20dbus_xdg-runtime | File | 1.04 KB | 0644 |
|
20x11-common_process-args | File | 1.98 KB | 0644 |
|
30x11-common_xresources | File | 878 B | 0644 |
|
35x11-common_xhost-local | File | 389 B | 0644 |
|
40x11-common_xsessionrc | File | 187 B | 0644 |
|
50x11-common_determine-startup | File | 1.53 KB | 0644 |
|
55xfce4-session | File | 664 B | 0644 |
|
60x11-common_localhost | File | 146 B | 0644 |
|
60x11-common_xdg_path | File | 991 B | 0644 |
|
70gconfd_path-on-session | File | 336 B | 0644 |
|
75dbus_dbus-launch | File | 752 B | 0644 |
|
90gpg-agent | File | 880 B | 0644 |
|
90qt-a11y | File | 368 B | 0644 |
|
90x11-common_ssh-agent | File | 629 B | 0644 |
|
95dbus_update-activation-env | File | 513 B | 0644 |
|
99x11-common_start | File | 166 B | 0644 |
|