Use EVP_MD_CTX_create()/EVP_MD_CTX_destroy().
[heimdal.git] / ChangeLog
blob8a7a60f121520c73af23f649606021a882b9e799
1 2008-04-28  Love Hörnquist Åstrand  <lha@it.su.se>
3         * lib/krb5/krb5.conf.5: Document default_cc_type.
5         * lib/krb5/cache.c: Pick up [libdefaults]default_cc_type
7 2008-04-27  Love Hörnquist Åstrand  <lha@it.su.se>
8         
9         * kdc/kaserver.c: Use DES_set_key_unchecked().
11 2008-04-21  Love Hörnquist Åstrand  <lha@it.su.se>
13         * doc/hx509.texi: About the pkcs11 module.
15         * doc/hx509.texi: Pick up version from vars.texi
17         * doc/hx509.texi: No MIT code in hx509.
19         * hx509 now includes a pkcs11 implementation.
21 2008-04-20  Love Hörnquist Åstrand  <lha@it.su.se>
23         * lib/hdb/Makefile.am: Move OpenLDAP includes to AM_CPPFLAGS to
24         avoid dropping other defines for the library.
26 2008-04-17  Love Hörnquist Åstrand  <lha@it.su.se>
28         * lib/krb5: add __declspec() for windows.
30         * configure.in: Update rk_WIN32_EXPORT, add gssapi to
31         rk_WIN32_EXPORT.
32         
33         * configure.in: Lets try dependency tracking for automake 1.10 and
34         later.
35         
36         * configure.in: Use at least libtool-2.2.
38         * configure.in: Use LT_INIT the right way.
40         * lib/krb5/Makefile.am: Update make-proto usage.
42         * configure.in: Run autoupdate, use LT_INIT().
44 2008-04-15  Love Hörnquist Åstrand  <lha@it.su.se>
46         * lib/krb5/test_forward.c: Don't print krb5_error_code since we
47         are using krb5_err().
49         * lib/krb5/ticket.c: Cast krb5_error_code to int to avoid warning.
51         * lib/krb5/scache.c: Cast krb5_error_code to int to avoid warning.
53         * lib/krb5/principal.c: Cast enum to int to avoid warning.
55         * lib/krb5/pkinit.c: Cast krb5_error_code to int to avoid warning.
57         * lib/krb5/pac.c: Cast size_t to unsigned long to avoid warning.
59         * lib/krb5/error_string.c: Cast krb5_error_code to int to avoid
60         warning.
62         * lib/krb5/keytab_keyfile.c: Make num_entries an uint32 to avoid
63         negative numbers and type warnings.
65         * lib/krb5: cc_get_version returns an int, update.
67 2008-04-10  Love Hörnquist Åstrand  <lha@it.su.se>
69         * configure.in: Check for <asl.h>.
71 2008-04-09  Love Hörnquist Åstrand  <lha@it.su.se>
73         * lib/krb5/version-script.map: sort and export _krb5_pk_kdf
75         * lib/krb5/crypto.c: Check kdf params. calculate the second half
76         of the key.
78         * lib/krb5/Makefile.am: Add test_pknistkdf
80         * lib/krb5/test_pknistkdf.c: Test the new pkinit nist kdf.
82         * lib/krb5/crypto.c: Complete _krb5_pk_kdf.
84         * lib/krb5/crypto.c: First version of KDF in
85         draft-ietf-krb-wg-pkinit-alg-agility-03.txt.
86         
87 2008-04-08  Love Hörnquist Åstrand  <lha@it.su.se>
89         * doc/setup.texi: Add text about smbk5pwd overlay from Buchan
90         Milne.
91         
92         * lib/krb5/krb5_locl.h: Name the pkinit type enum.
94         * kdc/pkinit.c: Rename constants to match global header.
96         * lib/krb5/pkinit.c: Drop krb5_pk_identity and rename constants to
97         match global header.
99         * kdc/pkinit.c: Pick up krb5_pk_identity from krb5_locl.h.
101         * lib/krb5/scache.c (scc_alloc): %x is unsigned int.
102         
103 2008-04-07  Love Hörnquist Åstrand  <lha@it.su.se>
105         * lib/krb5/version-script.map: Sort and add krb5_cc_switch.
107         * lib/krb5/acache.c: Use unsigned where appropriate.
109         * kcm/glue.c: Adapt to chenge to krb5_cc_ops.
111         * kcm/acl.c: Add missing op.
113         * kdc/connect.c: Use unsigned where appropriate.
115         * lib/krb5/n-fold.c: Use size_t where appropriate.
117         * lib/krb5/get_addrs.c: Use unsigned where appropriate.
119         * lib/krb5/crypto.c: Use unsigned where appropriate.
121         * lib/krb5/crc.c: Use unsigned where appropriate.
123         * lib/krb5/changepw.c: simplify
125         * lib/krb5/copy_host_realm.c: simplify
127         * kuser/kswitch.c: Implement --principal.
129 2008-04-05  Love Hörnquist Åstrand  <lha@it.su.se>
131         * lib/krb5/cache.c: allow returning the default cc-type.
133         * kuser/kswitch.c: Enable switching between existing caches.
135         * lib/krb5/cache.c: Add krb5_cc_switch, to set the default
136         credential cache.
138         * lib/krb5/acache.c: Implement set_default.
140         * lib/krb5/krb5.h: Extend krb5_cc_ops and add set_default to set
141         the default cc name for a credential type.
143 2008-04-04  Love Hörnquist Åstrand  <lha@it.su.se>
145         * lib/krb5/test_cc.c: test remove
147         * lib/krb5/fcache.c: Make the remove cred slight more atomic, now
148         it might lose creds, but there will be no empty cache at any time.
150         * lib/krb5/scache.c: Do credential iteration by temporary table.
152 2008-04-02  Love Hörnquist Åstrand  <lha@it.su.se>
154         * lib/krb5/acache.c: Translate ccErrInvalidCCache.
156         * lib/krb5/scache.c: implemetation of a sqlite3 backed credential
157         cache.
159         * lib/krb5/test_cc.c: test acc and scc
161         * lib/krb5/acache.c: Only release context if its in use.
163 2008-04-01  Love Hörnquist Åstrand  <lha@it.su.se>
165         * doc/setup.texi: No patching of OpenLDAP is needed, from Buchan
166         Milne.
168 2008-03-30  Love Hörnquist Åstrand  <lha@it.su.se>
170         * lib/krb5/Makefile.am: Add scache.
172         * lib/krb5/scache.c: initial implementation
174         * lib/Makefile.am: sqlite
176         * configure.in: lib/sqlite/Makefile
178 2008-03-26  Love Hörnquist Åstrand  <lha@it.su.se>
180         * lib/krb5/fcache.c: Make the storing credential an atomic
181         write(2) to avoid signal races, bug traced by Harald Barth and Lars
182         Malinowsky.
184 2008-03-25  Love Hörnquist Åstrand  <lha@it.su.se>
186         * lib/krb5/fcache.c: Make erase_file() do locking too.
188         * kcm/protocol.c: Make work when moving to a non-existant
189         cred-cache.
191         * lib/krb5/test_cc.c: more verbose info.
192         
193         * lib/krb5/test_cc.c: test krb5_cc_move().
194         
195 2008-03-23  Love Hörnquist Åstrand  <lha@it.su.se>
196         
197         * lib/krb5/get_cred.c: Try both kdc server referral and the old
198         client chasing mode.
200         * lib/krb5/get_cred.c: Don't do canonicalize by default, make
201         add_cred() sane, make loop detection in credential fetching
202         better.
204         * lib/krb5/krb5_locl.h: Add flag EXTRACT_TICKET_AS_REQ.
206         * lib/krb5/init_creds_pw.c: Tell _krb5_extract_ticket that this is
207         an AS-REQ.
209         * lib/krb5/get_in_tkt.c: Make server referral work.
210         
211 2008-03-22  Love Hörnquist Åstrand  <lha@it.su.se>
212         
213         * lib/krb5/get_in_tkt.c: check no server referral, don't use
214         stringent length tests since encryption layer does padding for
215         us...
217         * kdc/kerberos5.c: Match name in ClientCanonicalizedNames with -10
219         * lib/krb5/principal.c (_krb5_principal_compare_PrincipalName):
220         new function to compare a principal to a PrincipalName.
222         * lib/krb5/init_creds_pw.c: Move client referral checking to
223         _krb5_extract_ticket().
225         * lib/krb5/get_in_tkt.c: More bits for server referral.
227         * lib/krb5/get_in_tkt.c: Make working with client referrals.
229         * lib/krb5/get_cred.c: Try moving referrals checking into
230         _krb5_extract_ticket().
232         * lib/krb5/get_in_tkt.c: Try moving referrals checking into
233         _krb5_extract_ticket().
235 2008-03-21  Love Hörnquist Åstrand  <lha@it.su.se>
236         
237         * kdc/krb5tgs.c: Send SERVER-REFERRAL data in rep.padata instead
238         of auth_data in ticket.
240 2008-03-20  Love Hörnquist Åstrand  <lha@it.su.se>
242         * lib/krb5/init_creds_pw.c: remove lost bits from using
243         krb5_principal_set_realm
244         
245         * kdc/krb5tgs.c: Better referrals support, use canonicalize flag.
247         * kdc/hprop.c: use krb5_principal_set_realm
249         * lib/krb5/init_creds_pw.c: use krb5_principal_set_realm
251         * lib/krb5/verify_user.c: use krb5_principal_set_realm
253         * lib/krb5/version-script.map: add krb5_principal_set_realm
255         * lib/krb5/principal.c: add krb5_principal_set_realm
257         * lib/krb5/get_cred.c: Insecure tgs referrals.
259         * lib/krb5/get_cred.c: Dont try key usage KRB5_KU_AP_REQ_AUTH for
260         TGS-REQ. This drop compatibility with pre 0.3d KDCs.
261         
262         * lib/krb5/get_cred.c: catch KRB5_GC_CANONICALIZE.
264         * lib/krb5/krb5.h: set KRB5_GC_CANONICALIZE.
266         * kuser/kgetcred.c: set KRB5_GC_CANONICALIZE.
268         * kuser/kgetcred.c: Add stub --canonicalize implementation.
270 2008-03-19  Love Hörnquist Åstrand  <lha@it.su.se>
272         * doc/setup.texi: Fix sasl-regexp, from Howard Chu.
274 2008-03-14  Love Hörnquist Åstrand  <lha@it.su.se>
276         * kdc/kx509.c: Adapt to hx509_env changes.
277         
278 2008-03-10  Love Hörnquist Åstrand  <lha@it.su.se>
280         * lib/krb5/pkinit.c: Try searchin the key by to use by first
281         looking for for PK-INIT EKU, then the Microsoft smart card EKU and
282         last, no special EKU at all.
284 2008-03-09  Love Hörnquist Åstrand  <lha@it.su.se>
286         * lib/krb5/acache.c: Create a new credential cache is ->get_name
287         is called, make acc_initialize() reset the existing credential
288         cache if needed.
290         * lib/krb5/acache.c (acc_get_name): just return the cache_name
291         directly instead of trying to resolve it.
293 2008-02-23  Love Hörnquist Åstrand  <lha@it.su.se>
295         * include/Makefile.am (CLEANFILES): add wind.h and wind_err.h and
296         sort.
298 2008-02-11  Love Hörnquist Åstrand  <lha@it.su.se>
300         * lib/hdb/hdb-ldap.c: Use malloc() instead of static buffer.
302         * lib/hdb/hdb-ldap.c: Use ldap_get_values_len, from LaMont Jones
303         via Brian May and Debian.
305         * doc/Makefile.am: add libwind
307 2008-02-05  Love Hörnquist Åstrand  <lha@it.su.se>
309         * lib/krb5/test_renew.c: Remove extra ;, From Dennis Davis.
311         * lib/krb5/store_emem.c: Make compile on-pre c99 compilers. From
312         Dennis Davis.
314 2008-02-03  Love Hörnquist Åstrand  <lha@it.su.se>
316         * tools/heimdal-gssapi.pc.in: Add wind.
318         * tools/krb5-config.in: Add wind.
320         * lib/krb5/pac.c: Use libwind.
322 2008-02-01  Love Hörnquist Åstrand  <lha@it.su.se>
324         * lib/Makefile.am: SUBDIRS: add wind
326 2008-01-29  Love Hörnquist Åstrand  <lha@it.su.se>
328         * doc/programming.texi: See the Kerberos 5 API introduction and
329         documentation on the Heimdal webpage.
330         
331 2008-01-27  Love Hörnquist Åstrand  <lha@it.su.se>
333         * lib/krb5: better error strings for the keytab fetching functions
335         * lib/krb5/verify_krb5_conf.c: Catch deprecated entries.
337         * lib/krb5/get_cred.c: Remove support
338         for [libdefaults]capath (not [libdefaults] capaths though).
340 2008-01-25  Love Hörnquist Åstrand  <lha@it.su.se>
342         * tools/heimdal-gssapi.pc.in: Fix caps of prefix, from Joakim
343         Fallsjo.
345 2008-01-24  Love Hörnquist Åstrand  <lha@it.su.se>
346         
347         * lib/krb5/fcache.c (fcc_move): more explict why the fcc_move
348         failes, handle cross device moves.
349         
350 2008-01-21  Love Hörnquist Åstrand  <lha@it.su.se>
352         * lib/krb5/get_for_creds.c: Use on variable less.
354         * lib/krb5/get_for_creds.c: Try to handle ticket full and
355         ticketless tickets better. Add doxygen comments while here.
357         * lib/krb5/test_forward.c: Used for testing
358         krb5_get_forwarded_creds().
359         
360         * lib/krb5/Makefile.am: noinst_PROGRAMS += test_forward
362         * lib/krb5/Makefile.am: drop CHECK_SYMBOLS
364         * lib/hdb/Makefile.am: drop CHECK_SYMBOLS
366         * kdc/Makefile.am: drop CHECK_SYMBOLS
368 2008-01-18  Love Hörnquist Åstrand  <lha@it.su.se>
370         * lib/krb5/version-script.map: Add krb5_digest_probe.
371         
372 2008-01-13  Love Hörnquist Åstrand  <lha@it.su.se>
373         
374         * lib/krb5/pkinit.c: Replace hx509_name_to_der_name with
375         hx509_name_binary.
377 2008-01-12  Love Hörnquist Åstrand  <lha@it.su.se>
379         * lib/krb5/Makefile.am: add missing files
381         * Happy new year.