From 49442a6a57676b933245b7f499c5a65ec4959cc4 Mon Sep 17 00:00:00 2001 From: "anselmi@0a9758305bef5e058dd0263fa20a27b334b482c7" Date: Thu, 22 Dec 2016 17:23:58 +0000 Subject: Added a comment: Cache gpg passphrase. --- .../comment_1_4b732110f59f78f73fdfb745bdd9c0dd._comment | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/forum/propellor_and_gpg2/comment_1_4b732110f59f78f73fdfb745bdd9c0dd._comment diff --git a/doc/forum/propellor_and_gpg2/comment_1_4b732110f59f78f73fdfb745bdd9c0dd._comment b/doc/forum/propellor_and_gpg2/comment_1_4b732110f59f78f73fdfb745bdd9c0dd._comment new file mode 100644 index 00000000..66c4cffa --- /dev/null +++ b/doc/forum/propellor_and_gpg2/comment_1_4b732110f59f78f73fdfb745bdd9c0dd._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="anselmi@0a9758305bef5e058dd0263fa20a27b334b482c7" + nickname="anselmi" + avatar="http://cdn.libravatar.org/avatar/65b723eb35eb4e3b05fffafd3e13e0fd" + subject="Cache gpg passphrase." + date="2016-12-22T17:23:58Z" + content=""" +The bottom line on this is that gpg2 (via the agent and pinentry) doesn't prompt correctly when run from git. It does when run directly. + +One fix is to set GPG_TTY before running propellor: `export GPG_TTY=$(tty)` or some such. + +Anything else that caches the pass phrase in the agent works too since that removes the need to prompt. +"""]] -- cgit v1.3-2-g0d8e