aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-09 10:10:52 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-09 10:10:52 -0300
commitc4c93539fbc523b8daf4a0597b63c092018de69a (patch)
treee415e562d799a2ec080b56a5cb6bc7b99c6f70ed
parentdc9b8b6e102c579fb4ccdbc8c58d56345fe16eea (diff)
downloadprofile-c4c93539fbc523b8daf4a0597b63c092018de69a.tar.gz
profile-c4c93539fbc523b8daf4a0597b63c092018de69a.tar.bz2
Feat: comments about SSH and GPG agents
-rw-r--r--profile.dot.link29
1 files changed, 22 insertions, 7 deletions
diff --git a/profile.dot.link b/profile.dot.link
index 4c5c866..713b1be 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -339,9 +339,21 @@ mkdir -p $LOG
# Dir colors
eval "`dircolors -b ~/.dircolorsrc`"
-# SSH and GPG Agents
-if [ -x "$HOME/apps/utils-ssh/ssh-agent-loadkeys" ]; then
- . $HOME/apps/utils-ssh/ssh-agent-loadkeys
+# SSH Agent
+#
+# Note that there might be other, possibly conflicting startup procedures
+# handling SSH agent:
+#
+# * /usr/lib/systemd/user/ssh-agent.service
+# * /usr/lib/systemd/user/gnome-keyring-daemon.service
+# * /etc/xdg/autostart/gnome-keyring-*
+# * ~/.config/autostart
+#
+#if [ -e "$HOME/apps/utils-ssh/ssh-agent-eval" ]; then
+# $HOME/apps/utils-ssh/ssh-agent-eval
+#fi
+if [ -x "$HOME/apps/utils-ssh/ssh-agent-keychain" ]; then
+ . $HOME/apps/utils-ssh/ssh-agent-keychain
fi
# Set the proper GnuPG TTY when running on console
@@ -351,11 +363,14 @@ if [ -z "$DISPLAY" ]; then
export GPG_TTY=$(tty)
fi
-#if [ -e "$HOME/apps/utils-ssh/ssh-agent-eval" ]; then
-# $HOME/apps/utils-ssh/ssh-agent-eval
-#fi
-
# GPG Agent
+#
+# This seems to be already handled by one of these startup procedures:
+#
+# * /usr/lib/systemd/user/gpg-agent.service
+# * /usr/lib/systemd/user/gnome-keyring-daemon.service
+# * /etc/xdg/autostart/gnome-keyring-*
+#
#if [ -e "$HOME/apps/utils-gpg/gpg-agent-eval" ]; then
# $HOME/apps/utils-gpg/gpg-agent-eval
#fi