summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-11-10 23:04:22 +0100
committerAhmed Abdelhalim <[email protected]>2025-11-10 23:04:22 +0100
commit638549b55d23d296d314399a9a77e724e14bf754 (patch)
treed82d416f76779d325971c22d2c1fcd10582dbd89 /README.md
parentf265feb0d743103e151ac53e24a318d3012d5c10 (diff)
Fix gpg setup and restart agent for safety
On linux systems, the gpg conf directories are not created by default, so restarting the conf and agent ensures that the socket directories are created correctly according to the gpg config defined. It also corrects the gnupg folder permissions (created by stow)
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0f6d95e..6d5c90c 100644
--- a/README.md
+++ b/README.md
@@ -13,6 +13,9 @@
git clone https://git.sr.ht/~a14m/.rc
cd ~/.rc
stow --no-folding .
+chmod 0700 ~/.gnupg
+gpgconf --kill gpg-agent
+gpg-connect-agent /bye
git remote set-url origin [email protected]:~a14m/.rc
```