------------------------------------------------------------------------
-r329 | mbr | 2008-11-05 00:12:52 -0500 (Wed, 05 Nov 2008) | 1 line
+r336 | mbr | 2009-02-14 00:09:07 -0500 (Sat, 14 Feb 2009) | 1 line
Changed paths:
- A /gpgdir/branches/gpgdir-1.9.3 (from /gpgdir/trunk:328)
+ A /gpgdir/branches/gpgdir-1.9.4 (from /gpgdir/trunk:335)
-created gpgdir-1.9.3 branch
+created gpgdir-1.9.4 branch
------------------------------------------------------------------------
-r328 | mbr | 2008-11-05 00:04:20 -0500 (Wed, 05 Nov 2008) | 1 line
+r335 | mbr | 2009-02-12 23:48:54 -0500 (Thu, 12 Feb 2009) | 1 line
Changed paths:
M /gpgdir/trunk/ChangeLog
M /gpgdir/trunk/VERSION
M /gpgdir/trunk/packaging/gpgdir.spec
M /gpgdir/trunk/test/gpgdir_test.pl
-1.9.3 release
+version 1.9.4
------------------------------------------------------------------------
-r326 | mbr | 2008-10-13 21:55:56 -0400 (Mon, 13 Oct 2008) | 1 line
+r333 | mbr | 2008-11-09 15:23:13 -0500 (Sun, 09 Nov 2008) | 1 line
Changed paths:
M /gpgdir/trunk/VERSION
M /gpgdir/trunk/gpgdir
M /gpgdir/trunk/test/gpgdir_test.pl
-bumped version to 1.9.3-pre1
+tagged gpgdir-1.9.4-pre1
------------------------------------------------------------------------
-r325 | mbr | 2008-10-03 00:04:46 -0400 (Fri, 03 Oct 2008) | 3 lines
+r332 | mbr | 2008-11-09 15:22:46 -0500 (Sun, 09 Nov 2008) | 5 lines
Changed paths:
M /gpgdir/trunk/CREDITS
M /gpgdir/trunk/ChangeLog
M /gpgdir/trunk/gpgdir
+ A /gpgdir/trunk/test/data-dir/files_with_spaces
+ A /gpgdir/trunk/test/data-dir/files_with_spaces/file1 space1
+ A /gpgdir/trunk/test/data-dir/files_with_spaces/file2 space2
+ A /gpgdir/trunk/test/data-dir/files_with_spaces/file3 -dash
-- Bugfix for using -f instead of -I for non-interactive file erasure
-(Franck Joncourt).
+- Fixed a bug in missing the proper handling of files with spaces when
+using the --Wipe secure deletion mode (reported by Lars Wilke).
+- The --Force option now supports the ability to encrypt/decrypt hidden
+files (suggested by Lars Wilke).
------------------------------------------------------------------------
-r324 | mbr | 2008-10-02 23:57:33 -0400 (Thu, 02 Oct 2008) | 1 line
-Changed paths:
- M /gpgdir/trunk/ChangeLog
-
-minor date update
-------------------------------------------------------------------------
-r323 | mbr | 2008-10-02 23:57:11 -0400 (Thu, 02 Oct 2008) | 3 lines
-Changed paths:
- M /gpgdir/trunk/ChangeLog
- M /gpgdir/trunk/gpgdir
- M /gpgdir/trunk/test/gpgdir_test.pl
-
-Simplified test suite code by creating a set of default arguments for
-the gpgdir command line as each test is executed
-
-------------------------------------------------------------------------
-r322 | mbr | 2008-09-10 23:40:35 -0400 (Wed, 10 Sep 2008) | 1 line
-Changed paths:
- M /gpgdir/trunk/CREDITS
- M /gpgdir/trunk/gpgdir.1
-
-applied gpgdir man page fix from Franck
-------------------------------------------------------------------------
-r321 | mbr | 2008-09-01 00:24:35 -0400 (Mon, 01 Sep 2008) | 1 line
-Changed paths:
- M /gpgdir/trunk/gpgdir
-
-merged in 'signed' vs. 'verified' text fix
-------------------------------------------------------------------------
#
# Author: Michael Rash (mbr@cipherdyne.com)
#
-# Version: 1.9.3
+# Version: 1.9.4
#
# Copyright (C) 2002-2008 Michael Rash (mbr@cipherdyne.org)
#
#
###########################################################################
#
-# $Id: gpgdir 328 2008-11-05 05:04:20Z mbr $
+# $Id: gpgdir 335 2009-02-13 04:48:54Z mbr $
#
use File::Find;
use strict;
### set the current gpgdir version and file revision numbers
-my $version = '1.9.3';
-my $revision_svn = '$Revision: 328 $';
+my $version = '1.9.4';
+my $revision_svn = '$Revision: 335 $';
my $rev_num = '1';
($rev_num) = $revision_svn =~ m|\$Rev.*:\s+(\S+)|;
$cmd .= ' -f -s ';
}
}
- $cmd .= $file;
+ $cmd .= qq|"$file"|;
if ($verbose) {
print " Executing: $cmd\n";
}
sub check_file_criteria() {
my $file = shift;
### skip all links, zero size files, all hidden
- ### files (includes .gnupg files), etc.
+ ### files (includes the .gnupg directory), etc.
return if -d $file;
+
+ unless ($force_mode) {
+ if ($file =~ m|/\.|) {
+ print "[-] Skipping file: $file\n"
+ if $verbose and not $quiet;
+ return;
+ }
+ }
+
if (-e $file and not -l $file and -s $file != 0
- and $file !~ m|/\.|) {
+ and $file !~ m|\.gpgdir\.pid| and $file !~ m|\.gnupg|) {
if ($encrypt_mode or $signing_mode) {
if ($file =~ m|\.gpg| or $file =~ m|\.asc|) {
print "[-] Skipping encrypted/signed file: $file\n" unless $quiet;