summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2021-06-10 19:34:51 +0200
committerAhmed Abdelhalim <[email protected]>2021-06-10 19:34:51 +0200
commitdc7522eff265977d2c5716daaa5c48f87fc53318 (patch)
tree1ac5726a2079b06424e652a47f51009e7978e230
parent1cdb4f8d7db3ef610b76cc073c7bfb677c51fb6f (diff)
Add the gpg conf file to allow forwarded agents
-rw-r--r--.gnupg/gpg.conf1
-rw-r--r--README.md3
2 files changed, 4 insertions, 0 deletions
diff --git a/.gnupg/gpg.conf b/.gnupg/gpg.conf
new file mode 100644
index 0000000..d53cb13
--- /dev/null
+++ b/.gnupg/gpg.conf
@@ -0,0 +1 @@
+use-agent
diff --git a/README.md b/README.md
index 50b53fe..3deee83 100644
--- a/README.md
+++ b/README.md
@@ -80,7 +80,10 @@ sudo apt update -y
sudo apt upgrade -y
sudo apt install scdaemon vim htop tmux pass pass-extension-otp git-crypt pinentry-tty -y
ln -sf ~/.rc/.bashrc ~/.bashrc
+
sudo ln -sf /usr/bin/pinentry-tty /usr/local/bin/pinentry-tty
+ln -sf ~/.rc/.gnupg/gpg.conf ~/.gnupg/gpg.conf
+
ssh-add -L > ~/.ssh/.authorized_keys
sudo systemctl enable ssh
sudo ufw enable