Wed Jul 9 07:42:04 1997 Johan Danielsson * lib/krb5/encrypt.c: Temporary hack to avoid des_rand_data. Wed Jul 9 06:58:00 1997 Assar Westerlund * appl/rsh/rsh.c: use the correct user for the checksum * lib/krb5/{rd,mk}_{*}.c: more checking for addresses and stuff according to pseudocode from 1510 Wed Jul 9 06:06:06 1997 Johan Danielsson * lib/hdb/hdb.c: Add hdb_etype2key. * kdc/kerberos5.c: Check authenticator. Use more general etype functions. Wed Jul 9 03:51:12 1997 Assar Westerlund * lib/asn1/k5.asn1: Made all `s_address' OPTIONAL according to draft-ietf-cat-kerberos-r-00.txt * lib/krb5/principal.c (krb5_parse_name): default to local realm if none given * kuser/kinit.c: New option `-p' and prompt Wed Jul 9 02:30:06 1997 Johan Danielsson * lib/krb5/keyblock.c: Keyblock generation functions. * lib/krb5/encrypt.c: Use functions from checksum.c. * lib/krb5/checksum.c: Move checksum functions here. Add krb5_cksumsize function. Wed Jul 9 01:15:38 1997 Assar Westerlund * lib/krb5/get_host_realm.c: implemented * lib/krb5/config_file.c: Redid part. New functions: krb5_config_v?get_next * kuser/kdestroy.c: new program * kuser/kinit.c: new flag `-f' * lib/asn1/k5.asn1: Made HostAddresses = SEQUENCE OF HostAddress * acinclude.m4: Added AC_KRB_STRUCT_SOCKADDR_SA_LEN * lib/krb5/krb5.h: krb5_addresses == HostAddresses. Changed all users. * lib/krb5/get_addrs.c: figure out all local addresses, possibly even IPv6! * lib/krb5/checksum.c: table-driven checksum Mon Jul 7 21:13:28 1997 Johan Danielsson * lib/krb5/encrypt.c: Make krb5_decrypt use the same struct as krb5_encrypt. Mon Jul 7 11:15:51 1997 Assar Westerlund * lib/roken/vsyslog.c: new file * lib/krb5/encrypt.c: add des-cbc-md4. adjust krb5_encrypt and krb5_decrypt to reality * appl/rsh/rshd.c: Now works. Also implementd encryption and `-p'. * appl/rsh/common.c: new file Mon Jul 7 02:46:31 1997 Johan Danielsson * lib/krb5/encrypt.c: Implement as a vector of function pointers. * lib/krb5/{decrypt,encrypt}.c: Implement des-cbc-crc, and des-cbc-md5 in separate functions. * lib/krb5/krb5.h: Add more checksum and encryption types. * lib/krb5/krb5_locl.h: Add etype to krb5_decrypt. Sun Jul 6 23:02:59 1997 Assar Westerlund * lib/krb5/[gs]et_default_realm.c, kuserok.c: new files * lib/krb5/config_file.[ch]: new c-based configuration reading stuff Wed Jul 2 23:12:56 1997 Assar Westerlund * configure.in: Set WFLAGS if using gcc Wed Jul 2 17:47:03 1997 Johan Danielsson * lib/asn1/der_put.c (der_put_int): Return size correctly. * admin/ank.c: Be compatible with the asn1 principal format. Wed Jul 1 23:52:20 1997 Johan Danielsson * lib/asn1: Now all decode_* and encode_* functions now take a final size_t* argument, that they return the size in. Return values are zero for success, and anything else (such as some ASN1_* constant) for error. Mon Jun 30 06:08:14 1997 Assar Westerlund * appl/rsh: New program. * lib/krb5/keytab.c (krb5_kt_add_entry): change open mode to O_WRONLY | O_APPEND * lib/krb5/get_cred.c: removed stale prototype for `extract_ticket' and corrected call. * lib/asn1/gen_length.c (length_type): Make the length functions for SequenceOf non-destructive * admin/ank.c (doit): Fix reading of `y/n'. Mon Jun 16 05:41:43 1997 Assar Westerlund * lib/gssapi/wrap.c, unwrap.c: do encrypt and add sequence number * lib/gssapi/get_mic.c, verify_mic.c: Add sequence number. * lib/gssapi/accept_sec_context.c (gss_accept_sec_context): Set KRB5_AUTH_CONTEXT_DO_SEQUENCE. Verify 8003 checksum. * lib/gssapi/8003.c: New file. * lib/krb/krb5.h: Define a `krb_authenticator' as an ASN.1 Authenticator. * lib/krb5/auth_context.c: New functions `krb5_auth_setlocalseqnumber' and `krb5_auth_setremoteseqnumber' Tue Jun 10 00:35:54 1997 Johan Danielsson * lib/krb5: Preapre for use of some asn1-types. * lib/asn1/*.c (copy_*): Constness. * lib/krb5/krb5.h: Include asn1.h; krb5_data is now an octet_string. * lib/asn1/der*,gen.c: krb5_data -> octet_string, char * -> general_string * lib/asn1/libasn1.h: Moved stuff from asn1_locl.h that doesn't have anything to do with asn1_compile. * lib/asn1/asn1_locl.h: Remove der.h. Add some prototypes. Sun Jun 8 03:51:55 1997 Assar Westerlund * kdc/kerberos5.c: Fix PA-ENC-TS-ENC * kdc/connect.c(process_request): Set `new' * lib/krb5/get_in_tkt.c: Do PA-ENC-TS-ENC the correct way. * lib: Added editline,sl,roken. Mon Jun 2 00:37:48 1997 Johan Danielsson * lib/krb5/fcache.c: Move file cache from cache.c. * lib/krb5/cache.c: Allow more than one cache type. Sun Jun 1 23:45:33 1997 Johan Danielsson * admin/extkeytab.c: Merged with kdb_edit. Sun Jun 1 23:23:08 1997 Assar Westerlund * kdc/kdc.c: more support for ENC-TS-ENC * lib/krb5/get_in_tkt.c: redone to enable pre-authentication Sun Jun 1 22:45:11 1997 Johan Danielsson * lib/hdb/db.c: Merge fetch and store. * admin: Merge to one program. * lib/krb5/str2key.c: Fill in keytype and length. Sun Jun 1 16:31:23 1997 Assar Westerlund * lib/krb5/rd_safe.c, lib/krb5/rd_priv.c, lib/krb5/mk_rep.c, lib/krb5/mk_priv.c, lib/krb5/build_auth.c: Some support for KRB5_AUTH_CONTEXT_DO_SEQUENCE * lib/krb5/get_in_tkt.c (get_in_tkt): be prepared to parse an KRB_ERROR. Some support for PA_ENC_TS_ENC. * lib/krb5/auth_context.c: implemented seq_number functions * lib/krb5/generate_subkey.c, generate_seq_number.c: new files * lib/gssapi/gssapi.h: avoid including * lib/asn1/Makefile.am: SUFFIXES as a variable to make automake happy * kdc/kdc.c: preliminary PREAUTH_ENC_TIMESTAMP * configure.in: adapted to automake 1.1p Mon May 26 22:26:21 1997 Johan Danielsson * lib/krb5/principal.c: Add contexts to many functions. Thu May 15 20:25:37 1997 Johan Danielsson * lib/krb5/verify_user.c: First stab at a verify user. * lib/auth/sia/sia5.c: SIA module for Kerberos 5. Mon Apr 14 00:09:03 1997 Assar Westerlund * lib/gssapi: Enough of a gssapi-over-krb5 implementation to be able to (mostly) run gss-client and gss-server. * lib/krb5/keytab.c: implemented krb5_kt_add_entry, krb5_kt_store_principal, krb5_kt_store_keyblock * lib/des/md5.[ch], sha.[ch]: new files * lib/asn1/der_get.c (generalizedtime2time): use `timegm' * lib/asn1/timegm.c: new file * admin/extkeytab.c: new program * admin/admin_locl.h: new file * admin/Makefile.am: Added extkeytab * configure.in: moved config to include removed timezone garbage added lib/gssapi and admin * Makefile.am: Added admin Mon Mar 17 11:34:05 1997 Johan Danielsson * kdc/kdc.c: Use new copying functions, and free some data. * lib/asn1/Makefile.am: Try to not always rebuild generated files. * lib/asn1/der_put.c: Add fix_dce(). * lib/asn1/der_{get,length,put}.c: Fix include files. * lib/asn1/der_free.c: Remove unused functions. * lib/asn1/gen.c: Split into gen_encode, gen_decode, gen_free, gen_length, and gen_copy. Sun Mar 16 18:13:52 1997 Assar Westerlund * lib/krb5/sendauth.c: implemented functionality * lib/krb5/rd_rep.c: Use `krb5_decrypt' * lib/krb5/cache.c (krb5_cc_get_name): return default if `id' == NULL * lib/krb5/principal.c (krb5_free_principal): added `context' argument. Changed all callers. (krb5_sname_to_principal): new function * lib/krb5/auth_context.c (krb5_free_authenticator): add `context' argument. Changed all callers * lib/krb5/{net_write.c,net_read.c,recvauth.c}: new files * lib/asn1/gen.c: Fix encoding and decoding of BitStrings Fri Mar 14 11:29:00 1997 Assar Westerlund * configure.in: look for *dbm? * lib/asn1/gen.c: Fix filename in generated files. Check fopens. Put trailing newline in asn1_files. Fri Mar 14 05:06:44 1997 Johan Danielsson * lib/krb5/get_in_tkt.c: Fix some memory leaks. * lib/krb5/krbhst.c: Properly free hostlist. * lib/krb5/decrypt.c: CRCs are 32 bits. Fri Mar 14 04:39:15 1997 Johan Danielsson * lib/asn1/gen.c: Generate one file for each type. Fri Mar 14 04:13:47 1997 Assar Westerlund * lib/asn1/gen.c: Generate `length_FOO' functions * lib/asn1/der_length.c: new file * kuser/klist.c: renamed stime -> printable_time to avoid conflict on HP/UX Fri Mar 14 03:37:23 1997 Johan Danielsson * lib/hdb/ndbm.c: Return NOENTRY if fetch fails. Don't free datums. Don't add .db to filename. Fri Mar 14 02:49:51 1997 Johan Danielsson * kdc/dump.c: Database dump program. * kdc/ank.c: Trivial database editing program. * kdc/{kdc.c, load.c}: Use libhdb. * lib/hdb: New database routine library. * lib/krb5/error/Makefile.am: Add hdb_err. Wed Mar 12 17:41:14 1997 Johan Danielsson * kdc/kdc.c: Rewritten AS, and somewhat more working TGS support. * lib/asn1/gen.c: Generate free functions. * Some specific free functions. Wed Mar 12 12:30:13 1997 Assar Westerlund * lib/krb5/krb5_mk_req_ext.c: new file * lib/asn1/gen.c: optimize the case with a simple type * lib/krb5/get_cred.c (krb5_get_credentials): Use `mk_req_extended' and remove old code. * lib/krb5/get_in_tkt.c (decrypt_tkt): First try with an EncASRepPart, then with an EncTGSRepPart. Wed Mar 12 08:26:04 1997 Johan Danielsson * lib/krb5/store_emem.c: New resizable memory storage. * lib/krb5/{store.c, store_fd.c, store_mem.c}: Split of store.c * lib/krb5/krb5.h: Add free entry to krb5_storage. * lib/krb5/decrypt.c: Make keyblock const. Tue Mar 11 20:22:17 1997 Johan Danielsson * lib/krb5/krb5.h: Add EncTicketPart to krb5_ticket. * lib/krb5/rd_req.c: Return whole asn.1 ticket in krb5_ticket->tkt. * lib/krb5/get_in_tkt.c: TGS -> AS * kuser/kfoo.c: Print error string rather than number. * kdc/kdc.c: Some kind of non-working TGS support. Mon Mar 10 01:43:22 1997 Assar Westerlund * lib/asn1/gen.c: reduced generated code by 1/5 * lib/asn1/der_put.c: (der_put_length_and_tag): new function * lib/asn1/der_get.c (der_match_tag_and_length): new function * lib/asn1/der.h: added prototypes Mon Mar 10 01:15:43 1997 Johan Danielsson * lib/krb5/krb5.h: Include . Add prototype for krb5_rd_req_with_keyblock. * lib/krb5/rd_req.c: Add function krb5_rd_req_with_keyblock that takes a precomputed keyblock. * lib/krb5/get_cred.c: Use krb5_mk_req rather than inlined code. * lib/krb5/mk_req.c: Calculate checksum of in_data. Sun Mar 9 21:17:58 1997 Johan Danielsson * lib/krb5/error/compile_et.awk: Add a declaration of struct error_list, and multiple inclusion block to header files. Sun Mar 9 21:01:12 1997 Assar Westerlund * lib/krb5/rd_req.c: do some checks on times * lib/krb/{mk_priv.c, rd_priv.c, sendauth.c, decrypt.c, address.c}: new files * lib/krb5/auth_context.c: more code * configure.in: try to figure out timezone Sat Mar 8 11:41:07 1997 Johan Danielsson * lib/krb5/error/error.c: Try strerror if error code wasn't found. * lib/krb5/get_in_tkt.c: Remove realm parameter from krb5_get_salt. * lib/krb5/context.c: Initialize error table. * kdc: The beginnings of a kdc. Sat Mar 8 08:16:28 1997 Assar Westerlund * lib/krb5/rd_safe.c: new file * lib/krb5/checksum.c (krb5_verify_checksum): New function * lib/krb5/get_cred.c: use krb5_create_checksum * lib/krb5/checksum.c: new file * lib/krb5/store.c: no more arithmetic with void* * lib/krb5/cache.c: now seems to work again Sat Mar 8 06:58:09 1997 Johan Danielsson * lib/krb5/Makefile.am: Add asn1_glue.c and error/*.c to libkrb5. * lib/krb5/get_in_tkt.c: Moved some functions to asn1_glue.c. * lib/krb5/asn1_glue.c: Moved some asn1-stuff here. * lib/krb5/{cache,keytab}.c: Use new storage functions. * lib/krb5/krb5.h: Protypes for new storage functions. * lib/krb5/krb5.h: Make krb5_{ret,store}_* functions able to write data to more than file descriptors. Sat Mar 8 01:01:17 1997 Assar Westerlund * lib/krb5/encrypt.c: New file. * lib/krb5/Makefile.am: More -I * configure.in: Test for big endian, random, rand, setitimer * lib/asn1/gen.c: perhaps even decodes bitstrings Thu Mar 6 19:05:29 1997 Johan Danielsson * lib/krb5/config_file.y: Better return values on error. Sat Feb 8 15:59:56 1997 Assar Westerlund * lib/asn1/parse.y: ifdef HAVE_STRDUP * lib/asn1/lex.l: ifdef strdup brange-dead version of list of special characters to make stupid lex accept it. * lib/asn1/gen.c: A DER integer should really be a `unsigned' * lib/asn1/der_put.c: A DER integer should really be a `unsigned' * lib/asn1/der_get.c: A DER integer should really be a `unsigned' * lib/krb5/error/Makefile.am: It seems "$(SHELL) ./compile_et" is needed. * lib/krb/mk_rep.c, lib/krb/rd_req.c, lib/krb/store.c, lib/krb/store.h: new files. * lib/krb5/keytab.c: now even with some functionality. * lib/asn1/gen.c: changed paramater from void * to Foo * * lib/asn1/der_get.c (der_get_octet_string): Fixed bug with empty string. Sun Jan 19 06:17:39 1997 Assar Westerlund * lib/krb5/get_cred.c (krb5_get_credentials): Check for creds in cc before getting new ones. * lib/krb5/krb5.h (krb5_free_keyblock): Fix prototype. * lib/krb5/build_auth.c (krb5_build_authenticator): It seems the CRC should be stored LSW first. (?) * lib/krb5/auth_context.c: Implement `krb5_auth_con_getkey' and `krb5_free_keyblock' * lib/**/Makefile.am: Rename foo libfoo.a * include/Makefile.in: Use test instead of [ -e does not work with /bin/sh on psoriasis * configure.in: Search for awk create lib/krb/error/compile_et Tue Jan 14 03:46:26 1997 Assar Westerlund * lib/krb5/Makefile.am: replaced mit-crc.c by crc.c Wed Dec 18 00:53:55 1996 Johan Danielsson * kuser/kinit.c: Guess principal. * lib/krb5/error/compile_et.awk: Don't include krb5.h. Fix some warnings. * lib/krb5/error/asn1_err.et: Add ASN.1 error messages. * lib/krb5/mk_req.c: Get client from cache. * lib/krb5/cache.c: Add better error checking some useful return values. * lib/krb5/krb5.h: Fix krb5_auth_context. * lib/asn1/der.h: Make krb5_data compatible with krb5.h Tue Dec 17 01:32:36 1996 Johan Danielsson * lib/krb5/error: Add primitive error library. Mon Dec 16 16:30:20 1996 Johan Danielsson * lib/krb5/cache.c: Get correct address type from cache. * lib/krb5/krb5.h: Change int16 to int to be compatible with asn1.