diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-11-10 23:04:22 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-11-10 23:04:22 +0100 |
| commit | 638549b55d23d296d314399a9a77e724e14bf754 (patch) | |
| tree | d82d416f76779d325971c22d2c1fcd10582dbd89 | |
| parent | f265feb0d743103e151ac53e24a318d3012d5c10 (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)
| -rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 ``` |
