Debian Codegraph @

NEWS

raw
1 Version 1.6.7
2 -------------
3 Improvements:
4 - Fixes for OpenSSL>=1.1
5 - Fix warnings from cppcheck, mainly cleanup dead code, also prevent memleak
6 when realloc fails.
7
8 Version 1.6.6
9 -------------
10 Improvements:
11 - Extend API with two new calls
12 void lcmaps_set_voms_verification_time(time_t time, int flags)
13 int lcmaps_get_voms_verification_time(time_t *time, int *flags)
14 which provide setting the verification time for checking the AC. In case
15 flags is set to 0, the time is UNIX time, in case it is 1 the time is
16 relative to the notBefore time of the leaf proxy, in case it is 2 relative
17 to the notAfter time of the leaf proxy. This call uses the
18 VOMS_SetVerificationTime() call of the VOMS API.
19 Bug fixes:
20 - Few minor fixes including a memory leak.
21
22 Version 1.6.5
23 -------------
24 Bug fixes:
25 - https://bugzilla.nikhef.nl/show_bug.cgi?id=21
26 LCMAPS did not initialize the logs correctly in cases when it should open
27 the log itself (in most scenarios it uses an externally opened logfile
28 pointer).
29 Improvements:
30 - Extend API with two new functions:
31 void lcmaps_set_voms_attributes_verification (unsigned int verify_flags)
32 unsigned int lcmaps_get_voms_attributes_verification (void)
33 which provide more fine-grained setting of the VOMS verification:
34 verify_flags should be a combination of the flags as specified in
35 voms_apic.h.
36 The old functions still work and behave as follows:
37 lcmaps_enable_voms_attributes_verification -> sets VERIFY_FULL
38 lcmaps_disable_voms_attributes_verification -> sets VERIFY_NONE
39 lcmaps_is_set_to_verify_voms_attributes -> returns whether all *known*
40 flags are set.
41
42 Version 1.6.4
43 -------------
44 Improvements:
45 - General code cleanup.
46
47 Version 1.6.3
48 -------------
49 Bug fixes:
50 - Invalid memcpy and malloc when we concatenate two string.
51 - Protect a number of mallocs against out-of-memory.
52 - Provide prototype of yylex when needed.
53 - Properly cleanup flex and bison memory
54 - When compiling older lex output with std=c99 we could get a missing
55 prototype for strdup leading to a segfault.
56
57 Version 1.6.2
58 -------------
59 Bug fixes (for Fedora compliance):
60 - Update pc files to use Requires.private and Libs.private instead of Requires
61 and Libs
62 - Only link library against its own dependencies.
63 - Remove arch dependent path= from example DB file.
64 - Fix segv due to a sprintf (last one)
65 Improvements:
66 - Provide header file lcmaps_plugin_prototypes.h with plugin prototypes. To be
67 included by each plugin.
68 - General code cleanup: compiler warnings, includes etc. Logging from too long
69 entries is cleanly truncated. No logging of error to stderr.
70 - Update example lcmaps.db.ex
71
72 Version 1.6.1
73 -------------
74 - Improve testing on using the same plugin twice:
75 * test that the actual library handle is different instead of the absolute
76 pathname, this extends the error checking in case of symlinks or hardlinks
77 to different names (which still don't work).
78 * fix the error message, to print the two shortnames.
79
80 Version 1.6.0
81 -------------
82 - Support input of a 'desired identity' for lcmaps_run_and_return_username()
83 interface. LCMAPS will make this available to the plugins, which can use it
84 to support grid-mapfile entries of the form
85 "/DN" user1,user2
86 or
87 "/FQAN" user1,user2
88 Typical use is for gsissh via the lcas-lcmaps-gt4-interface, version 0.2.7
89 or higher.
90 - Revamped VOMS error messages because they are sometimes cryptic. They now
91 also provide useful debugging hints for the admins.
92
93 Version 1.5.7
94 -------------
95 Bug fixes:
96 - When LCMAPS fails at initialization, yacc/flex related resources have to be
97 freed, otherwise certain systems show a segfault.
98
99 Version 1.5.6
100 -------------
101 Bug fixes:
102 - running on Fedora Core 16 results in a 'undefined symbol: yywrap'.
103 - few of the macros in the new interface are missing in the case of direct
104 linking (i.e. not LCMAPS_USE_DLOPEN)
105
106 Version 1.5.5
107 -------------
108 Bug fixes:
109 - Out-of-source builds failed for NOGSI, i.e. ../configure --disable-gsi-mode
110 resulted in a missing include file.
111
112 Version 1.5.4
113 -------------
114 Bug fixes:
115 - Unbalanced quotes triggered an 'out of memory' error instead of an
116 'unbalanced quotes'.
117
118 Version 1.5.3
119 -------------
120 - Replace unprintable characters in logging strings with a '?'
121
122 Bug fixes:
123 - Fix a SEGV or ABRT in some interfaces due to incorrect storing of DN, which
124 leads to freeing stack memory. Triggered in the lcmaps-without-gsi
125 interface.
126 - Fix numerous unsafe constructions in logging, also fixes a SEGV
127
128 Version 1.5.2
129 -------------
130 Added a compile option in the Makefile.am to scope the externals of the
131 library. This feature is mandatory for Debian.
132
133
134 Version 1.5.1
135 -------------
136 - Log messages that are sent to Syslog with the priority equal to LOG_EMERG,
137 LOG_ALERT or LOG_CRIT will be downplayed as LOG_ERR. Old LCMAPS plug-ins
138 used a numerical range of 0-5 and this basically means that they are able
139 to cast an error message of type LOG_EMERG, while universally the LOG_ERR
140 is meant of even less significant then a LOG_ERR.
141 A warning will be written at LOG_WARNING to upgrade your plug-ins.
142
143
144 Version 1.5.0
145 -------------
146 - Changing all log messages to match the logging method used in Syslog
147 and especially the log priority/levels.
148 - Fixed a problem when the "poolindex" was requested. It triggered a
149 segmentation fault in two of the LCMAPS interface:
150 -- lcmaps_run_and_return_poolindex
151 -- lcmaps_run_with_pem_and_return_account
152 - Harmonized logging via the lcmaps_log(), lcmaps_log_debug(),
153 lcmaps_log_time(), lcmaps_log_a_string() and
154 lcmaps_log_a_string_debug() functions for both log file writing and
155 syslog writing.
156 - Changed #define name DEBUG_LEVEL to CONF_LCMAPS_DEBUG_LEVEL
157 - Changed the default value for CONF_LCMAPS_DEBUG_LEVEL from 0 (LOG_ERR)
158 to 4 (LOG_INFO).
159 - Harmonized the log line writing cut-off feature of log message between
160 Syslog logging and logging to a file. This is based on the build in
161 default and the LCMAPS_DEBUG_LEVEL environment variable value. Message
162 that are cut-off are not even offered to Syslog anymore which speeds up
163 the LCMAPS execution when the Syslog demon is hammered with info.
164 - The log line output is changed to show the environment value of
165 LCMAPS_LOG_IDENT in each line. The LCMAPS_LOG_IDENT value is meant to
166 be set by programs like gLExec to indicate that they are running
167 LCMAPS. This is default in Syslog, but missing in logging to file.
168 - Log lines that log to file are prepended by the Syslog priority name.
169 This allows easy filtering when needed.
170 - Harmonized the credential handling for all the external LCMAPS interfaces.
171 The small functional differences between the different credential input
172 differences are now gone. Interfaces used by gLExec (PEM based), GT4/5
173 GSI-Authz based, X.509 based and even string input handling are now
174 equalized. This reenabled the verify-proxy plug-in to work from a GT4/GT5
175 service and enabled the Xrootd interface to work with more easier
176 interfaces, and the PEM string interface from gLExec will now regain its
177 full potential for VOMS handling.
178 Example: {input credential} -> {stored to use by plugins}
179
180 Globus gss_cred_id_t object in -> X.509 stuff(*) + VOMS structs + DN
181 PEM string -> X.509 stuff + VOMS structs(**) + DN
182 X.509 -> VOMS struct(**) + DN
183 Other string based input -> string based input stored
184
185 (*) is new.
186 (**) differed in a detailed usage pattern.
187 - When the VOMS verification was disabled, either at run-time or after the
188 build-in default is changed, i.e. --enabled-osg, the VOMS Generic
189 Attributes were not successfully extracted. This is now fixed and plug-ins
190 can use them also when the VOMS AC verification is disabled.
191
192
193 Version 1.4.34
194 --------------
195 Changes in the logging facility:
196 - All syslog() messages are lowered to LOG_CRIT or lower (and can't go below LOG_DEBUG)
197 - Various log functions were logging on a high priority, including the debug messages. This is to be lowered simulating the syslog() messages when writing to file.
198 - Not being able to write to a file descriptor results now in a syslog() message on LOG_CRIT. This was on stderr.
199
200
201 Version 1.4.31
202 --------------
203 Moved a lot more useless debugging output behind the LCMAPS_DEBUG option. Mostly because people who try to debug LCMAPS are not LCMAPS developers.
204
205
206 Version 1.4.30
207 --------------
208 Add the LCMAPS_DEBUG #define to be used to build a developer debugging version of LCMAPS. The released version will not expose the amount of pedantic logging output, even in LCMAPS_DEBUG_LEVEL = 5.
209
210
211 Version 1.4.27
212 --------------
213 LCMAPS framework:
214 - fixed a memory cleanup problem when using VOMS Generic Attributes.
215 - adds a SIGPIPE handler to print the caught signal, especially interesting when the VOMS api, SCAS-Client plugin or another plugin could trigger a SIGPIPE without handling it locally. The SIGPIPE handler will be set at the beginning of each run, and removed after each run, i.e. not in the initialization or terminate sequences.
216 - Fixed signed and unsigned conflicts in parsing routines when fullfilling rules and policys and recursion issues. This problem was hard to exploit, but a bug nontheless (unless somebody went beyond 2^31 plugins and policies)
217 - Fixed the poolindex interface to LCMAPS. A symbol would not have been resolved during run-time as it has been depricated last year. Only used by the Globus DAS/Workspace Service interfacing (to the best of our knowledge).
218 - Fixed a problem in the logging facility during the initialization phase. The value was always overridden by the next call. I've removed the previous overridden call, which might call for bug Savannah bug #61772.
219 - Found a more generic location for the printCredData function to log the credential data that has lead to a particular mapping decision mapping.
220
221 - (almost) all public functions are now prefixed with with "lcmaps_" to avoid symbol clashes
222 - Update for single lcmaps-interface for both lcmaps types.
223 - use enable_gsi_mode directly instead of lcmaps_gsi_mode
224 - Default paths in LCMAPS are set at build time. All hardcoded paths into /opt/glite or (in some places) /opt/edg are removed.
225 - /etc/lcmaps/lcmaps.db will be the new default path to a lcmaps.db file. Use ${LCMAPS_DB_FILE} to override or the ./configure options.
226 - Building lcmaps-without-gsi doesn't require Globus libraries during the build and linking of this LCMAPS flavor.
227 - LCMAPS ./configure new option --with-voms-prefix instead of --with-glite-location, no glite.m4 necessary, it's done using --libdir and system defaults
228
229 - API extentions:
230 Function: int lcmaps_get_major_version (void);
231 Function: int lcmaps_get_minor_version (void);
232 Function: int lcmaps_get_patch_version (void);
233 Function: lcmaps_disable_voms_attributes_verification
234 Description: Disables the verification in the VOMS API
235 Function: lcmaps_enable_voms_attributes_verification
236 Description: Enables the verification in the VOMS API (default)
237 Function: lcmaps_is_set_to_verify_voms_attributes
238 Description: Will return the current setting to enable or disable the
239 verification of the VOMS credentials by the VOMS API
240 Function: lcmaps_run_with_stack_of_x509_and_return_account
241 Description: LCMAPS runs receiving a certificate chain, containing at least
242 an End-Entity Certificate. A list of policies may be provided.
243 The allocated uid, gids and the poolindex will be returned to
244 the calling application.
245
246
247
248 Generic to all components:
249
250 - adjusted to be able to use EPEL, EMI and gLite packages and system native library installations
251 - cleanup of unused files and support for distribution tarball.
252 - provide pkg-config files
253 - All LCMAPS public header files are all in ${includeDir}/lcmaps/*.h
254
255