Imported new upstream release for gpgdir.
[pgp-tools.git] / gpgdir / ChangeLog
1 gpgdir-1.9.5 (09/05/2009):
2 - Added support for the decryption of PGP encrypted files (to round out
3 the support of GnuPG).
4
5 gpgdir-1.9.4 (02/12/2009):
6 - Fixed a bug in missing the proper handling of files with spaces when
7 using the --Wipe secure deletion mode (reported by Lars Wilke).
8 - The --Force option now supports the ability to encrypt/decrypt hidden
9 files (suggested by Lars Wilke).
10
11 gpgdir-1.9.3 (11/05/2008):
12 - Bugfix for using -f instead of -I for non-interactive file erasure
13 (Franck Joncourt).
14 - Simplified test suite code by creating a set of default arguments for
15 the gpgdir command line as each test is executed.
16
17 gpgdir-1.9.2 (08/31/2008):
18 - Added new modes '--sign <dir>' and '--verify <dir>' to allow all files
19 in the specified directory to be signed or verified instead of encrypted
20 or decrypted. All GnuPG signatures are created as "<file>.asc", and the
21 original file is not removed in --sign mode. In --verify mode, if any
22 file does not match the expected .asc signature, then a warning like the
23 following will be generated:
24
25 [+] Verifying: /home/mbr/src/gpgdir/test/data-dir/multi-line-ascii.asc
26 [GNUPG:] BADSIG 9EDEEEEBA742EEEF Some User <someuser@domain.org>
27
28 - Bugfix to not die() when files that are encrypted with a different GnuPG
29 key are encountered in a directory that is being decrypted. A warning
30 message (see below) is now generated and the file is skipped:
31
32 [+] Decrypting: /home/mbr/tmp/gpgdir/a.gpg
33 [GNUPG:] BAD_PASSPHRASE CF16F0FCFFF3FF4F
34 [-] Skipping file encrypted with different GnuPG key: a.gpg
35
36 - Updated to use the status output from GnuPG::Interface to detect a bad
37 passphrase and whether a file is encrypted with the expected GnuPG key.
38 - Moved the GnuPG::Interface, Class::MethodMaker, and Term::ReadKey
39 modules to the deps/ directory, and updated the installer and RPM spec
40 file to account for the path change. This change was suggested by
41 Franck Joncourt for the other cipherdyne.org projects.
42 - Updated the test suite to generate files in the output/ directory
43 according to test number and append the result of each test within each
44 file. This makes it easy to tell which tests have failed with a simple
45 'grep fail output/*test'.
46 - Added the gpgdir-nodeps.spec file to allow an RPM to be built that does
47 not contain any perl modules dependencies.
48 - Updated gpgdir to import perl modules via 'require' statements instead
49 of 'use' statements so that the path to the modules directory can be
50 changed via the --Lib-dir command line argument. Also updated to use
51 the 'auto' heuristic (first implemented in the fwknop project) to detect
52 perl module directories that should be used in the --Lib-dir directory
53 to import perl modules from.
54
55 gpgdir-1.9.1 (06/07/2008):
56 - Updated to Class::MethodMaker 2.11 from CPAN. This helps with systems
57 running perl-5.10.0 and greater (such as Fedora 9).
58 - Updated to always set the LC_ALL environmental variable to the "C"
59 locale. This can be set to other locales with a new argument --locale,
60 or the default locale can be used by using --no-locale argument.
61
62 gpgdir-1.9 (05/31/2008):
63 - Changed --Obfuscate-filenames format to not include the gpgdir PID.
64 This allows directories to be encrypted/decrypted under -O multiple
65 times without creating new filenames (which would pollute encrypted
66 directories under rsync to other systems). The new -O encrypted
67 filename format is just "gpgdir_<num>.gpg".
68 - Added PID locking against directories so that multiple gpgdir processes
69 cannot operate against the same top-level directory simultaneously.
70 This is useful for users that typically operate with multiple shells
71 and might launch gpgdir from any of them.
72
73 gpgdir-1.8 (04/04/2008):
74 - Updated the test suite to validate the gpgdir --Obfuscate-filenames
75 mode to ensure that files are encrypted as "gpgdir_<pid>_<num>.gpg".
76 - Minor bug fix to remove the .gpgdir_map_file in --Obfuscate-filenames
77 mode after a successful decryption cycle.
78 - Updated to version 0.36 of CPAN GnuPG::Interface module.
79
80 gpgdir-1.7 (02/18/2008):
81 - Bugfix to ensure that encrypted directories can actually be decrypted.
82 This bug was reported by Per Ronny Westin.
83 - Updated to use the ".asc" extension for encrypted files in --Plain-ascii
84 mode.
85 - Added gpgdir test suite. All future gpgdir releases (and including this
86 1.7 release) require that all gpgdir tests pass on the systems where
87 gpgdir is developed.
88
89 gpgdir-1.6 (02/17/2008):
90 - Bugfix to not include previously encrypted files (i.e. those with a .gpg
91 extension) in the encryption/decryption file list. This bug was
92 introduced in gpgdir-1.5 when a change was made to ignore ascii-armored
93 files.
94 - Added added LC_ALL=C locale setting for the install.pl script (this
95 should help to ensure gpgdir is properly installed on most systems). Two
96 new command line arguments --LC_ALL and --no-LC_ALL also allow the
97 locale setting to be changed or not used at all.
98 - Added --Exclude-mod-regex option to the install.pl script so that it is
99 possible to force the exclusion of perl modules that gpgdir would
100 normally install. This is useful for ensuring that gpgdir references
101 perl modules that are already installed in the system perl library tree
102 instead of using those that are installed in /usr/lib/gpgdir.
103 - Updated to display command line usage warnings without automatically
104 displaying the entire usage() page (which is quite long).
105
106 gpgdir-1.5 (08/31/2007):
107 - Added the --Symmetric option so that files can be encrypted/decrypted
108 via a symmetric encryption algorithm (GnuPG commonly uses CAST5 for
109 this).
110 - Added the --Plain-ascii option so that GnuPG is invoked with the -a
111 option so that encrypted files are ascii armored instead of encrypted in
112 binary form.
113 - Bugfix to ensure not to delete zero-size files if a bad password is
114 given (gpgdir now just throws a warning and exits in this case).
115 - Minor code enhancements to provide a consistent hash_init() invocation
116 with the same options hash.
117 - Updated to exclude .asc files from the encryption/decryption process.
118
119 gpgdir-1.4 (07/20/2007):
120 - (Anthony Chivetta) Submitted patch to implement the
121 --overwrite-encrypted command line argument to allow previously
122 encrypted files to be overwritten. This is useful for updating an
123 encrypted directory with new versions of the previously encrypted files.
124 Also added the --overwrite-decrypted command line argument to perform
125 the same function for previously decrypted files.
126 - (Anthony Chivetta) Submitted patch to fix a bug where a filename of
127 "0.gpg" could not be decrypted because "0" does not evaluate to a true
128 value.
129
130 gpgdir-1.3 (06/09/2007):
131 - Added --Obfuscate mode so that the files within a directory can be
132 altered into unrecognizable names (which are stored within the file
133 .gpgdir_map_file within each sub-directory, and this file is itself
134 encrypted). The obfuscated file names are reversed when a directory
135 is decrypted.
136 - Added the --Agent-info command line argument so that the value of the
137 GPG_AGENT_INFO environment variable can be specified on the gpgdir
138 command line.
139
140 gpgdir-1.2 (05/28/2007):
141 - Added support for installing gpgdir on Windows under Cygwin (via the
142 install.pl script). Installing gpgdir on FreeBSD systems also works.
143 - Added support for installing gpgdir within a user home directory without
144 the need for root access (this requires installing gpgdir with the
145 install.pl script).
146 - Added --agent to have gpgdir acquire gpg key password from a running
147 gpg-agent instance.
148 - Added --no-password so gpgdir can use a gpg key with no associated
149 password (this is not common). The user is not prompted for a password
150 in this case.
151
152 gpgdir-1.1 (05/21/2007):
153 - Added the ability to securely delete the original versions of files with
154 the 'wipe' program (after they have been successfully encrypted). Also
155 added --wipe-path to specify a path to the wipe binary (the default is
156 /usr/bin/wipe), --wipe-interactive to force the wipe program to prompt
157 the user before a file is deleted, and --wipe-cmdline to allow the user
158 to build a set of command line arguments that are passed to the wipe
159 program.
160 - Added --Force to have gpgdir skip over the error condition where a file
161 cannot be deleted (because of a permissions issue for example).
162 - Added --Trial-run to allow the user to see what actions gpgdir would
163 take to encrypt or decrypt files, but no files are actually modified.
164 - Added --Interactive to have gpgdir prompt the user before every file is
165 encrypted, decrypted.
166 - Added the gpgdir.SlackBuild script (contributed by pyllyukko originally
167 for the psad project) for building gpgdir on Slackware systems.
168
169 gpgdir-1.0.3 (09/17/2006):
170 - Minor bugfix to correct 1.0.1 version number (which should have been set
171 to 1.0.2) in the gpgdir RPM spec file.
172
173 gpgdir-1.0.2 (09/17/2006):
174 - Minor bugfix to correct 1.0 version number (which should have been set
175 to 1.0.1). The result is the 1.0.2 release.
176
177 gpgdir-1.0.1 (09/16/2006):
178 - Added --quiet option to have gpgdir print as little as possible to the
179 screen when encrypting or decrypting a directory.
180 - Added x86_64 RPM (original patch from Mate Wierdl adapted for gpgdir).
181
182 gpgdir-1.0 (09/13/2006):
183 - Added --Key-id command line argument so that use_key can be overridden
184 from the command line
185 - Made the argument to use_key not have to strictly be a keyID since GnuPG
186 allows a unique string match on keys in the key ring
187 - Added --Default-key to allow the user to have gpgdir use the default
188 key that is defined by GnuPG within the ~/.gnupg/options file.
189 - Updated the .gpgdirrc file to include the line "default_key" to allow
190 the user to have gpgdir prefer to use the GnuPG default key.
191 - Added the ChangeLog.svn file to show exactly which files have been
192 changed from release to release, and what the corresponding Subversion
193 log messages are.
194 - Minor documentation updates.
195
196 gpgdir-0.9.9 (09/07/2006):
197 - Added RPM .spec file to build gpgdir as an RPM.
198 - Added the --Skip-mod-install command line argument to install.pl to
199 allow all perl module installs to be skipped.
200 - Added the --force-mod-regex command line argument to install.pl to allow
201 a regex match on perl module names to force matching modules to be
202 installed.
203 - Updated to TermReadKey-2.30 from 2.21.
204
205 gpgdir-0.9.8 (07/03/2006):
206 - Updated to use GnuPG::Interface instead of GnuPG module. This should
207 fix the incompatibility issues seen between the GnuPG module and some
208 GnuPG installations.
209 - Added perl module installation code from fwknop (see
210 http://www.cipherdyne.org/fwknop/). This allows gpgdir to
211 preferentially use any perl modules that are already be installed on the
212 system.
213
214 gpgdir-0.9.4 (10/12/2005):
215 - Updated test mode to encrypt and decrypt a testing file within the
216 directory to be encrypted or decrypted. This file is located at
217 <dir>/gpgdir_test, and is removed after the test is completed.
218 - Bugfix for "protocol error: expected SHM_GET_XXX got GOOD_PASSPHRASE"
219 error in GnuPG module.
220
221 gpgdir-0.9.3 (02/20/2005):
222 - Added --Include and --Include-from options to allow inclusion
223 regular expressions to be specified.
224 - Bugfix for not decrypting filesnames that contain spaces.
225
226 gpgdir-0.9.2 (01/05/2005):
227 - Added preservation of file mtime and atime values (may be disabled
228 with the --no-preserve-times option).
229 - Added testing encryption and decryption of dummy file (may be
230 disabled with --skip-test) by default for both encrypt and decrypt
231 modes.
232 - Added --test-mode to run encrypt -> decrypt test and exit.
233 - Removed unnecessary compression options.
234 - Updated get_homedir() to reference HOME environmental variable if
235 the /etc/passwd file does not exist (OS X being a good example).
236 - Added --verbose mode.
237 - Updated output to generate errors on a per-file basis instead of
238 dumping them at the end of an encrypt/decrypt operation.
239
240 gpgdir-0.9.1 (11/11/2004):
241 - Updated GnuPG.pm perl module to handle return code of PLAINTEXT
242 which seems to be returned by GunPG now (as of version 1.2.6)
243 instead of DECRYPTION_OKAY upon a successful decryption.
244
245 gpgdir-0.9 (09/12/2004):
246 - Added --gnupg-dir option to allow a user to specify a different
247 user's .gnupg directory for encryption keys.
248 - Switched to "[+]" (and related) message prefixes.
249
250 gpgdir-0.8 (05/29/2004):
251 - Added --Exclude and --Exclude-from options to allow files to be
252 excluded based on regex matches.
253 - Reworked error messages so they contain the filename associated
254 with each error.
255
256 gpgdir-0.4 (04/23/2004):
257 - Added --pw-file option so that a decryption password can be
258 read out of a file.
259 - Better directory validation (filesystem -e and -d checks).
260 - Added INSTALL file.
261 - Updated man page and README file.
262
263 gpgdir-0.3 (09/27/2003):
264 - Bundled perl modules GnuPG and TermReadKey with gpgdir.
265 - Modified install.pl and gpgdir to install and use GnuPG and
266 TermReadKey modules from the /usr/lib/gpgdir directory.
267 - Added check_commands() subroutine from psad.