[Bug 847388] Re: "gpg: cannot open `/dev/tty': No such device or address" on Ubuntu when signing commits
Launchpad Bug Tracker
847388 at bugs.launchpad.net
Tue Jun 26 14:35:25 UTC 2012
This bug was fixed in the package bzr - 2.5.1-0ubuntu1
---------------
bzr (2.5.1-0ubuntu1) precise-proposed; urgency=low
* New upstream release.
+ Fixes handling of colocated branches in `bzr rmbranch`. LP: #920653
+ rmbranch now refuses to remove active branch. LP: #922953
+ Connecting with HTTPS via HTTP correctly uses host name of destination
rather than that of proxy. LP: #944696
+ No longer requires tty when GPG signing commits. LP: #847388
+ Fixes unicode erorrs when translated progress task messages
contain non-ascii text. LP: #966934
+ Fixes display of help for configuration options that overlap
with other topics. LP: #941672
* Drop 06_spurious_test_failure: applied upstream.
-- Jelmer Vernooij <jelmer at debian.org> Mon, 28 May 2012 13:36:02 +0200
** Changed in: bzr (Ubuntu Precise)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/847388
Title:
"gpg: cannot open `/dev/tty': No such device or address" on Ubuntu
when signing commits
Status in Bazaar Version Control System:
Fix Released
Status in “bzr” package in Ubuntu:
Fix Released
Status in “bzr” source package in Precise:
Fix Released
Bug description:
On windows and mac, if you have 'create-signatures always' in your
config file, and you try and commit, it correctly spawns the pinentry
window (at least using the gpg installations that i have installed).
However, on ubuntu, when i have setup gpg, gpg-agent and pinentry
correctly (running gpg --clearsign in a terminal will popup the
pinentry-gtk-2 window asking for my password), i get the following
message in bazaar explorer:
gpg: cannot open `/dev/tty': No such device or address
bzr: ERROR: Failed to GPG sign data with command "['gpg', '--clearsign']"
Its probably because its trying to output to /dev/tty when it doesn't
exist in the GUI, so can this be solved by adding the --no-tty switch
to the gpg command?
To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/847388/+subscriptions
More information about the foundations-bugs
mailing list