summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2023-03-17 00:13:16 +0100
committerAhmed Abdelhalim <[email protected]>2023-03-17 00:37:45 +0100
commitbdc375a3d1082355806c86d3b8c74df95e73f5fa (patch)
treefd0bc10ad286942f7d882f2e751bd0f104bcdf3a /README.md
parent4bd21aab50c8aac338a66be6d74e76e7aeb5a616 (diff)
Use pinentry-wrapper script to allow alternating
Using PINENTRY_USER_DATA to alternate between tty and curses This allow mutt/neomutt to work with decrypting the emails Because the tty doesn't work with mutt
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index e9c1d9e..0304836 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,7 @@ sudo apt install scdaemon vim htop tmux pass pass-extension-otp git-crypt pinent
ln -sf ~/.rc/.bashrc ~/.bashrc
sudo ln -sf /usr/bin/pinentry-tty /usr/local/bin/pinentry-tty
+sudo ln -sf /usr/bin/pinentry-curses /usr/local/bin/pinentry-curses
ln -sf ~/.rc/.gnupg/gpg.conf ~/.gnupg/gpg.conf
```
@@ -63,6 +64,7 @@ git remote add origin [email protected]:~a14m/.rc
```bash
mkdir -p ~/.gnupg
chmod 700 ~/.gnupg
+sudo ln -sf ~/.rc/.gnupg/pinentry-wrapper /usr/local/bin/pinentry-wrapper
ln -sf ~/.rc/.gnupg/gpg-agent.conf ~/.gnupg/gpg-agent.conf
ln -sf ~/.rc/.gnupg/sshcontrol ~/.gnupg/sshcontrol