From 5a981d8e3f9d5b3e1947b4b41bb27ce48daed64d Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 10 Jun 2021 21:13:00 +0200 Subject: Update the instruction of installing GPG and configuring it --- README.md | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3deee83..0a3a705 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,8 @@ git remote remove origin git remote add origin git@git.sr.ht:~a14m/.rc ``` -## MacOS -+ GPG setup +## GPG smart key +- GPG setup ```bash mkdir -p ~/.gnupg ln -sf ~/.rc/.gnupg/gpg-agent.conf ~/.gnupg/gpg-agent.conf @@ -55,14 +55,6 @@ gpg-connect-agent updatestartuptty /bye gpg-connect-agent /bye ``` -+ Bash shell default -```bash -sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells' -chsh -s /usr/local/bin/bash -``` - -## GPG smart key - - Load pgp key from card and trust it ```bash gpg --edit-card @@ -72,8 +64,14 @@ gpg --edit-key a14m@pm.me > trust ``` -## Debian Linux +## MacOS +- Bash shell default +```bash +sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells' +chsh -s /usr/local/bin/bash +``` +## Debian Linux - Add missing dependencies ```bash sudo apt update -y -- cgit v1.2.3