summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoranselmi@0a9758305bef5e058dd0263fa20a27b334b482c72016-12-22 17:23:58 +0000
committeradmin2016-12-22 17:23:58 +0000
commit49442a6a57676b933245b7f499c5a65ec4959cc4 (patch)
treea2d4e2dd5a9acf6d1bf877fac359707a539837fc /doc
parent0c97fa4d913e578f50bfbefa733857d0ce381793 (diff)
Added a comment: Cache gpg passphrase.
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/propellor_and_gpg2/comment_1_4b732110f59f78f73fdfb745bdd9c0dd._comment13
1 files changed, 13 insertions, 0 deletions
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.
+"""]]