From 1abeb0548981c4144966a09d98dec88450bc9398 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Sun, 8 Mar 2020 14:18:13 +0100 Subject: [PATCH] gpg: add socket conf --- .gnupg/gpg-agent.conf | 1 + .gnupg/gpg.conf | 1 + .ssh/config | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 .gnupg/gpg-agent.conf create mode 100644 .gnupg/gpg.conf create mode 100644 .ssh/config diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf new file mode 100644 index 0000000..07b81c0 --- /dev/null +++ b/.gnupg/gpg-agent.conf @@ -0,0 +1 @@ +extra-socket /run/user/1000/gnupg/S.gpg-agent.extra diff --git a/.gnupg/gpg.conf b/.gnupg/gpg.conf new file mode 100644 index 0000000..9e479a1 --- /dev/null +++ b/.gnupg/gpg.conf @@ -0,0 +1 @@ +keyid-format LONG diff --git a/.ssh/config b/.ssh/config new file mode 100644 index 0000000..9ae85b7 --- /dev/null +++ b/.ssh/config @@ -0,0 +1,18 @@ +Host porky +Hostname porky.eintr.org +ForwardAgent yes + +Host home +Hostname home.eintr.org +ForwardAgent no + +Host home-dev +Hostname home.eintr.org +ForwardAgent yes +ExitOnForwardFailure yes +LocalForward 127.0.0.1:3000 127.0.0.1:3000 +LocalForward 127.0.0.1:8000 127.0.0.1:8000 +LocalForward 127.0.0.1:8080 127.0.0.1:8080 +RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra +RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh /run/user/1000/gnupg/S.gpg-agent.ssh +