[NoCat] Patch: gpg-secmem-01.patch
Karl Gaissmaier
karl.gaissmaier at kiz.uni-ulm.de
Tue, 29 Jul 2003 00:26:54 +0200
--------------Boundary-00=_UCAR09HN0N4HTASZL5O0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 8bit
Name:
gpg-secmem-01.patch
Affected Files:
lib/NoCat/Message.pm
Version: Patch against 0.82 or later
Severity:
unimportant
Description:
If gpg is dealing with private keys not being root
the warning about insecure memory is generated. With
this small patch you get rid of this message. This
could also be achieved by adding the correspondig option
in the gpg options file
-- Karl Gaissmaier KIZ/Infrastructure, University of Ulm, Germany
Email:karl.gaissmaier@kiz.uni-ulm.de Service Group Network
--------------Boundary-00=_UCAR09HN0N4HTASZL5O0
Content-Type: text/x-diff;
charset="us-ascii";
name="gpg-secmem-01.patch"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="gpg-secmem-01.patch"
diff -Naur NoCatAuth-nightly/lib/NoCat/Message.pm NoCatAuth-mod/lib/NoCat/Message.pm
--- NoCatAuth-nightly/lib/NoCat/Message.pm Thu Aug 15 04:01:03 2002
+++ NoCatAuth-mod/lib/NoCat/Message.pm Wed Jul 16 10:56:11 2003
@@ -48,7 +48,7 @@
} elsif ( $self->{GpgPath} and $self->{PGPKeyPath} and $Cmd_Map{$cmd} ) {
$cmd = "$self->{GpgPath} $Cmd_Map{$cmd} --homedir=$self->{PGPKeyPath} " .
- "--keyring trustedkeys.gpg --no-tty -o-";
+ "--keyring trustedkeys.gpg --no-tty --no-secmem-warning -o-";
$cmd .= " 2>/dev/null" if $self->{Verbosity} < 7;
} else {
--------------Boundary-00=_UCAR09HN0N4HTASZL5O0--