summary refs log tree commit diff stats
path: root/bin/gk
blob: a25edf84ead77d95b23a3aa2d0b83c0a095a004c (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
pkill -9 gpg-agent

export GPG_TTY=$(tty)
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpg-connect-agent updatestartuptty /bye

gpgconf --create-socketdir