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