summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoranselmi@0a9758305bef5e058dd0263fa20a27b334b482c72016-11-29 05:33:28 +0000
committeradmin2016-11-29 05:33:28 +0000
commita1f47be22b7d1ee93460e21db981bf1612aee78f (patch)
treeb723fa54665b388d416833d07fc35b9e5336640a /doc
parent38408075a330fa45a9f1fb25f6368d38a011d7c6 (diff)
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/propellor_and_gpg2.mdwn6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/forum/propellor_and_gpg2.mdwn b/doc/forum/propellor_and_gpg2.mdwn
index 6337e3e6..d78de741 100644
--- a/doc/forum/propellor_and_gpg2.mdwn
+++ b/doc/forum/propellor_and_gpg2.mdwn
@@ -6,11 +6,9 @@ In my case this was a fresh install into a new Debian/sid system (so gpg2 is the
So it was frustrating that propellor didn't work out of the box and there were no hints what was wrong with signing commits in git (the error above is from git and doing git commit -S was enough to reproduce it).
-But I persevered and happened across a sort of solution. I'm sharing it here because searching for git commit failures with gpgp2 wasn't very helpful.
+The issue has to do with prompting for a passphrase in gpg2. If the agent is running and $GPG_TTY is set correctly you get a prompt and things will work. I was able to convince myself that if the agent wasn't running it would cause this error but it seems that gpg2 requires the agent and automatically starts it so I'm not sure how I managed that.
-The issue has to do with prompting for a passphrase in gpg2. If the agent is running and $GPG_TTY is set correctly you get a prompt and things will work. If the agent is not running then gpg doesn't prompt for the passphrase and the commit fails as above. Luckily I was able to try this on a Mac, which gave an agent ioctl error, which got me to this answer.
-
-Initially I was trying propellor before I installed a desktop so I didn't have the gpg agent. I'm not sure how to work around this issue without the agent but I'll keep looking for git + gpg2 help.
+Initially I was trying propellor before I installed a desktop so I don't know what I had for the gpg agent or how it should have been prompting. There doesn't seem to be much help out there on gpg2 + git failures but I'll keep looking.
Dave