Package: debarchiver
Version: 0.5.3
Severity: normal
Tags: patch

I see that while I was distracted by other things people fixed the Release
signing.  That's great!  However, it looks like that, in the process of
fixing noninteractive signing, interactive signing stopped working.  (I
may be the only one who uses that!)

The following attached patch fixes this for me, and I think shouldn't
break anything else since it's only in the interactive path.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages debarchiver depends on:
ii  adduser                       3.77       Add and remove users and groups
ii  apt-utils                     0.6.42.1   APT utility programs
ii  dpkg-dev                      1.13.11    package building tools for Debian
ii  opalmod                       0.1.13     A set of Perl modules for various 

debarchiver recommends no packages.

-- no debconf information
--- debarchiver.pl      2005-10-13 22:37:00.000000000 -0700
+++ /usr/bin/debarchiver        2005-11-07 11:41:26.000000000 -0800
@@ -1006,6 +1006,10 @@
 #  2005-10-14 Daniel Leidert <[EMAIL PROTECTED]>
 #      No longer invokes a helper program. We run gpg in batch mode without
 #      tty to work-around old problems.
+#  2005-11-07 Russ Allbery <[EMAIL PROTECTED]>
+#      Don't set batch mode unless the passphrase is obtained from a file;
+#      otherwise running debarchiver interactively with a signing key that
+#      has a passphrase silently fails.
 ###############################################################################
 
 sub generateRelease([EMAIL PROTECTED]@) {
@@ -1051,7 +1055,7 @@
                      3);
        }
        else {
-           cmdaction("gpg --batch --no-tty -a -b -s -u $gpgkey " .
+           cmdaction("gpg -a -b -s -u $gpgkey " .
                      "-o $path/Release.gpg $path/Release",
                      "Signing Release file for $path with key '$gpgkey'",
                      3);

Reply via email to