From 1668f33411e28591aa6f8ba7f71cd729069dc0ea Mon Sep 17 00:00:00 2001 From: Julien Escario Date: Thu, 24 Sep 2020 16:06:34 +0200 Subject: [PATCH] Config update (using pinentry gnome3 --- gpg/Readme.md | 3 ++- gpg/gpg-agent.conf | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gpg/Readme.md b/gpg/Readme.md index 8e4fb51..9c8afa1 100644 --- a/gpg/Readme.md +++ b/gpg/Readme.md @@ -2,6 +2,7 @@ ### Créer le répertoire : ``` +apt install pinentry-gnome3 mkdir -p ~/.gnupg/ curl -s -o ~/.gnupg/gpg.conf https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/gpg/gpg.conf curl -s -o ~/.gnupg/gpg-agent.conf https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/gpg/gpg-agent.conf @@ -11,7 +12,7 @@ chmod 700 -R .gnupg ### Puis, charger sa clé publique : ``` -gpg --auto-key-locate keyserver --locate-keys julien.escario@altinea.fr +gpg --auto-key-locate keyserver --locate-keys gpg --card-status ``` diff --git a/gpg/gpg-agent.conf b/gpg/gpg-agent.conf index 8c85594..6ea675d 100755 --- a/gpg/gpg-agent.conf +++ b/gpg/gpg-agent.conf @@ -1,4 +1,4 @@ enable-ssh-support -pinentry-program /usr/bin/pinentry-curses +pinentry-program /usr/bin/pinentry-gnome3 default-cache-ttl 60 max-cache-ttl 120