Package: devscripts
Version: 2.10.41
Severity: normal
Hi there,
debsign doesn't work with pinentry-curses because it seems to use
stdin/stdout to draw the password prompt and read the password but
debsign redirects them.
pinentry-gtk2 will fall back to pinentry-curses if available, so this
bug is triggered quite easily.
Also, this prevents people from using pinentry on console.
I confirmed that:
- dropping the (cat "$1" ; echo "")
- changing the signcommand call as follows:
- --list-options no-show-policy-urls \
- --armor --textmode --output - - > "$1.asc" || \
+ --list-options no-show-policy-urls --batch \
+ --armor --textmode --output "$1.asc" "$1" || \
allows pinentry-curses to work.
Unfortunately, it breaks (due to the removal of the echo ""), so the
full solution is to create a temp dir with with a new $1 + newline
file, run gpg on this in batch mode (prevents "Are you sure you want to
overwrite" prompting) and outputting to a real .asc file, then moving
this back.
Thanks,
Bye
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
DEBSIGN_KEYID=2B0920C0
DEBSIGN_ALWAYS_RESIGN=yes
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.27-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages devscripts depends on:
ii dpkg-dev 1.14.23 Debian package development tools
ii libc6 2.7-16 GNU C Library: Shared libraries
ii perl 5.10.0-18 Larry Wall's Practical Extraction
Versions of packages devscripts recommends:
ii at 3.1.10.2 Delayed job execution and batch pr
ii bsd-mailx [mailx] 8.1.2-0.20081101cvs-2 A simple mail user agent
ii bzr 1.5-1.1 easy to use distributed version co
ii curl 7.18.2-7 Get a file from an HTTP, HTTPS or
ii cvs 1:1.12.13-12 Concurrent Versions System
ii dctrl-tools 2.13.0 Command-line tools to process Debi
ii debian-keyring 2008.09.23 GnuPG (and obsolete PGP) keys of D
ii debian-maintainers 1.49 GPG keys of Debian maintainers
ii dput 0.9.2.36 Debian package upload tool
ii dupload 2.6.6 utility to upload Debian packages
ii epiphany-gecko [ww 2.22.3-8 Intuitive GNOME web browser - Geck
ii epiphany-webkit [w 2.22.3-8 Intuitive GNOME web browser - webk
ii equivs 2.0.7-0.1 Circumvent Debian package dependen
ii fakeroot 1.11 Gives a fake root environment
ii galeon [www-browse 2.0.6-2 GNOME web browser for advanced use
ii git-core 1:1.6.0.2-1 fast, scalable, distributed revisi
ii gnupg 1.4.9-3 GNU privacy guard - a free PGP rep
ii iceweasel [www-bro 3.0.4-1 lightweight web browser based on M
ii libauthen-sasl-per 2.12-1 Authen::SASL - SASL Authentication
ii libcrypt-ssleay-pe 0.57-1+b1 Support for https protocol in LWP
ii libparse-debcontro 2.005-2 Easy OO parsing of Debian control-
ii libsoap-lite-perl 0.710.08-1 Client and server side SOAP implem
ii libterm-size-perl 0.2-4+b1 Perl extension for retrieving term
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin
ii libwww-perl 5.820-1 WWW client/server library for Perl
pn libyaml-syck-perl <none> (no description available)
ii lintian 2.1.0 Debian package checker
ii lsb-release 3.2-20 Linux Standard Base version report
ii lynx-cur [www-brow 2.8.7dev10-5 Text-mode WWW Browser with NLS sup
ii mailx 1:20081101-2 Transitional package for mailx ren
ii man-db 2.5.2-3 on-line manual pager
ii openssh-client [ss 1:5.1p1-4 secure shell client, an rlogin/rsh
ii patch 2.5.9-5 Apply a diff file to an original
ii patchutils 0.2.31-4 Utilities to work with patches
ii strace 4.5.17+cvs080723-2 A system call tracer
ii subversion 1.5.1dfsg1-1 Advanced version control system
ii unzip 5.52-12 De-archiver for .zip files
ii w3m [www-browser] 0.5.2-2+b1 WWW browsable pager with excellent
ii wdiff 0.5-18 Compares two files word by word
ii wget 1.11.4-2 retrieves files from the web
Versions of packages devscripts suggests:
ii build-essential 11.4 Informational list of build-essent
ii cvs-buildpackage 5.23 A set of Debian package scripts fo
pn devscripts-el <none> (no description available)
ii gnuplot 4.2.4-4 A command-line driven interactive
pn libfile-desktopentry-perl <none> (no description available)
pn libnet-smtp-ssl-perl <none> (no description available)
ii mutt 1.5.18-4 text-based mailreader supporting M
ii svn-buildpackage 0.6.23 helper programs to maintain Debian
-- no debconf information
--
Loïc Minier
--
To unsubscribe, send mail to [EMAIL PROTECTED]