2017-01-19 23:51:35 +01:00
|
|
|
# unlock keyring at boot with PAM : https://wiki.archlinux.org/index.php/GNOME/Keyring
|
|
|
|
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,gpg,keyring,ssh)
|
|
|
|
export SSH_AUTH_SOCK
|
2015-05-28 15:05:42 +02:00
|
|
|
|
|
|
|
# Using ssh-agent instead of gnome-keyring ?
|
|
|
|
#SSHAGENT="/usr/bin/ssh-agent"
|
|
|
|
#SSHAGENTARGS="-s"
|
|
|
|
#if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then
|
|
|
|
# eval `$SSHAGENT $SSHAGENTARGS`
|
|
|
|
# trap "kill $SSH_AGENT_PID" 0
|
|
|
|
#fi
|
|
|
|
|