1 |
============================================================================== |
2 |
CHANGES to fetch-crl - the Certificate Revocation List retrieval tool |
3 |
============================================================================== |
4 |
The fetch-crl utility will retrieve certificate revocation lists (CRLs) for |
5 |
a set of installed trust anchors, based on crl_url files or IGTF-style info |
6 |
files. It will install these for use with OpenSSL, NSS or third-party tools. |
7 |
|
8 |
Changes in 3.0.2-1 |
9 |
---------------------- |
10 |
* Clean up of man page format macro PU (reported by Mattias Ellert) |
11 |
|
12 |
Changes in 3.0.1-1 |
13 |
---------------------- |
14 |
* hunts through more places to find the latest successful CRL download to |
15 |
set the latest local modification time for a CRL |
16 |
(resolves a comparison error in case output and infodir are unset) |
17 |
|
18 |
Changes in 3.0.0-0.RC4 |
19 |
---------------------- |
20 |
* the config file name has changed to fetch-crl.conf, although a |
21 |
fetch-crl.cnf file will also be used when present |
22 |
* symlinked meta-data files can be ignored with the --nosymlinks option |
23 |
(or nosymlinks in the configuration file). This allows fetch-crl to be |
24 |
used effectively with new-format IGTF distribution before 1.37 |
25 |
* infinite loop for non-indexed CA file names fixed |
26 |
|
27 |
Changes in fetch-crl 3.0 |
28 |
------------------------ |
29 |
* fetch-crl 3.0 is a complete re-write, and shares no code with the 1.x and |
30 |
2.x series utility of the same name, although the function and some of |
31 |
the syntax is obviously the same |
32 |
|
33 |
* support for multiple output formats: OpenSSL 1 in dual-hash mode, specific |
34 |
DER and PEM outputs, and NSS databases |
35 |
* support for multiple CRLs for a single CA, allowing more than one CA with |
36 |
the same subject name but different CLRs. Review your client software to see |
37 |
if and how these CRLs are used. |
38 |
* stateful retrieval helps reduce bandwidth usage by caching the CRLs locally |
39 |
and respecting the Cache Control headers sent by the web server hosting the |
40 |
CRL. This can reduce the number of downloads |
41 |
* support for HEAD-only requests when state preservation is used (initially |
42 |
only retrieve HTTP headers, and only if the CRL actually changed to a full |
43 |
download) |
44 |
* support for more CRL retrieval protocols (file:// and ftp://) |
45 |
* ability to try site-local URLs first, before relying on the URLs shipped with |
46 |
the trust anchor. This allows building an explicit local caching (web) server. |
47 |
* ability to specify additional URLs to try in case the URLs shipped with the |
48 |
trust anchor were not responsive. This allows for automatic fall-back to |
49 |
(local or global) mirror services for CRL downloads |
50 |
* warnings and errors can be suppressed on a per-trust anchor basis, to allow |
51 |
silencing for particularly unstable trust anchors |
52 |
* aging tolerance (the delay time before errors are generated in case downloads |
53 |
consistently fail) can be configured on a per-trust anchor basis |
54 |
* parallel downloading for multiple trust anchors |
55 |
* minimized use of temporary files in the file system (now limited to the |
56 |
invocation of OpenSSL only, and only for brief periods of time) |
57 |
* dependencies on wget, lynx and other unix utilities have been removed |
58 |
* explicit web proxy support (using LWP http proxies) |
59 |
* completely re-written in perl, with some (hopefully minimal) dependencies: |
60 |
LWP, Sys::Syslog, POSIX. And Data::Dumper (when debugging is enabled), |
61 |
and IO::Select (if parallel downloads are enabled). |
62 |
|
63 |
Differences with respect to the previous versions |
64 |
|
65 |
* when downloading CRLs via https, the server certificate is not checked, |
66 |
neither for the correct DNS name nor for being issued by a valid CA. Since |
67 |
the CRL in itself is signed, this is not a security vulnerability. If |
68 |
stricter checking is anyway desired, and the Crypt::SSLeay perl module has |
69 |
been installed, set the HTTPS_CA_FILE environment variable before invoking |
70 |
fetch-crl -- but keep in mind that the DNS name verification is limited |
71 |
and will (incorrectly) reject DNS names if these are listed only in the |
72 |
subjectAlternativeName of the server certificate |
73 |
* Existing files with a name that matches a CRL target name are overwritten, |
74 |
even if they did not originally contain CRL data. In v2 this was configurable |
75 |
via the FORCE_OVERWRITE configuration setting. In version 3, files are |
76 |
overwritten by default, and this can no longer be configured. |
77 |
* fetch-crl3 will no longer check CA certificates for consistency or validity |
78 |
by themselves, only retrieved CRLs are verified |
79 |
|
80 |
Downsides of the new version |
81 |
|
82 |
* it requires perl5 to be installed (tested with perl 5.8.0 and higher) with |
83 |
libwww-perl, whereas version 2 only required a traditional Bourne shell |
84 |
* requires a version of OpenSSL (0.9.5a or better) to be installed. Needs |
85 |
OpenSSL 1.0.0 (at least beta5) for dual-hash support. |
86 |
* when using parallel downloads, it can only run on pure-POSIX systems |
87 |
* parallelism in combination with the NSS database output format is not tested |
88 |
* Even when only the NSS database output format has been selected, OpenSSL is |
89 |
still needed for verification and processing |
90 |
|
91 |
|
92 |
============================================================================== |
93 |
|
94 |
The change log below applies to the 1.x and 2.x series fetch-crl and is |
95 |
included for historical purposes only. Fetch-crl3, with which this |
96 |
changes file is being shipped, is a complete re-write of the utility. |
97 |
Although a lot of backwards compatibility has been preserves, there have |
98 |
been significant changes and the information below should NOT be used |
99 |
to infer any behaviour of fetch-crl3. |
100 |
|
101 |
Fetch-crl 1.x and 2.x were released under the EU DataGrid License. |
102 |
|
103 |
Changes in version EGP 2.8.5 |
104 |
---------------------------- |
105 |
(2010.06.03) |
106 |
|
107 |
* fetch-crl was occasionally leaving behind {hash}.r0.XXXXXX.r0 files |
108 |
This has been fixed in this release (patch thanks to Jason Smith, BNL) |
109 |
* man page was not compliant to Debian guidelines, this has been fixed |
110 |
(patch thanks to Mattias Ellert, Uppsala University) |
111 |
|
112 |
Changes in version EGP 2.8.4 |
113 |
---------------------------- |
114 |
(2010.04.04) |
115 |
|
116 |
* Fixes error when randomWait is not set [RH Bug 579488] |
117 |
|
118 |
Changes in version EGP 2.8.3 |
119 |
---------------------------- |
120 |
(2010.03.28) |
121 |
|
122 |
* Preserve SELinux context for CRL files if SElinux status program exists |
123 |
and selinux is enabled (RH bug 577403) |
124 |
* Fix argument parsing on syslog facility specification (RH bug 577387) |
125 |
* Increase granularity of the RandomWait and allow for 0 in -r option |
126 |
|
127 |
Changes in version EGP 2.8.2 |
128 |
---------------------------- |
129 |
(2010.03.03) |
130 |
|
131 |
* Improved support for multiple CRL URLs by downloading until a success |
132 |
is achieved, instead of downloading all of them |
133 |
* Imported randomwait patch from Steve Traylen |
134 |
|
135 |
Changes in version EGP 2.8.1 |
136 |
---------------------------- |
137 |
(2010.01.26) |
138 |
|
139 |
* The installed CRL file is re-checked for validity to catch file system |
140 |
errors and local disk corruption. When possible, it will try to restore |
141 |
a backup copy. Failures are not subject to aging tolerance. |
142 |
|
143 |
Changes in version EGP 2.8.0 |
144 |
---------------------------- |
145 |
(2009.09.22) |
146 |
|
147 |
* The RPM packaging has been overhauled and is now sufficiently conformant |
148 |
to EPEL and FedoraProject guidelines. |
149 |
* New init scripts and a cron job entry have been added to allow management |
150 |
of fetch-crl via the chkconfig mechanism |
151 |
|
152 |
These changes were contributed by Steve Traylen (CERN, Geneva, CH). |
153 |
|
154 |
Changes in version EGP 2.7.0 |
155 |
---------------------------- |
156 |
(2009.01.25) |
157 |
|
158 |
* Warnings and errors are now counted. If there are errors in the download |
159 |
or verification process for one or more CRLs, the exit status will be 1; |
160 |
if there are errors in the local setup or in the script invocation, the |
161 |
exit status will be 2. |
162 |
* The installed CRLs no longer have the textual representation of the CRL, |
163 |
but only the PEM data blob, thus reducing IO and memory requirements. |
164 |
* the CRL aging threshold is now set by default to 24 hours. The previous |
165 |
default was 0. The CRL aging threshold is set in the config file using |
166 |
CRL_AGING_THRESHOLD=<xx>, or with the "-a" command-line argument. |
167 |
* Default network timeouts reduced to 10 seconds (was 30) and retries to 2 |
168 |
* Added caching and conditional downloading. When CACHEDIR is set, the |
169 |
original downloads are preserved and wget timestamping mode enabled. |
170 |
When the content did not change, only the timestamp on the installed |
171 |
CRL is updated. If SLOPPYCRLHASHES is set, the has is calculated based |
172 |
on the name of the crl_url file, otherwise it is taken from the CRL itself. |
173 |
- The CACHEDIR must be exclusively writable by the user running fetch-crl |
174 |
- Setting CACHEDIR significantly reduced the bandwidth used by fetch-crl |
175 |
* Added RESETPATHMODE setting in sysconfig. It defines whether or not to |
176 |
set re-set $PATH to "/bin:/usr/bin" before start. The search for OpenSSL |
177 |
may be done based on the old path. |
178 |
yes=always replace; searchopenssl=search for openssl first and then reset; |
179 |
no=keep original path, whatever that me be (may be empty if called from cron) |
180 |
Default="yes". This replaces the hard-coded path in the tool! |
181 |
* Hidden "FORCE_OVERWRITE" option now has a regular name. This is backwards- |
182 |
compatible. Set FORCE_OVERWRITE=yes if you want files overwritten that |
183 |
have a CRL-like name and ought to have CRL content, but currently do not. |
184 |
* Addresses gLite Savannah bugs 28418 and 29559. Bug 27023 is partially |
185 |
addressed. Bug 20062 can be remedied with WGET_OPTS arguments. |
186 |
Addresses OSG ticket 4673. |
187 |
|
188 |
Changes in version EGP 2.6.6 |
189 |
---------------------------- |
190 |
(2007.09.16) |
191 |
(version 2.5.5 is invalid and was not publicly released) |
192 |
|
193 |
* Added obscure configuration parameter to allow overwriting of |
194 |
arbitrary data files with a downloaded CRL (on request of |
195 |
CERN, see https://savannah.cern.ch/bugs/index.php?29559) |
196 |
|
197 |
Changes in version EGP 2.6.4 |
198 |
---------------------------- |
199 |
(2007.08.15) |
200 |
|
201 |
* Expired CA issuer certificate now gives a warning instead of an error |
202 |
with the full verification result message |
203 |
* additional logfile output target can be selected via the configuration file |
204 |
* CRL aging threshold documented in manual page. Errors will now also be |
205 |
generated in the CRL download failed consistently and the current CRL |
206 |
has already expired |
207 |
|
208 |
Changes in version EGP 2.6.3 |
209 |
---------------------------- |
210 |
(2006.11.13) |
211 |
|
212 |
* cron job example: fetch-crl invocation syntax error corrected |
213 |
|
214 |
Changes in version EGP 2.6.2 |
215 |
---------------------------- |
216 |
(2006.10.27) |
217 |
|
218 |
* fixed bug: older wget versions do not recognise --no-check-certificate |
219 |
|
220 |
Changes in version EGP 2.6.1 |
221 |
---------------------------- |
222 |
(2006.10.25) |
223 |
|
224 |
* fixed local timezone vs UTC error in LastUpdate CRL validation comparison |
225 |
* fixed time comparison is the one-hour LastUpdate/download tolerance |
226 |
(both fixes thanks to Alain Roy) |
227 |
* added support for directory names containing whitespace |
228 |
* added support for syslog reporting (via -f option or SYSLOGFACILITY directive) |
229 |
* SERVERCERTCHECK=no is now the default. It can be reset via the configuration |
230 |
file, or using the "--check-server-certificate" commandline option |
231 |
* the main configuration file location (formerly fixed to be |
232 |
/etc/sysconfig/fetch-crl) can now be set via the variable $FETCH_CRL_SYSCONFIG |
233 |
* logfile format timestamp and tag have been normalised |
234 |
|
235 |
Changes in version EGP 2.6 |
236 |
-------------------------- |
237 |
(2006.05.20) |
238 |
|
239 |
* if the current local CRL has a lastUpdate time in the future, and the |
240 |
newly downloaded CRL is older that the current one, allow the installation |
241 |
of the newly downloaded CRL and issue a warning. |
242 |
* added non-suppressable warning in case the newly downloaded CRL has a |
243 |
lastUpdate time in the future, but install that CRL anyway (as the local |
244 |
clock might have been wrong). |
245 |
|
246 |
Changes in version EGP 2.5 |
247 |
-------------------------- |
248 |
(2006.01.16) |
249 |
|
250 |
* added additional configuration arguments and configuration variables |
251 |
to skip the server certificate check in wget |
252 |
(to support https:// URLs where the server is authenticated with |
253 |
a certificate that is not part of it's own trusted domain, such as |
254 |
the KISTI URL) |
255 |
|
256 |
Changes in version EGP 2.4 |
257 |
-------------------------- |
258 |
(2005.11.15) |
259 |
|
260 |
* for those platforms that support the stat(1) command, and in case the |
261 |
.crl_url file is named after the hash of the crl subject name to download, |
262 |
error eporting for individual download errors can be suppressed for |
263 |
a configurable amount of time as set via the "-a" option (unit: hours). |
264 |
|
265 |
Changes in version EGP 2.3 |
266 |
-------------------------- |
267 |
(2005.11.05) |
268 |
|
269 |
* do not replace recent CRLs with ones that have an older lastUpdate |
270 |
timestamp (prevents ARP/DNS DoS attacks) |
271 |
|
272 |
Changes in version EGP 2.2 |
273 |
-------------------------- |
274 |
(2005.10.27) |
275 |
|
276 |
* secure http download by wget recognise the CAs in the trusted directory. |
277 |
solves the issue described in the LCG bug tracking system |
278 |
https://savannah.cern.ch/bugs/index.php?func=detailitem&item_id=12182 |
279 |
|
280 |
Changes in version EGP 2.1 |
281 |
-------------------------- |
282 |
(2005.08.12) |
283 |
* specifically look for the most recent version of OpenSSL. The |
284 |
one in GLOBUS_LOCATION (which used to take precedence in the |
285 |
previous releases) is outdated in many cases and caused |
286 |
troubles on the LCG production systems in validating v2 CRLs |
287 |
* added manual page fetch-crl(8) |
288 |
|
289 |
Changes in version EGP 2.0 |
290 |
-------------------------- |
291 |
(2005.02.28) |
292 |
* name of the installed script changed to "fetch-crl" |
293 |
* the cronjob script is no longer installed by default, but supplied |
294 |
as an example in the %doc directory |
295 |
* RPM is now relocatable (default install in /usr) |
296 |
* READMA and CHANGES file now inclued in %doc tree |
297 |
* make install now installs |
298 |
* version increased to 2.0 |
299 |
|
300 |
Changes in version EGP 1.9 |
301 |
-------------------------- |
302 |
(2005.02.24) |
303 |
* the content of the final target CRL file is now checked for |
304 |
containing a valid CRL if it already exists. If it does not |
305 |
contain a CRL, an error is displayed and the file left untouched |
306 |
So making the final ".r0" file in ${outdir} a link to something else |
307 |
will not work, preventing an escalation in the final stage. |
308 |
|
309 |
Changes in version EGP 1.8 |
310 |
-------------------------- |
311 |
(changes from Fabio's version 1.7, 2005.02.24) |
312 |
|
313 |
* All temporary files (the initial CRL download using wget |
314 |
and the PEM-converted version of that file) are now created using |
315 |
mktemp |
316 |
* the RetrieveFileByURL function will not overwrite files that |
317 |
have any data in them |
318 |
* Note that the script can be run by a non-priviledged user, but |
319 |
that the output directory must be made writable by that user |
320 |
in an out-of-band way. |
321 |
|
322 |
EDG version 1.7 |
323 |
--------------- |
324 |
Imported with consent of Fabio Hernandez and Steve Traylen from |
325 |
the original EDG repository. |
326 |
The EU DataGrid License applies, see http://www.eu-datagrid.org/ |