[Debpool-commits] [SCM] Debpool Project Repository branch, master, updated. 0.2.3-63-g38a32aa
ceros-guest
ceros-guest at alioth.debian.org
Tue Jun 3 07:07:09 UTC 2008
The following commit has been merged in the master branch:
commit 22fee9c4ea42da8622d582260bc0d9ca8e560ce8
Author: ceros-guest <ceros-guest>
Date: Thu Jan 10 21:59:56 2008 +0000
Include '--passphrase-fd=0' option when using a passphrase. Fixes minor error.
diff --git a/share/DebPool/GnuPG.pm b/share/DebPool/GnuPG.pm
index 7bb67d1..abb0ee8 100644
--- a/share/DebPool/GnuPG.pm
+++ b/share/DebPool/GnuPG.pm
@@ -174,7 +174,7 @@ sub Sign_Release {
my(@args) = ('--batch', '--no-tty', '--detach-sign', '--armor', '--output=-');
push(@args, '--homedir', $Options{'gpg_home'}) if defined $Options{'gpg_home'};
push(@args, '--default-key', $Options{'gpg_sign_key'}) if defined $Options{'gpg_sign_key'};
- push(@args, '--passphrase-file', $Options{'gpg_passfile'}) if defined $Options{'gpg_passfile'};
+ push(@args, '--passphrase-fd=0', '--passphrase-file', $Options{'gpg_passfile'}) if defined $Options{'gpg_passfile'};
push(@args, '--', $release_file);
my($gnupg_pid) = open3(*DUMMY, ">&".fileno $tmpfile, *GPG_ERR, $Options{'gpg_bin'}, @args);
--
Debpool Project Repository
More information about the Debpool-commits
mailing list