set the right ssh/gpg agents at boot with gnome-keyring
This commit is contained in:
parent
22a1a387b9
commit
3658bcf6c1
4 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ set -x EDITOR vim
|
|||
set -x VIRTUAL_ENV_DISABLE_PROMPT true
|
||||
|
||||
## SSH init
|
||||
set -x SSH_AUTH_SOCK $XDG_RUNTIME_DIR/ssh-agent.socket
|
||||
set -x SSH_AUTH_SOCK $XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh
|
||||
for f in (ls $HOME/.ssh/*.pub);
|
||||
set -l priv (string replace '.pub' '' $f);
|
||||
if not contains $priv (ssh-add -l | awk '{ print $3 }')
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
/home/bca/.config/systemd/user/gnome-keyring-daemon.service
|
|
@ -1 +0,0 @@
|
|||
/home/bca/.config/systemd/user/ssh-agent.service
|
|
@ -3,7 +3,7 @@ Description=Gnome Keyring daemon
|
|||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,gnupg
|
||||
ExecStart=/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue