diff options
Diffstat (limited to 'bin/gk')
-rwxr-xr-x | bin/gk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/gk b/bin/gk new file mode 100755 index 0000000..f0886f6 --- /dev/null +++ b/bin/gk @@ -0,0 +1,9 @@ +#!/bin/sh +pkill gpg-agent + +export GPG_TTY="$(tty)" +export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) +gpg-connect-agent updatestartuptty /bye + +gpgconf --create-socketdir + |