Package: signing-party
Version: 1.1.3-1
Severity: wishlist
Tags: patch

Allow the user to specify a gnupg comment for the temporary
configuration used by caff.  This patch provides for a new configuration
option that allows this.

Ben


-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages signing-party depends on:
ii  gnupg                       1.4.10-4     GNU privacy guard - a free PGP rep
ii  libc6                       2.11.2-10    Embedded GNU C Library: Shared lib
ii  libclass-methodmaker-perl   2.15-2       Perl module for creating generic m
ii  libgnupg-interface-perl     0.42-3       Perl interface to GnuPG
ii  libmailtools-perl           2.06-1       Manipulate email in perl programs
ii  libmime-tools-perl          5.428-1      Perl5 modules for MIME-compliant m
ii  libterm-readkey-perl        2.30-4       A perl module for simple terminal 
ii  libtext-template-perl       1.45-1       Text::Template perl module
ii  perl                        5.10.1-17    Larry Wall's Practical Extraction 
ii  qprint                      1.0.dfsg.2-2 encoder and decoder for quoted-pri

Versions of packages signing-party recommends:
pn  libgd-gd2-noxpm-perl | libgd- <none>     (no description available)
pn  libpaper-utils                <none>     (no description available)
ii  libtext-iconv-perl            1.7-2      converts between character sets in
ii  postfix [mail-transport-agent 2.7.1-1    High-performance mail transport ag
ii  whiptail                      0.52.11-1  Displays user-friendly dialog boxe

Versions of packages signing-party suggests:
pn  imagemagick | graphics <none>            (no description available)
ii  mutt                   1.5.20-9+squeeze1 text-based mailreader supporting M
pn  texlive-latex-recommen <none>            (no description available)
pn  wipe                   <none>            (no description available)

-- no debconf information
--- /usr/bin/caff	2010-02-11 13:26:29.000000000 -0500
+++ caff	2011-05-04 23:42:17.000000000 -0400
@@ -1223,6 +1241,12 @@
 		debug("Doing key $keyid, uid $uid_number");
 		my $tempdir = tempdir( "caff-$keyid-XXXXX", DIR => '/tmp/', CLEANUP => 1);
 
+               if (defined $CONFIG{'export-comment'}) {
+                       open (GPGCONF, ">$tempdir/gpg.conf");
+                       print GPGCONF "comment $CONFIG{'export-comment'}";
+                       close (GPGCONF);
+               };
+
 		# import into temporary gpghome
 		###############################
 		my $result = import_key($tempdir, $asciikey);

Reply via email to