qcommit apparently hangs waiting for gpg key
Bug #336910 reported by
Rob Walker
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned | ||
QBzr |
Confirmed
|
Medium
|
Unassigned |
Bug Description
(This was originally posted some time ago on the bzr bug list, but I believe they had wanted it to be re-posted here instead.)
I use GPG to sign all my commits.
Whenever I use the qcommit command on Windows, either launching it via a command prompt or the TortoiseBzr interface, whenever I attempt to commit, the "Status" tab shows that it gets to "Saving data locally - Stage (2/5)" and forever hangs there. I have to kill the process and break the lock on the branch . Normal commits (not using qbzr) work from the command line, where I have to enter the password in order to commit using GPG.
I'm using Bazaar 1.12 and GPG4win version 1.1.3.
Changed in qbzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | added: signatures |
tags: | added: check-for-breezy |
To post a comment you must log in.
Rob Walker пишет:
> Public bug reported:
>
> (This was originally posted some time ago on the bzr bug list, but I
> believe they had wanted it to be re-posted here instead.)
>
> I use GPG to sign all my commits.
>
> Whenever I use the qcommit command on Windows, either launching it via a
> command prompt or the TortoiseBzr interface, whenever I attempt to
> commit, the "Status" tab shows that it gets to "Saving data locally -
> Stage (2/5)" and forever hangs there. I have to kill the process and
> break the lock on the branch . Normal commits (not using qbzr) work from
> the command line, where I have to enter the password in order to commit
> using GPG.
>
> I'm using Bazaar 1.12 and GPG4win version 1.1.3.
It hangs because gpg require password and want to read it from stdin.
I suspect you should see gpg prompt in the console (when you run qcommit
from command-line) but it obviously won't help in the case of TBZR.
Because QBzr has no idea that gpg is used and it require the password,
we can't handle this situation reliable.
The best you can do to workaround this is to use special gpg-agent program
to hold your key.