test for sigaction
[heimdal.git] / ChangeLog
blob069e2c0e451913422e1eb4d3f041bdcb5dfa5ec4
1 Tue Sep  2 02:00:03 1997  Assar Westerlund  <assar@sics.se>
3         * doc: updated documentation.
4         
5 Tue Sep  2 00:20:31 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
7         * Release 0.0g
9 Mon Sep  1 17:42:14 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
11         * lib/krb5/data.c: don't return ENOMEM if len == 0
13 Sun Aug 31 17:15:49 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
15         * lib/hdb/hdb.asn1: Include salt type in salt.
17         * kdc/hprop.h: Change port to 754.
19         * kdc/hpropd.c: Verify who tries to transmit a database.
21         * appl/popper: Use getarg and krb5_log.
23         * lib/krb5/get_port.c: Add context parameter. Now takes port in
24         host byte order.
26 Sat Aug 30 18:48:19 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
28         * kdc/connect.c: Add timeout to select, and log about expired tcp
29         connections.
31         * kdc/config.c: Add `database' option.
33         * kdc/hpropd.c: Log about duplicate entries.
35         * lib/hdb/{db,ndbm}.c: Use common routines.
37         * lib/hdb/common.c: Implement more generic fetch/store/delete
38         functions.
40         * lib/hdb/hdb.h: Add `replace' parameter to store.
41         
42         * kdc/connect.c: Set filedecriptor to -1 on allocated decriptor
43         entries.
45 Fri Aug 29 03:13:23 1997  Assar Westerlund  <assar@sics.se>
47         * lib/krb5/get_in_tkt.c: extract_ticket -> _krb5_extract_ticket
49         * aux/make-proto.pl: fix __P for stone age mode
51 Fri Aug 29 02:45:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
53         * lib/45/mk_req.c: implementation of krb_mk_req that uses 524
54         protocol
56         * lib/krb5/init_creds_pw.c: make change_password and
57         get_init_creds_common static
59         * lib/krb5/krb5.h: Merge stuff from removed headerfiles.
61         * lib/krb5/fcache.c: fcc_ops -> krb5_fcc_ops
63         * lib/krb5/mcache.c: mcc_ops -> krb5_mcc_ops
65 Fri Aug 29 01:45:25 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
67         * lib/krb5/krb5.h: Remove all prototypes.
69         * lib/krb5/convert_creds.c: Use `struct credentials' instead of
70         `CREDENTIALS'.
72 Fri Aug 29 00:08:18 1997  Assar Westerlund  <assar@sics.se>
74         * lib/asn1/gen_glue.c: new file. generates 2int and int2 functions
75         and units for bit strings.
77         * admin/util.c: flags2int, int2flags, and flag_units are now
78         generated by asn1_compile
80         * lib/roken/parse_units.c: generalised `parse_units' and
81         `unparse_units' and added new functions `parse_flags' and
82         `unparse_flags' that use these
84         * lib/krb5/krb5_locl.h: moved krb5_data* functions to krb5.h
86         * admin/util.c: Use {un,}parse_flags for printing and parsing
87         hdbflags.
89 Thu Aug 28 03:26:12 1997  Assar Westerlund  <assar@sics.se>
91         * lib/krb5/get_addrs.c: restructured
93         * lib/krb5/warn.c (_warnerr): leak less memory
95         * lib/hdb/hdb.c (hdb_free_entry): zero keys
96         (hdb_check_db_format): leak less memory
98         * lib/hdb/ndbm.c (NDBM_seq): check for valid hdb_entries implement
99         NDBM__get, NDBM__put
101         * lib/hdb/db.c (DB_seq): check for valid hdb_entries
103 Thu Aug 28 02:06:58 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
105         * lib/krb5/send_to_kdc.c: Don't use sendto on connected sockets.
107 Thu Aug 28 01:13:17 1997  Assar Westerlund  <assar@sics.se>
109         * kuser/kinit.1, klist.1, kdestroy.1: new man pages
111         * kpasswd/kpasswd.1, kpasswdd.8: new man pages
113         * kdc/kstash.8, hprop.8, hpropd.8: new man pages
115         * admin/ktutil.8, admin/kdb_edit.8: new man pages
117         * admin/mod.c: new file
119         * admin/life.c: renamed gettime and puttime to getlife and putlife
120         and moved them to life.c
122         * admin/util.c: add print_flags, parse_flags, init_entry,
123         set_created_by, set_modified_by, edit_entry, set_password.  Use
124         them.
126         * admin/get.c: use print_flags
128         * admin: removed unused stuff.  use krb5_{warn,err}*
130         * admin/ank.c: re-organized and abstracted.
132         * admin/gettime.c: removed
134 Thu Aug 28 00:37:39 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
136         * lib/krb5/{get_cred,get_in_tkt}.c: Check for v4 reply.
138         * lib/roken/base64.c: Add base64 functions.
140         * kdc/connect.c lib/krb5/send_to_kdc.c: Add http support.
142 Wed Aug 27 00:29:20 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
144         * include/Makefile.am: Don't make links to built files.
146         * admin/kdb_edit.c: Add command to set the database path.
148         * lib/hdb: Include version number in database.
150 Tue Aug 26 20:14:54 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
152         * admin/ktutil: Merged v4 srvtab conversion.
154 Mon Aug 25 23:02:18 1997  Assar Westerlund  <assar@sics.se>
156         * lib/roken/roken.h: add F_OK
158         * lib/gssapi/acquire_creds.c: fix typo
160         * configure.in: call AC_TYPE_MODE_T
162         * acinclude.m4: Add AC_TYPE_MODE_T
164 Sun Aug 24 16:46:53 1997  Assar Westerlund  <assar@sics.se>
166         * Release 0.0f
168 Sun Aug 24 08:06:54 1997  Assar Westerlund  <assar@sics.se>
170         * appl/rsh/rshd.c: syslog remote shells
172         * appl/popper/pop_pass.c: log poppers
174         * kdc/kaserver.c: some more checks
176         * kpasswd/kpasswd.c: removed `-p'
178         * kuser/kinit.c: removed `-p'
180         * lib/krb5/init_creds_pw.c (krb5_get_init_creds_password): If
181         KDC_ERR_PREUATH_REQUIRED, add preauthentication and try again.
183         * lib/krb5/get_in_tkt.c (krb5_get_in_cred): don't print out
184         krb-error text
186         * lib/gssapi/import_name.c (input_name): more names types.
188         * admin/load.c (parse_keys): handle the case of an empty salt
190         * kdc/kaserver.c: fix up memory deallocation
192         * kdc/kaserver.c: quick hack at talking kaserver protocol
194         * kdc/kerberos4.c: Make `db-fetch4' global
196         * configure.in: add --enable-kaserver
198         * kdc/rx.h, kdc/kerberos4.h: new header files
200         * lib/krb5/principal.c: fix krb5_build_principal_ext & c:o
202 Sun Aug 24 03:52:44 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
204         * lib/krb5/{get_in_tkt,mk_safe,mk_priv}.c: Fix some Cray specific
205         type conflicts.
207         * lib/krb5/{get_cred,get_in_tkt}.c: Mask nonce to 32 bits.
209         * lib/des/{md4,md5,sha}.c: Now works on Crays.
211 Sat Aug 23 18:15:01 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
213         * appl/afsutil/afslog.c: If no cells or files specified, get
214         tokens for all local cells. Better test for files.
216 Thu Aug 21 23:33:38 1997  Assar Westerlund  <assar@sics.se>
218         * lib/gssapi/v1.c: new file with v1 compatibility functions.
220 Thu Aug 21 20:36:13 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
222         * lib/kafs/afskrb5.c: Don't check ticket file for afs ticket.
224         * kdc/kerberos4.c: Check database when converting v4 principals.
226         * kdc/kerberos5.c: Include kvno in Ticket.
228         * lib/krb5/encrypt.c: Add kvno parameter to encrypt_EncryptedData.
230         * kuser/klist.c: Print version number of ticket, include more
231         flags.
233 Wed Aug 20 21:26:58 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
235         * lib/kafs/afskrb5.c (get_cred): Check cached afs tickets for
236         expiration.
238 Wed Aug 20 17:40:31 1997  Assar Westerlund  <assar@sics.se>
240         * lib/krb5/recvauth.c (krb5_recvauth): Send a KRB-ERROR iff
241         there's an error.
243         * lib/krb5/sendauth.c (krb5_sendauth): correct the protocol
244         documentation and process KRB-ERROR's
246 Tue Aug 19 20:41:30 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
248         * kdc/kerberos4.c: Fix memory leak in v4 protocol handler.
250 Mon Aug 18 05:15:09 1997  Assar Westerlund  <assar@sics.se>
252         * lib/gssapi/accept_sec_context.c: Added
253         `gsskrb5_register_acceptor_identity'
255 Sun Aug 17 01:40:20 1997  Assar Westerlund  <assar@sics.se>
257         * lib/gssapi/accept_sec_context.c (gss_accept_sec_context): don't
258         always pass server == NULL to krb5_rd_req.
260         * lib/gssapi: new files: canonicalize_name.c export_name.c
261         context_time.c compare_name.c release_cred.c acquire_cred.c
262         inquire_cred.c, from Luke Howard <lukeh@xedoc.com.au>
264         * lib/krb5/config_file.c: Add netinfo support from Luke Howard
265         <lukeh@xedoc.com.au>
267         * lib/editline/sysunix.c: sgtty-support from Luke Howard
268         <lukeh@xedoc.com.au>
270         * lib/krb5/principal.c: krb5_sname_to_principal fix from Luke
271         Howard <lukeh@xedoc.com.au>
273 Sat Aug 16 00:44:47 1997  Assar Westerlund  <assar@koi.pdc.kth.se>
275         * Release 0.0e
277 Sat Aug 16 00:23:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
279         * appl/afsutil/afslog.c: Use new libkafs.
281         * lib/kafs/afskrb5.c: Get AFS tokens via 524 protocol.
283         * lib/krb5/warn.c: Fix format string for *x type.
285 Fri Aug 15 22:15:01 1997  Assar Westerlund  <assar@sics.se>
287         * admin/get.c (get_entry): print more information about the entry
289         * lib/des/Makefile.am: build destest, mdtest, des, rpw, speed
291         * lib/krb5/config_file.c: new functions `krb5_config_get_time' and
292         `krb5_config_vget_time'.  Use them.
294 Fri Aug 15 00:09:37 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
296         * admin/ktutil.c: Keytab manipulation program.
298         * lib/krb5/keytab.c: Return sane values from resolve and
299         start_seq_get.
301         * kdc/kerberos5.c: Fix for old clients passing 0 for `no endtime'.
303         * lib/45/get_ad_tkt.c: Kerberos 4 get_ad_tkt using
304         krb524_convert_creds_kdc.
306         * lib/krb5/convert_creds.c: Implementation of
307         krb524_convert_creds_kdc.
309         * lib/asn1/k5.asn1: Make kdc-req-body.till OPTIONAL
311         * kdc/524.c: A somewhat working 524-protocol module.
313         * kdc/kerberos4.c: Add version 4 ticket encoding and encryption
314         functions.
316         * lib/krb5/context.c: Fix kdc_timeout.
318         * lib/hdb/{ndbm,db}.c: Free name in close.
320         * kdc/kerberos5.c (tgs_check_autenticator): Return error code
322 Thu Aug 14 21:29:03 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
324         * kdc/kerberos5.c (tgs_make_reply): Fix endtime in reply.
326         * lib/krb5/store_emem.c: Fix reallocation bug.
328 Tue Aug 12 01:29:46 1997  Assar Westerlund  <assar@sics.se>
330         * appl/telnet/libtelnet/kerberos5.c, appl/popper/pop_init.c,
331         appl/rshd/rshd.c: Use `krb5_sock_to_principal'.  Send server
332         parameter to krb5_rd_req/krb5_recvauth.  Set addresses in
333         auth_context.
335         * lib/krb5/recvauth.c: Set addresses in auth_context if there
336         aren't any
338         * lib/krb5/auth_context.c: New function
339         `krb5_auth_con_setaddrs_from_fd'
341         * lib/krb5/sock_principal.c: new function
342         `krb5_sock_to_principal'
343         
344         * lib/krb5/time.c: new file with `krb5_timeofday' and
345         `krb5_us_timeofday'.  Use these functions.
347         * kuser/klist.c: print KDC offset iff verbose
349         * lib/krb5/get_in_tkt.c: implement KDC time offset and use it if
350         [libdefaults]kdc_timesync is set.
351         
352         * lib/krb5/fcache.c: Implement version 4 of the ccache format.
354 Mon Aug 11 05:34:43 1997  Assar Westerlund  <assar@sics.se>
356         * lib/krb5/rd_rep.c (krb5_free_ap_rep_enc_part): free all memory
358         * lib/krb5/principal.c (krb5_unparse_name): allocate memory
359         properly
361         * kpasswd/kpasswd.c: Use `krb5_change_password'
363         * lib/krb5/init_creds_pw.c (init_cred): set realm of server
364         correctly.
366         * lib/krb5/init_creds_pw.c: support changing of password when it
367         has expired
369         * lib/krb5/changepw.c: new file
371         * kuser/klist.c: use getarg
373         * admin/init.c (init): add `kadmin/changepw'
375 Mon Aug 11 04:30:47 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
377         * lib/krb5/get_cred.c: Make get_credentials handle cross-realm.
379 Mon Aug 11 00:03:24 1997  Assar Westerlund  <assar@sics.se>
381         * lib/krb5/config_file.c: implement support for #-comments
383 Sat Aug  9 02:21:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
385         * kdc/hprop*.c: Add database propagation programs.
387         * kdc/connect.c: Max request size.
389 Sat Aug  9 00:47:28 1997  Assar Westerlund  <assar@sics.se>
391         * lib/otp: resurrected from krb4
393         * appl/push: new program for fetching mail with POP.
395         * appl/popper/popper.h: new include files.  new fields in `POP'
397         * appl/popper/pop_pass.c: Implement both v4 and v5.
399         * appl/popper/pop_init.c: Implement both v4 and v5.
401         * appl/popper/pop_debug.c: use getarg.  Talk both v4 and v5
403         * appl/popper: Popper from krb4.
405         * configure.in: check for inline and <netinet/tcp.h> generate
406         files in appl/popper, appl/push, and lib/otp
408 Fri Aug  8 05:51:02 1997  Assar Westerlund  <assar@sics.se>
410         * lib/krb5/get_cred.c: clean-up and try to free memory even when
411         there're errors
413         * lib/krb5/get_cred.c: adapt to new `extract_ticket'
415         * lib/krb5/get_in_tkt.c: reorganize.  check everything and try to
416         return memory even if there are errors.
418         * kuser/kverify.c: new file
420         * lib/krb5/free_host_realm.c: new file
422         * lib/krb5/principal.c (krb5_sname_to_principal): implement
423         different nametypes.  Also free memory.
425         * lib/krb5/verify_init.c: more functionality
427         * lib/krb5/mk_req_ext.c (krb5_mk_req_extended): free the checksum
429         * lib/krb5/get_in_tkt.c (extract_ticket): don't copy over the
430         principals in creds.  Should also compare them with that received
431         from the KDC
433         * lib/krb5/cache.c (krb5_cc_gen_new): copy the newly allocated
434         krb5_ccache
435         (krb5_cc_destroy): call krb5_cc_close
436         (krb5_cc_retrieve_cred): delete the unused creds
438 Fri Aug  8 02:30:40 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
440         * lib/krb5/log.c: Allow better control of destinations of logging
441         (like passing explicit destinations, and log-functions).
443 Fri Aug  8 01:20:39 1997  Assar Westerlund  <assar@sics.se>
445         * lib/krb5/get_default_principal.c: new file
447         * kpasswd/kpasswdd.c: use krb5_log*
449 Fri Aug  8 00:37:47 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
451         * lib/krb5/init_creds_pw.c: Implement krb5_get_init_creds_keytab.
453 Fri Aug  8 00:37:17 1997  Assar Westerlund  <assar@sics.se>
455         * lib/krb5/init_creds_pw.c: Use `krb5_get_default_principal'.
456         Print password expire information.
458         * kdc/config.c: new variable `kdc_warn_pwexpire'
460         * kpasswd/kpasswd.c: converted to getarg and get_init_creds
462 Thu Aug  7 22:17:09 1997  Assar Westerlund  <assar@sics.se>
464         * lib/krb5/mcache.c: new file
466         * admin/gettime.c: new function puttime.  Use it.
468         * lib/krb5/keyblock.c: Added krb5_free_keyblock and
469         krb5_copy_keyblock
471         * lib/krb5/init_creds_pw.c: more functionality
473         * lib/krb5/creds.c: Added krb5_free_creds_contents and
474         krb5_copy_creds.  Changed callers.
476         * lib/krb5/config_file.c: new functions krb5_config_get and
477         krb5_config_vget
479         * lib/krb5/cache.c: cleanup added mcache
480         
481         * kdc/kerberos5.c: include last-req's of type 6 and 7, if
482         applicable
484 Wed Aug  6 20:38:23 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
486         * lib/krb5/log.c: New parameter `log-level'. Default to `SYSLOG'.
488 Tue Aug  5 22:53:54 1997  Assar Westerlund  <assar@sics.se>
490         * lib/krb5/verify_init.c, init_creds_pw.c, init_creds.c,
491         prompter_posix.c: the beginning of an implementation of the cygnus
492         initial-ticket API.
494         * lib/krb5/get_in_tkt_pw.c: make `krb5_password_key_proc' global
496         * lib/krb5/get_in_tkt.c (krb5_get_in_cred): new function that is
497         almost krb5_get_in_tkt but doesn't write the creds to the ccache.
498         Small fixes in krb5_get_in_tkt
500         * lib/krb5/get_addrs.c (krb5_get_all_client_addrs): don't include
501         loopback.
503 Mon Aug  4 20:20:48 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
505         * kdc: Make context global.
507 Fri Aug  1 17:23:56 1997  Assar Westerlund  <assar@sics.se>
509         * Release 0.0d
511         * lib/roken/flock.c: new file
513         * kuser/kinit.c: check for and print expiry information in the
514         `kdc_rep'
516         * lib/krb5/get_in_tkt.c: Set `ret_as_reply' if != NULL
518         * kdc/kerberos5.c: Check the valid times on client and server.
519         Check the password expiration.
520         Check the require_preauth flag.
521         Send an lr_type == 6 with pw_end.
522         Set key.expiration to min(valid_end, pw_end)
523         
524         * lib/hdb/hdb.asn1: new flags `require_preauth' and `change_pw'
526         * admin/util.c, admin/load.c: handle the new flags.
528 Fri Aug  1 16:56:12 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
530         * lib/hdb: Add some simple locking.
532 Sun Jul 27 04:44:31 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
534         * lib/krb5/log.c: Add some general logging functions.
536         * kdc/kerberos4.c: Add version 4 protocol handler. The requrement
537         for this to work is that all involved principals has a des key in
538         the database, and that the client has a version 4 (un-)salted
539         key. Furthermore krb5_425_conv_principal has to do it's job, as
540         present it's not very clever.
542         * lib/krb5/principal.c: Quick patch to make 425_conv work
543         somewhat.
545         * lib/hdb/hdb.c: Add keytype->key and next key functions.
547 Fri Jul 25 17:32:12 1997  Assar Westerlund  <assar@sics.se>
549         * lib/krb5/build_auth.c (krb5_build_authenticator): don't free
550         `cksum'.  It's allocated and freed by the caller
552         * lib/krb5/get_cred.c (krb5_get_kdc_cred): Don't free `addresses'.
554         * kdc/kerberos5.c (tgs_rep2): make sure we also have an defined
555         `client' to return as part of the KRB-ERROR
557         * appl/rsh/rshd.c: implement forwarding
559         * appl/rsh/rsh.c: Use getarg.  Implement forwarding.
561 Thu Jul 24 08:13:59 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
563         * kdc/kerberos5.c: Unseal keys from database before use.
565         * kdc/misc.c: New functions set_master_key, unseal_key and
566         free_key.
568         * lib/roken/getarg.c: Handle `-f arg' correctly.
570 Thu Jul 24 01:54:43 1997  Assar Westerlund  <assar@sics.se>
572         * kuser/kinit.c: implement `-l' aka `--lifetime'
574         * lib/roken/parse_units.c, parse_time.c: new files
576         * admin/gettime.c (gettime): use `parse_time'
578         * kdc/kerberos5.c (as_rep): Use `METHOD-DATA' when sending
579         KRB5KDC_ERR_PREAUTH_REQUIRED, not PA-DATA.
581         * kpasswd/kpasswdd.c: fix freeing bug use sequence numbers set
582         addresses in auth_context bind one socket per interface.
583         
584         * kpasswd/kpasswd.c: use sequence numbers
586         * lib/krb5/rd_req.c (krb5_verify_ap_req): do abs when verifying
587         the timestamps
589         * lib/krb5/rd_priv.c (krb5_rd_priv): Fetch the correct session key
590         from auth_context
592         * lib/krb5/mk_priv.c (krb5_mk_priv): Fetch the correct session key
593         from auth_context
595         * lib/krb5/mk_error.c (krb5_mk_error): return an error number and
596         not a comerr'd number.
598         * lib/krb5/get_in_tkt.c (krb5_get_in_tkt): interpret the error
599         number in KRB-ERROR correctly.
601         * lib/krb5/get_cred.c (krb5_get_kdc_cred): interpret the error
602         number in KRB-ERROR correctly.
604         * lib/asn1/k5.asn1: Add `METHOD-DATA'
606         * removed some memory leaks.
608 Wed Jul 23 07:53:18 1997  Assar Westerlund  <assar@sics.se>
610         * Release 0.0c
612         * lib/krb5/rd_cred.c, get_for_creds.c: new files
614         * lib/krb5/get_host_realm.c: try default realm as last chance
616         * kpasswd/kpasswdd.c: updated to hdb changes
618         * appl/telnet/libtelnet/kerberos5.c: Implement forwarding
620         * appl/telnet/libtelnet: removed totally unused files
622         * admin/ank.c: fix prompts and generation of random keys
624 Wed Jul 23 04:02:32 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
626         * admin/dump.c: Include salt in dump.
628         * admin: Mostly updated for new db-format.
630         * kdc/kerberos5.c: Update to use new db format. Better checking of
631         flags and such. More logging.
633         * lib/hdb/hdb.c: Use generated encode and decode functions.
635         * lib/hdb/hdb.h: Get hdb_entry from ASN.1 generated code.
637         * lib/krb5/get_cred.c: Get addresses from krbtgt if there are none
638         in the reply.
640 Sun Jul 20 16:22:30 1997  Assar Westerlund  <assar@sics.se>
642         * kuser/kinit.c: break if des_read_pw_string() != 0
644         * kpasswd/kpasswdd.c: send a reply
646         * kpasswd/kpasswd.c: restructured code.  better report on
647         krb-error break if des_read_pw_string() != 0
649         * kdc/kerberos5.c: Check `require_enc_timestamp' malloc space for
650         starttime and renew_till
652         * appl/telnet/libtelnet/kerberos5.c (kerberos5_is): Send a
653         keyblock to krb5_verify_chekcsum
655 Sun Jul 20 06:35:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
657         * Release 0.0b
659         * kpasswd/kpasswd.c: Avoid using non-standard struct names.
661 Sat Jul 19 19:26:23 1997  Assar Westerlund  <assar@sics.se>
663         * lib/krb5/keytab.c (krb5_kt_get_entry): check return from
664         `krb5_kt_start_seq_get'.  From <map@stacken.kth.se>
666 Sat Jul 19 04:07:39 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
668         * lib/asn1/k5.asn1: Update with more pa-data types from
669         draft-ietf-cat-kerberos-revisions-00.txt
671         * admin/load.c: Update to match current db-format.
673         * kdc/kerberos5.c (as_rep): Try all valid pa-datas before giving
674         up. Send back an empty pa-data if the client has the v4 flag set.
676         * lib/krb5/get_in_tkt.c: Pass both version5 and version4 salted
677         pa-data. DTRT if there is any pa-data in the reply.
679         * lib/krb5/str2key.c: XOR with some sane value.
681         * lib/hdb/hdb.h: Add `version 4 salted key' flag.
683         * kuser/kinit.c: Ask for password before calling get_in_tkt. This
684         makes it possible to call key_proc more than once.
686         * kdc/string2key.c: Add flags to output version 5 (DES only),
687         version 4, and AFS string-to-key of a password.
689         * lib/asn1/gen_copy.c: copy_* functions now returns an int (0 or
690         ENOMEM).
692 Fri Jul 18 02:54:58 1997  Assar Westerlund  <assar@sics.se>
694         * lib/krb5/get_host_realm.c (krb5_get_host_realm): do the
695         name2name thing
697         * kdc/misc.c: check result of hdb_open
699         * admin/kdb_edit: updated to new sl
701         * lib/sl: sl_func now returns an int. != 0 means to exit.
703         * kpasswd/kpasswdd: A crude (but somewhat working) implementation
704         of `draft-ietf-cat-kerb-chg-password-00.txt'
706 Fri Jul 18 00:55:39 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
708         * kuser/krenew.c: Crude ticket renewing program.
710         * kdc/kerberos5.c: Rewritten flags parsing, it now might work to
711         get forwarded and renewed tickets.
713         * kuser/kinit.c: Add `-r' flag.
715         * lib/krb5/get_cred.c: Move most of contents of get_creds to new
716         function get_kdc_cred, that always contacts the kdc and doesn't
717         save in the cache. This is a hack.
719         * lib/krb5/get_in_tkt.c: Pass starttime and renew_till in request
720         (a bit kludgy).
722         * lib/krb5/mk_req_ext.c: Make an auth_context if none passed in.
724         * lib/krb5/send_to_kdc.c: Get timeout from context.
726         * lib/krb5/context.c: Add kdc_timeout to context struct.
728 Thu Jul 17 20:35:45 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
730         * kuser/klist.c: Print start time of ticket if available.
732         * lib/krb5/get_host_realm.c: Return error if no realm was found.
734 Thu Jul 17 20:28:21 1997  Assar Westerlund  <assar@sics.se>
736         * kpasswd: non-working kpasswd added
738 Thu Jul 17 00:21:22 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
740         * Release 0.0a
742         * kdc/main.c: Add -p flag to disable pa-enc-timestamp requirement.
744 Wed Jul 16 03:37:41 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
746         * kdc/kerberos5.c (tgs_rep2): Free ticket and ap_req.
748         * lib/krb5/auth_context.c (krb5_auth_con_free): Free remote
749         subkey.
751         * lib/krb5/principal.c (krb5_free_principal): Check for NULL.
753         * lib/krb5/send_to_kdc.c: Check for NULL return from
754         gethostbyname.
756         * lib/krb5/set_default_realm.c: Try to get realm of local host if
757         no default realm is available.
759         * Remove non ASN.1 principal code.
761 Wed Jul 16 03:17:30 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
763         * kdc/kerberos5.c: Split tgs_rep in smaller functions. Add better
764         error handing. Do some logging.
766         * kdc/log.c: Some simple logging facilities.
768         * kdc/misc.c (db_fetch): Take a krb5_principal.
770         * kdc/connect.c: Pass address of request to as_rep and
771         tgs_rep. Send KRB-ERROR.
773         * lib/krb5/mk_error.c: Add more fields.
775         * lib/krb5/get_cred.c: Print normal error code if no e_text is
776         available.
778 Wed Jul 16 03:07:50 1997  Assar Westerlund  <assar@sics.se>
780         * lib/krb5/get_in_tkt.c: implement `krb5_init_etype'.
781         Change encryption type of pa_enc_timestamp to DES-CBC-MD5
783         * lib/krb5/context.c: recognize all encryption types actually
784         implemented
786         * lib/krb5/auth_context.c (krb5_auth_con_init): Change default
787         encryption type to `DES_CBC_MD5'
789         *  lib/krb5/read_message.c, write_message.c: new files
791 Tue Jul 15 17:14:21 1997  Assar Westerlund  <assar@sics.se>
793         * lib/asn1: replaced asn1_locl.h by `der_locl.h' and `gen_locl.h'.
795         * lib/error/compile_et.awk: generate a prototype for the
796         `destroy_foo_error_table' function.
798 Mon Jul 14 12:24:40 1997  Assar Westerlund  <assar@sics.se>
800         * lib/krb5/krbhst.c (krb5_get_krbhst): Get all kdc's and try also
801         with `kerberos.REALM'
803         * kdc/kerberos5.c, lib/krb5/rd_priv.c, lib/krb5/rd_safe.c: use
804         `max_skew'
806         * lib/krb5/rd_req.c (krb5_verify_ap_req): record authenticator
807         subkey
809         * lib/krb5/build_auth.c (krb5_build_authenticator): always
810         generate a subkey.
812         * lib/krb5/address.c: implement `krb5_address_order'
814         * lib/gssapi/import_name.c: Implement `gss_import_name'
816         * lib/gssapi/external.c: Use new OID
818         * lib/gssapi/encapsulate.c: New functions
819         `gssapi_krb5_encap_length' and `gssapi_krb5_make_header'.  Changed
820         callers.
822         * lib/gssapi/decapsulate.c: New function
823         `gssaspi_krb5_verify_header'.  Changed callers.
825         * lib/asn1/gen*.c: Give tags to generated structs.
826         Use `err' and `asprintf'
828         * appl/test/gss_common.c: new file
830         * appl/test/gssapi_server.c: removed all krb5 calls
832         * appl/telnet/libtelnet/kerberos5.c: Add support for genering and
833         verifying checksums.  Also start using session subkeys.
835 Mon Jul 14 12:08:25 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
837         * lib/krb5/rd_req.c (krb5_rd_req_with_keyblock): Split up.
839 Sun Jul 13 03:07:44 1997  Assar Westerlund  <assar@sics.se>
841         * lib/krb5/rd_safe.c, mk_safe.c: made bug-compatible with MIT
843         * lib/krb5/encrypt.c: new functions `DES_encrypt_null_ivec' and
844         `DES_encrypt_key_ivec'
846         * lib/krb5/checksum.c: implement rsa-md4-des and rsa-md5-des
848         * kdc/kerberos5.c (tgs_rep): support keyed checksums
850         * lib/krb5/creds.c: new file
852         * lib/krb5/get_in_tkt.c: better freeing
854         * lib/krb5/context.c (krb5_free_context): more freeing
856         * lib/krb5/config_file.c: New function `krb5_config_file_free'
858         * lib/error/compile_et.awk: Generate a `destroy_' function.
860         * kuser/kinit.c, klist.c: Don't leak memory.
862 Sun Jul 13 02:46:27 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
864         * kdc/connect.c: Check filedescriptor in select.
866         * kdc/kerberos5.c: Remove most of the most common memory leaks.
868         * lib/krb5/rd_req.c: Free allocated data.
870         * lib/krb5/auth_context.c (krb5_auth_con_free): Free a lot of
871         fields.
873 Sun Jul 13 00:32:16 1997  Assar Westerlund  <assar@sics.se>
875         * appl/telnet, appl/rsh: Conditionalize the krb4-support.
877         * configure.in: Test for krb4
879 Sat Jul 12 17:14:12 1997  Assar Westerlund  <assar@sics.se>
881         * kdc/kerberos5.c: check if the pre-auth was decrypted properly.
882         set the `pre_authent' flag
884         * lib/krb5/get_cred.c, lib/krb5/get_in_tkt.c: generate a random nonce.
886         * lib/krb5/encrypt.c: Made `generate_random_block' global.
888         * appl/test: Added gssapi_client and gssapi_server.
890         * lib/krb5/data.c: Add `krb5_data_zero'
892         * appl/test/tcp_client.c: try `mk_safe' and `mk_priv'
894         * appl/test/tcp_server.c: try `rd_safe' and `rd_priv'
896 Sat Jul 12 16:45:58 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
898         * lib/krb5/get_addrs.c: Fix for systems that has sa_len, but
899         returns zero length from SIOCGIFCONF.
901 Sat Jul 12 16:38:34 1997  Assar Westerlund  <assar@sics.se>
903         * appl/test: new programs
904         
905         * lib/krb5/rd_req.c: add address compare
907         * lib/krb5/mk_req_ext.c: allow no checksum
909         * lib/krb5/keytab.c (krb5_kt_ret_string): 0-terminate string
911         * lib/krb5/address.c: fix `krb5_address_compare'
913 Sat Jul 12 15:03:16 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
915         * lib/krb5/get_addrs.c: Fix ip4 address extraction.
917         * kuser/klist.c: Add verbose flag, and split main into smaller
918         pieces.
920         * lib/krb5/fcache.c: Save ticket flags.
922         * lib/krb5/get_in_tkt.c (extract_ticket): Extract addresses and
923         flags.
925         * lib/krb5/krb5.h: Add ticket_flags to krb5_creds.
927 Sat Jul 12 13:12:48 1997  Assar Westerlund  <assar@sics.se>
929         * configure.in: Call `AC_KRB_PROG_LN_S'
931         * acinclude.m4: Add `AC_KRB_PROG_LN_S' from krb4
933 Sat Jul 12 00:57:01 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
935         * lib/krb5/get_in_tkt.c: Use union of krb5_flags and KDCOptions to
936         pass options.
938 Fri Jul 11 15:04:22 1997  Assar Westerlund  <assar@sics.se>
940         * appl/telnet: telnet & telnetd seems to be working.
941         
942         * lib/krb5/config_file.c: Added krb5_config_v?get_list Fixed
943         krb5_config_vget_next
945         * appl/telnet/libtelnet/kerberos5.c: update to current API
947 Thu Jul 10 14:54:39 1997  Assar Westerlund  <assar@sics.se>
949         * appl/telnet/libtelnet/kerberos5.c (kerberos5_status): call
950         `krb5_kuserok'
952         * appl/telnet: Added.
954 Thu Jul 10 05:09:25 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
956         * lib/error/compile_et.awk: Remove usage of sub, gsub, and
957         functions for compatibility with awk.
959         * include/bits.c: Must use signed char.
961         * lib/krb5/context.c: Move krb5_get_err_text, and krb5_init_ets
962         here.
964         * lib/error/error.c: Replace krb5_get_err_text with new function
965         com_right.
967         * lib/error/compile_et.awk: Avoid using static variables.
969         * lib/error/error.c: Don't use krb5_locl.h
971         * lib/error/error.h: Move definitions of error_table and
972         error_list from krb5.h.
974         * lib/error: Moved from lib/krb5.
976 Wed Jul  9 07:42:04 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
978         * lib/krb5/encrypt.c: Temporary hack to avoid des_rand_data.
980 Wed Jul  9 06:58:00 1997  Assar Westerlund  <assar@sics.se>
982         * appl/rsh/rsh.c: use the correct user for the checksum
984         * lib/krb5/{rd,mk}_{*}.c: more checking for addresses and stuff
985         according to pseudocode from 1510
987 Wed Jul  9 06:06:06 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
989         * lib/hdb/hdb.c: Add hdb_etype2key.
991         * kdc/kerberos5.c: Check authenticator. Use more general etype
992         functions.
993         
994 Wed Jul  9 03:51:12 1997  Assar Westerlund  <assar@sics.se>
996         * lib/asn1/k5.asn1: Made all `s_address' OPTIONAL according to
997         draft-ietf-cat-kerberos-r-00.txt
999         * lib/krb5/principal.c (krb5_parse_name): default to local realm
1000         if none given
1001         
1002         * kuser/kinit.c: New option `-p' and prompt
1004 Wed Jul  9 02:30:06 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1006         * lib/krb5/keyblock.c: Keyblock generation functions.
1008         * lib/krb5/encrypt.c: Use functions from checksum.c.
1010         * lib/krb5/checksum.c: Move checksum functions here. Add
1011         krb5_cksumsize function.
1013 Wed Jul  9 01:15:38 1997  Assar Westerlund  <assar@sics.se>
1015         * lib/krb5/get_host_realm.c: implemented
1017         * lib/krb5/config_file.c: Redid part.  New functions:
1018         krb5_config_v?get_next
1020         * kuser/kdestroy.c: new program
1022         * kuser/kinit.c: new flag `-f'
1024         * lib/asn1/k5.asn1: Made HostAddresses = SEQUENCE OF HostAddress
1026         * acinclude.m4: Added AC_KRB_STRUCT_SOCKADDR_SA_LEN
1028         * lib/krb5/krb5.h: krb5_addresses == HostAddresses.  Changed all
1029         users.
1031         * lib/krb5/get_addrs.c: figure out all local addresses, possibly
1032         even IPv6!
1034         * lib/krb5/checksum.c: table-driven checksum
1036 Mon Jul  7 21:13:28 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1038         * lib/krb5/encrypt.c: Make krb5_decrypt use the same struct as
1039         krb5_encrypt.
1041 Mon Jul  7 11:15:51 1997  Assar Westerlund  <assar@sics.se>
1043         * lib/roken/vsyslog.c: new file
1045         * lib/krb5/encrypt.c: add des-cbc-md4.
1046         adjust krb5_encrypt and krb5_decrypt to reality
1048         * appl/rsh/rshd.c: Now works.  Also implementd encryption and
1049         `-p'.
1050         
1051         * appl/rsh/common.c: new file
1053 Mon Jul  7 02:46:31 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1055         * lib/krb5/encrypt.c: Implement as a vector of function pointers.
1057         * lib/krb5/{decrypt,encrypt}.c: Implement des-cbc-crc, and
1058         des-cbc-md5 in separate functions.
1060         * lib/krb5/krb5.h: Add more checksum and encryption types.
1062         * lib/krb5/krb5_locl.h: Add etype to krb5_decrypt.
1064 Sun Jul  6 23:02:59 1997  Assar Westerlund  <assar@sics.se>
1066         * lib/krb5/[gs]et_default_realm.c, kuserok.c: new files
1068         * lib/krb5/config_file.[ch]: new c-based configuration reading
1069         stuff
1071 Wed Jul  2 23:12:56 1997  Assar Westerlund  <assar@sics.se>
1073         * configure.in: Set WFLAGS if using gcc
1075 Wed Jul  2 17:47:03 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1077         * lib/asn1/der_put.c (der_put_int): Return size correctly.
1079         * admin/ank.c: Be compatible with the asn1 principal format.
1081 Wed Jul  1 23:52:20 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1083         * lib/asn1: Now all decode_* and encode_* functions now take a
1084         final size_t* argument, that they return the size in. Return
1085         values are zero for success, and anything else (such as some
1086         ASN1_* constant) for error.
1088 Mon Jun 30 06:08:14 1997  Assar Westerlund  <assar@sics.se>
1090         * appl/rsh: New program.
1092         * lib/krb5/keytab.c (krb5_kt_add_entry): change open mode to
1093         O_WRONLY | O_APPEND
1095         * lib/krb5/get_cred.c: removed stale prototype for
1096         `extract_ticket' and corrected call.
1098         * lib/asn1/gen_length.c (length_type): Make the length functions
1099         for SequenceOf non-destructive
1101         * admin/ank.c (doit): Fix reading of `y/n'.
1103 Mon Jun 16 05:41:43 1997  Assar Westerlund  <assar@sics.se>
1105         * lib/gssapi/wrap.c, unwrap.c: do encrypt and add sequence number
1107         * lib/gssapi/get_mic.c, verify_mic.c: Add sequence number.
1109         * lib/gssapi/accept_sec_context.c (gss_accept_sec_context): Set
1110         KRB5_AUTH_CONTEXT_DO_SEQUENCE.  Verify 8003 checksum.
1112         * lib/gssapi/8003.c: New file.
1114         * lib/krb/krb5.h: Define a `krb_authenticator' as an ASN.1
1115         Authenticator.
1117         * lib/krb5/auth_context.c: New functions
1118         `krb5_auth_setlocalseqnumber' and `krb5_auth_setremoteseqnumber'
1120 Tue Jun 10 00:35:54 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1122         * lib/krb5: Preapre for use of some asn1-types.
1124         * lib/asn1/*.c (copy_*): Constness.
1126         * lib/krb5/krb5.h: Include asn1.h; krb5_data is now an
1127         octet_string.
1129         * lib/asn1/der*,gen.c: krb5_data -> octet_string, char * ->
1130         general_string
1132         * lib/asn1/libasn1.h: Moved stuff from asn1_locl.h that doesn't
1133         have anything to do with asn1_compile.
1135         * lib/asn1/asn1_locl.h: Remove der.h. Add some prototypes.
1137 Sun Jun  8 03:51:55 1997  Assar Westerlund  <assar@sics.se>
1139         * kdc/kerberos5.c: Fix PA-ENC-TS-ENC
1141         * kdc/connect.c(process_request): Set `new'
1142         
1143         * lib/krb5/get_in_tkt.c: Do PA-ENC-TS-ENC the correct way.
1145         * lib: Added editline,sl,roken.
1147 Mon Jun  2 00:37:48 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1149         * lib/krb5/fcache.c: Move file cache from cache.c.
1151         * lib/krb5/cache.c: Allow more than one cache type.
1153 Sun Jun  1 23:45:33 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1155         * admin/extkeytab.c: Merged with kdb_edit.
1157 Sun Jun  1 23:23:08 1997  Assar Westerlund  <assar@sics.se>
1159         * kdc/kdc.c: more support for ENC-TS-ENC
1161         * lib/krb5/get_in_tkt.c: redone to enable pre-authentication
1163 Sun Jun  1 22:45:11 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1165         * lib/hdb/db.c: Merge fetch and store.
1167         * admin: Merge to one program.
1169         * lib/krb5/str2key.c: Fill in keytype and length.
1171 Sun Jun  1 16:31:23 1997  Assar Westerlund  <assar@sics.se>
1173         * lib/krb5/rd_safe.c, lib/krb5/rd_priv.c, lib/krb5/mk_rep.c,
1174         lib/krb5/mk_priv.c, lib/krb5/build_auth.c: Some support for
1175         KRB5_AUTH_CONTEXT_DO_SEQUENCE
1177         * lib/krb5/get_in_tkt.c (get_in_tkt): be prepared to parse an
1178         KRB_ERROR.  Some support for PA_ENC_TS_ENC.
1180         * lib/krb5/auth_context.c: implemented seq_number functions
1182         * lib/krb5/generate_subkey.c, generate_seq_number.c: new files
1184         * lib/gssapi/gssapi.h: avoid including <krb5.h>
1186         * lib/asn1/Makefile.am: SUFFIXES as a variable to make automake
1187         happy
1189         * kdc/kdc.c: preliminary PREAUTH_ENC_TIMESTAMP
1191         * configure.in: adapted to automake 1.1p
1193 Mon May 26 22:26:21 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1195         * lib/krb5/principal.c: Add contexts to many functions.
1197 Thu May 15 20:25:37 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1199         * lib/krb5/verify_user.c: First stab at a verify user.
1201         * lib/auth/sia/sia5.c: SIA module for Kerberos 5.
1203 Mon Apr 14 00:09:03 1997  Assar Westerlund  <assar@sics.se>
1205         * lib/gssapi: Enough of a gssapi-over-krb5 implementation to be
1206         able to (mostly) run gss-client and gss-server.
1207         
1208         * lib/krb5/keytab.c: implemented krb5_kt_add_entry,
1209         krb5_kt_store_principal, krb5_kt_store_keyblock
1211         * lib/des/md5.[ch], sha.[ch]: new files
1213         * lib/asn1/der_get.c (generalizedtime2time): use `timegm'
1215         * lib/asn1/timegm.c: new file
1217         * admin/extkeytab.c: new program
1219         * admin/admin_locl.h: new file
1221         * admin/Makefile.am: Added extkeytab
1223         * configure.in: moved config to include
1224         removed timezone garbage
1225         added lib/gssapi and admin
1227         * Makefile.am: Added admin
1229 Mon Mar 17 11:34:05 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1231         * kdc/kdc.c: Use new copying functions, and free some data.
1233         * lib/asn1/Makefile.am: Try to not always rebuild generated files.
1235         * lib/asn1/der_put.c: Add fix_dce().
1237         * lib/asn1/der_{get,length,put}.c: Fix include files.
1239         * lib/asn1/der_free.c: Remove unused functions.
1240         
1241         * lib/asn1/gen.c: Split into gen_encode, gen_decode, gen_free,
1242         gen_length, and gen_copy.
1244 Sun Mar 16 18:13:52 1997  Assar Westerlund  <assar@sics.se>
1246         * lib/krb5/sendauth.c: implemented functionality
1248         * lib/krb5/rd_rep.c: Use `krb5_decrypt'
1250         * lib/krb5/cache.c (krb5_cc_get_name): return default if `id' ==
1251         NULL
1253         * lib/krb5/principal.c (krb5_free_principal): added `context'
1254         argument.  Changed all callers.
1255         
1256         (krb5_sname_to_principal): new function
1258         * lib/krb5/auth_context.c (krb5_free_authenticator): add `context'
1259         argument.  Changed all callers
1261         * lib/krb5/{net_write.c,net_read.c,recvauth.c}: new files
1263         * lib/asn1/gen.c: Fix encoding and decoding of BitStrings
1265 Fri Mar 14 11:29:00 1997  Assar Westerlund  <assar@sics.se>
1267         * configure.in: look for *dbm?
1269         * lib/asn1/gen.c: Fix filename in generated files. Check fopens.
1270         Put trailing newline in asn1_files.
1272 Fri Mar 14 05:06:44 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1274         * lib/krb5/get_in_tkt.c: Fix some memory leaks.
1276         * lib/krb5/krbhst.c: Properly free hostlist.
1278         * lib/krb5/decrypt.c: CRCs are 32 bits.
1280 Fri Mar 14 04:39:15 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1282         * lib/asn1/gen.c: Generate one file for each type.
1284 Fri Mar 14 04:13:47 1997  Assar Westerlund  <assar@sics.se>
1286         * lib/asn1/gen.c: Generate `length_FOO' functions
1288         * lib/asn1/der_length.c: new file
1290         * kuser/klist.c: renamed stime -> printable_time to avoid conflict
1291         on HP/UX
1293 Fri Mar 14 03:37:23 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1295         * lib/hdb/ndbm.c: Return NOENTRY if fetch fails. Don't free
1296         datums. Don't add .db to filename.
1298 Fri Mar 14 02:49:51 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1300         * kdc/dump.c: Database dump program.
1302         * kdc/ank.c: Trivial database editing program.
1304         * kdc/{kdc.c, load.c}: Use libhdb.
1306         * lib/hdb: New database routine library.
1308         * lib/krb5/error/Makefile.am: Add hdb_err.
1310 Wed Mar 12 17:41:14 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1312         * kdc/kdc.c: Rewritten AS, and somewhat more working TGS support.
1314         * lib/asn1/gen.c: Generate free functions.
1316         * Some specific free functions.
1318 Wed Mar 12 12:30:13 1997  Assar Westerlund  <assar@sics.se>
1320         * lib/krb5/krb5_mk_req_ext.c: new file
1322         * lib/asn1/gen.c: optimize the case with a simple type
1324         * lib/krb5/get_cred.c (krb5_get_credentials): Use
1325         `mk_req_extended' and remove old code.
1327         * lib/krb5/get_in_tkt.c (decrypt_tkt): First try with an
1328         EncASRepPart, then with an EncTGSRepPart.
1330 Wed Mar 12 08:26:04 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1332         * lib/krb5/store_emem.c: New resizable memory storage.
1334         * lib/krb5/{store.c, store_fd.c, store_mem.c}: Split of store.c
1336         * lib/krb5/krb5.h: Add free entry to krb5_storage.
1338         * lib/krb5/decrypt.c: Make keyblock const.
1340 Tue Mar 11 20:22:17 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1342         * lib/krb5/krb5.h: Add EncTicketPart to krb5_ticket.
1344         * lib/krb5/rd_req.c: Return whole asn.1 ticket in
1345         krb5_ticket->tkt.
1347         * lib/krb5/get_in_tkt.c: TGS -> AS
1349         * kuser/kfoo.c: Print error string rather than number.
1351         * kdc/kdc.c: Some kind of non-working TGS support.
1353 Mon Mar 10 01:43:22 1997  Assar Westerlund  <assar@sics.se>
1355         * lib/asn1/gen.c: reduced generated code by 1/5
1357         * lib/asn1/der_put.c: (der_put_length_and_tag): new function
1359         * lib/asn1/der_get.c (der_match_tag_and_length): new function
1361         * lib/asn1/der.h: added prototypes
1363 Mon Mar 10 01:15:43 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1365         * lib/krb5/krb5.h: Include <asn1_err.h>. Add prototype for
1366         krb5_rd_req_with_keyblock.
1368         * lib/krb5/rd_req.c: Add function krb5_rd_req_with_keyblock that
1369         takes a precomputed keyblock.
1371         * lib/krb5/get_cred.c: Use krb5_mk_req rather than inlined code.
1373         * lib/krb5/mk_req.c: Calculate checksum of in_data.
1375 Sun Mar  9 21:17:58 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1377         * lib/krb5/error/compile_et.awk: Add a declaration of struct
1378         error_list, and multiple inclusion block to header files.
1380 Sun Mar  9 21:01:12 1997  Assar Westerlund  <assar@sics.se>
1382         * lib/krb5/rd_req.c: do some checks on times
1384         * lib/krb/{mk_priv.c, rd_priv.c, sendauth.c, decrypt.c,
1385         address.c}: new files
1387         * lib/krb5/auth_context.c: more code
1389         * configure.in: try to figure out timezone
1391 Sat Mar  8 11:41:07 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1393         * lib/krb5/error/error.c: Try strerror if error code wasn't found.
1395         * lib/krb5/get_in_tkt.c: Remove realm parameter from
1396         krb5_get_salt.
1398         * lib/krb5/context.c: Initialize error table.
1400         * kdc: The beginnings of a kdc.
1402 Sat Mar  8 08:16:28 1997  Assar Westerlund  <assar@sics.se>
1404         * lib/krb5/rd_safe.c: new file
1406         * lib/krb5/checksum.c (krb5_verify_checksum): New function
1408         * lib/krb5/get_cred.c: use krb5_create_checksum
1410         * lib/krb5/checksum.c: new file
1412         * lib/krb5/store.c: no more arithmetic with void*
1414         * lib/krb5/cache.c: now seems to work again
1416 Sat Mar  8 06:58:09 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1418         * lib/krb5/Makefile.am: Add asn1_glue.c and error/*.c to libkrb5.
1420         * lib/krb5/get_in_tkt.c: Moved some functions to asn1_glue.c.
1422         * lib/krb5/asn1_glue.c: Moved some asn1-stuff here.
1423         
1424         * lib/krb5/{cache,keytab}.c: Use new storage functions.
1426         * lib/krb5/krb5.h: Protypes for new storage functions.
1428         * lib/krb5/krb5.h: Make krb5_{ret,store}_* functions able to write
1429         data to more than file descriptors.
1431 Sat Mar  8 01:01:17 1997  Assar Westerlund  <assar@sics.se>
1433         * lib/krb5/encrypt.c: New file.
1435         * lib/krb5/Makefile.am: More -I
1437         * configure.in: Test for big endian, random, rand, setitimer
1439         * lib/asn1/gen.c: perhaps even decodes bitstrings
1441 Thu Mar  6 19:05:29 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1443         * lib/krb5/config_file.y: Better return values on error.
1445 Sat Feb  8 15:59:56 1997  Assar Westerlund  <assar@pdc.kth.se>
1447         * lib/asn1/parse.y: ifdef HAVE_STRDUP
1449         * lib/asn1/lex.l: ifdef strdup
1450         brange-dead version of list of special characters to make stupid
1451         lex accept it.
1453         * lib/asn1/gen.c: A DER integer should really be a `unsigned'
1455         * lib/asn1/der_put.c: A DER integer should really be a `unsigned'
1457         * lib/asn1/der_get.c: A DER integer should really be a `unsigned'
1459         * lib/krb5/error/Makefile.am: It seems "$(SHELL) ./compile_et" is
1460         needed.
1462         * lib/krb/mk_rep.c, lib/krb/rd_req.c, lib/krb/store.c,
1463         lib/krb/store.h: new files.
1465         * lib/krb5/keytab.c: now even with some functionality.
1467         * lib/asn1/gen.c: changed paramater from void * to Foo *
1469         * lib/asn1/der_get.c (der_get_octet_string): Fixed bug with empty
1470         string.
1472 Sun Jan 19 06:17:39 1997  Assar Westerlund  <assar@pdc.kth.se>
1474         * lib/krb5/get_cred.c (krb5_get_credentials): Check for creds in
1475         cc before getting new ones.
1477         * lib/krb5/krb5.h (krb5_free_keyblock): Fix prototype.
1479         * lib/krb5/build_auth.c (krb5_build_authenticator): It seems the
1480         CRC should be stored LSW first. (?)
1482         * lib/krb5/auth_context.c: Implement `krb5_auth_con_getkey' and
1483         `krb5_free_keyblock'
1485         * lib/**/Makefile.am: Rename foo libfoo.a
1487         * include/Makefile.in: Use test instead of [
1488         -e does not work with /bin/sh on psoriasis
1490         * configure.in: Search for awk
1491         create lib/krb/error/compile_et
1492         
1493 Tue Jan 14 03:46:26 1997  Assar Westerlund  <assar@pdc.kth.se>
1495         * lib/krb5/Makefile.am: replaced mit-crc.c by crc.c
1497 Wed Dec 18 00:53:55 1996  Johan Danielsson  <joda@emma.pdc.kth.se>
1499         * kuser/kinit.c: Guess principal.
1501         * lib/krb5/error/compile_et.awk: Don't include krb5.h. Fix some
1502         warnings.
1504         * lib/krb5/error/asn1_err.et: Add ASN.1 error messages.
1506         * lib/krb5/mk_req.c: Get client from cache.
1508         * lib/krb5/cache.c: Add better error checking some useful return
1509         values.
1511         * lib/krb5/krb5.h: Fix krb5_auth_context.
1513         * lib/asn1/der.h: Make krb5_data compatible with krb5.h
1515 Tue Dec 17 01:32:36 1996  Johan Danielsson  <joda@emma.pdc.kth.se>
1517         * lib/krb5/error: Add primitive error library.
1519 Mon Dec 16 16:30:20 1996  Johan Danielsson  <joda@emma.pdc.kth.se>
1521         * lib/krb5/cache.c: Get correct address type from cache.
1523         * lib/krb5/krb5.h: Change int16 to int to be compatible with asn1.