From 638549b55d23d296d314399a9a77e724e14bf754 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 10 Nov 2025 23:04:22 +0100 Subject: 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) --- README.md | 3 +++ 1 file changed, 3 insertions(+) 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 git@git.sr.ht:~a14m/.rc ``` -- cgit v1.2.3