diff options
-rw-r--r-- | .config/fish/config.fish | 2 | ||||
-rw-r--r-- | .pam_environment | 2 | ||||
-rwxr-xr-x | build | 5 |
3 files changed, 9 insertions, 0 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish index e99e1dc..38413a4 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -14,5 +14,7 @@ function fish_user_key_bindings end end +gpg-connect-agent updatestartuptty /bye > /dev/null + function fish_mode_prompt end diff --git a/.pam_environment b/.pam_environment new file mode 100644 index 0000000..b55fba7 --- /dev/null +++ b/.pam_environment @@ -0,0 +1,2 @@ +SSH_AGENT_PID DEFAULT= +SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh" @@ -71,3 +71,8 @@ ln -s $RC_DIR'/.task' $HOME # xscreensaver setup ln -s $RC_DIR'/.xscreensaver' $HOME + +# pam setup +ln -s $RC_DIR'/.pam_environment' $HOME + +echo "use gpg --list-secret-keys --with-keygrip, write the [A] keygrip to .gnupg/sshcontrol" |