dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 59e4e1274ca589c236ea3f05bbdca5309e9de2d8 (tree)
parent 17c6049e6b0d74a13e452e027c42d063ccda0e0b
Author: Motiejus Jakštys <motiejus@uber.com>
Date:   Sat,  1 Aug 2020 07:28:51 +0300

beginnings of ssh + pgp

Diffstat:
Agnupg/.gnupg/gpg-agent.conf | 10++++++++++
Assh/.ssh/config | 2++
Assh/.xsessionrc | 3+++
3 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/gnupg/.gnupg/gpg-agent.conf b/gnupg/.gnupg/gpg-agent.conf @@ -0,0 +1,10 @@ +# https://github.com/drduh/config/blob/master/gpg-agent.conf +# https://www.gnupg.org/documentation/manuals/gnupg/Agent-Options.html +#enable-ssh-support +default-cache-ttl 60 +max-cache-ttl 120 +pinentry-program /usr/bin/pinentry-curses +#pinentry-program /usr/bin/pinentry-tty +#pinentry-program /usr/bin/pinentry-x11 +#pinentry-program /usr/local/bin/pinentry-curses +#pinentry-program /usr/local/bin/pinentry-mac diff --git a/ssh/.ssh/config b/ssh/.ssh/config @@ -0,0 +1,2 @@ +Host *.jakstys.lt + IdentityAgent $GPG_SSH_AUTH_SOCK diff --git a/ssh/.xsessionrc b/ssh/.xsessionrc @@ -0,0 +1,3 @@ +export GPG_TTY="$(tty)" +export GPG_SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) +gpgconf --launch gpg-agent