bzr commit fails when GPG agent is unavailable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I usually run the Seahorse agent for GPG passphrase caching, but recently I've turned it off after switching to KDE.
When I try checking in, it tells me:
jdong@jdong-
modified defrag
You need a passphrase to unlock the secret key for
user: "John Dong (Ubuntu Key!) <email address hidden>"
1024-bit DSA key, ID B1233042, created 2005-09-27
can't connect to `/home/
gpg: can't connect to `/home/
=======
Then, it properly prompts for a passphrase, which I enter. Afterwards, bzr states:
bzr: ERROR: Failed to gpg sign data with command '['gpg', '--clearsign']'
even though I provided a correct passphrase after it fell back from agent usage.
This is strange. Can you check something - try running the signing
command from a shell and reproduce the failure and fallback, and then
tell me what the exit code was? You can get that by typing
echo $?
--
Martin