From 43d058f3bfc9129a8b5dc7af5dcf13adf3c90b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hallet?= Date: Thu, 2 Jan 2020 01:45:28 +0100 Subject: [PATCH] Adding an instruction in pinentry section The pinentry window never spawned until I did that. Solution found here : https://apple.stackexchange.com/questions/236758/how-to-use-gui-pinentry-program-for-gpg --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 39603a5..58b1dc4 100644 --- a/README.md +++ b/README.md @@ -148,6 +148,14 @@ $ $EDITOR ~/.gnupg/gpg-agent.conf pinentry-program /usr/local/bin/pinentry-mac ``` +It may be needed to restart the agent : + +```sh +# it will start back on the next use +$ gpgconf --kill gpg-agent +``` + + Now `git commit -S`, it will ask your password and you can save it to macOS keychain.