Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/crypto/dist/heimdal Pull up revision 1.1 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/203aa0ae15ef
branches:  netbsd-1-5
changeset: 491142:203aa0ae15ef
user:      he <he%NetBSD.org@localhost>
date:      Thu Apr 05 23:24:26 2001 +0000

description:
Pull up revision 1.1 (requested by assar):
  Upgrade Heimdal to version 0.3e.

diffstat:

 crypto/dist/heimdal/ChangeLog.1998                                                         |  3201 ++++
 crypto/dist/heimdal/ChangeLog.1999                                                         |  2194 +++
 crypto/dist/heimdal/ChangeLog.2000                                                         |  1320 +
 crypto/dist/heimdal/README                                                                 |    19 +
 crypto/dist/heimdal/appl/login/env.c                                                       |    98 +
 crypto/dist/heimdal/appl/otp/otp.1                                                         |    60 +
 crypto/dist/heimdal/appl/otp/otpprint.1                                                    |    53 +
 crypto/dist/heimdal/appl/rcp/ChangeLog                                                     |    29 +
 crypto/dist/heimdal/appl/rcp/Makefile.am                                                   |    11 +
 crypto/dist/heimdal/appl/rcp/Makefile.in                                                   |   559 +
 crypto/dist/heimdal/appl/rcp/extern.h                                                      |    51 +
 crypto/dist/heimdal/appl/rcp/rcp.c                                                         |   807 +
 crypto/dist/heimdal/appl/rcp/rcp_locl.h                                                    |    64 +
 crypto/dist/heimdal/appl/rcp/util.c                                                        |   165 +
 crypto/dist/heimdal/appl/xnlock/xnlock.1                                                   |   123 +
 crypto/dist/heimdal/cf/broken-getnameinfo.m4                                               |    28 +
 crypto/dist/heimdal/cf/broken-realloc.m4                                                   |    26 +
 crypto/dist/heimdal/cf/broken2.m4                                                          |    35 +
 crypto/dist/heimdal/cf/db.m4                                                               |    40 +
 crypto/dist/heimdal/cf/install-catman.sh                                                   |    25 +
 crypto/dist/heimdal/cf/krb-irix.m4                                                         |    12 +
 crypto/dist/heimdal/cf/retsigtype.m4                                                       |    18 +
 crypto/dist/heimdal/cf/roken.m4                                                            |    64 +
 crypto/dist/heimdal/doc/migration.texi                                                     |    43 +
 crypto/dist/heimdal/doc/standardisation/draft-brezak-win2k-krb-rc4-hmac-02.txt             |     5 +
 crypto/dist/heimdal/doc/standardisation/draft-brezak-win2k-krb-rc4-hmac-03.txt             |   587 +
 crypto/dist/heimdal/doc/standardisation/draft-hornstein-dhc-kerbauth-02.txt                |  1594 ++
 crypto/dist/heimdal/doc/standardisation/draft-ietf-cat-iakerb-04.txt                       |   301 +
 crypto/dist/heimdal/doc/standardisation/draft-ietf-cat-kerberos-pk-init-12.txt             |  1080 +
 crypto/dist/heimdal/doc/standardisation/draft-ietf-cat-kerberos-pk-tapp-03.txt             |   378 +
 crypto/dist/heimdal/doc/standardisation/draft-ietf-cat-kerberos-revisions-06.txt           |  7301 ++++++++++
 crypto/dist/heimdal/doc/standardisation/draft-raeburn-cat-gssapi-krb5-3des-00.txt          |   281 +
 crypto/dist/heimdal/doc/standardisation/draft-raeburn-krb-gssapi-krb5-3des-01.txt          |   395 +
 crypto/dist/heimdal/doc/standardisation/draft-smedvinsky-dhc-kerbauth-01.txt               |   929 +
 crypto/dist/heimdal/doc/standardisation/draft-swift-win2k-krb-referrals-01.txt             |     5 +
 crypto/dist/heimdal/doc/standardisation/draft-swift-win2k-krb-user2user-01.txt             |     5 +
 crypto/dist/heimdal/doc/standardisation/draft-thomas-snmpv3-kerbusm-00.txt                 |  1140 +
 crypto/dist/heimdal/doc/standardisation/draft-trostle-win2k-cat-kerberos-set-passwd-00.txt |   227 +
 crypto/dist/heimdal/doc/standardisation/draft-tso-telnet-krb5-04.txt                       |   327 +
 crypto/dist/heimdal/doc/standardisation/rc4-hmac.txt                                       |   587 +
 crypto/dist/heimdal/kadmin/kadmind.8                                                       |   133 +
 crypto/dist/heimdal/lib/com_err/lex.h                                                      |    39 +
 crypto/dist/heimdal/lib/gssapi/address_to_krb5addr.c                                       |    75 +
 crypto/dist/heimdal/lib/gssapi/copy_ccache.c                                               |    56 +
 crypto/dist/heimdal/lib/kadm5/bump_pw_expire.c                                             |    59 +
 crypto/dist/heimdal/lib/kadm5/kadm5-private.h                                              |   245 +
 crypto/dist/heimdal/lib/kadm5/kadm5-protos.h                                               |   516 +
 crypto/dist/heimdal/lib/kadm5/keys.c                                                       |   112 +
 crypto/dist/heimdal/lib/kadm5/truncate_log.c                                               |    88 +
 crypto/dist/heimdal/lib/krb5/acl.c                                                         |   189 +
 crypto/dist/heimdal/lib/krb5/eai_to_heim_errno.c                                           |    69 +
 crypto/dist/heimdal/lib/krb5/krb5_auth_context.3                                           |   284 +
 crypto/dist/heimdal/lib/krb5/krb5_config.3                                                 |    71 +
 crypto/dist/heimdal/lib/krb5/krb5_context.3                                                |    20 +
 crypto/dist/heimdal/lib/krb5/krb5_init_context.3                                           |    38 +
 crypto/dist/heimdal/lib/roken/acconfig.h                                                   |    36 +
 crypto/dist/heimdal/lib/roken/acinclude.m4                                                 |     9 +
 crypto/dist/heimdal/lib/roken/config.h.in                                                  |     1 +
 crypto/dist/heimdal/lib/roken/environment.c                                                |   103 +
 crypto/dist/heimdal/lib/roken/err.hin                                                      |    68 +
 crypto/dist/heimdal/lib/roken/esetenv.c                                                    |    48 +
 crypto/dist/heimdal/lib/roken/fnmatch.hin                                                  |    49 +
 crypto/dist/heimdal/lib/roken/getifaddrs.c                                                 |   271 +
 crypto/dist/heimdal/lib/roken/glob.hin                                                     |    84 +
 crypto/dist/heimdal/lib/roken/ifaddrs.hin                                                  |    64 +
 crypto/dist/heimdal/lib/roken/install-sh                                                   |   251 +
 crypto/dist/heimdal/lib/roken/missing                                                      |   190 +
 crypto/dist/heimdal/lib/roken/mkinstalldirs                                                |    40 +
 crypto/dist/heimdal/lib/roken/rtbl.c                                                       |   278 +
 crypto/dist/heimdal/lib/roken/rtbl.h                                                       |    57 +
 crypto/dist/heimdal/lib/roken/strsep_copy.c                                                |    67 +
 crypto/dist/heimdal/lib/roken/unvis.c                                                      |   288 +
 crypto/dist/heimdal/lib/roken/vis.c                                                        |   301 +
 crypto/dist/heimdal/lib/roken/vis.hin                                                      |    86 +
 crypto/dist/heimdal/lib/vers/make-print-version.c                                          |    68 +
 crypto/dist/heimdal/lib/vers/print_version.c                                               |    78 +
 crypto/dist/heimdal/lib/vers/vers.h                                                        |    41 +
 crypto/dist/heimdal/tools/Makefile.am                                                      |    25 +
 crypto/dist/heimdal/tools/Makefile.in                                                      |   524 +
 crypto/dist/heimdal/tools/krb5-config.1                                                    |    60 +
 crypto/dist/heimdal/tools/krb5-config.in                                                   |   110 +
 81 files changed, 29378 insertions(+), 0 deletions(-)

diffs (truncated from 29708 to 300 lines):

diff -r a98adb817cc1 -r 203aa0ae15ef crypto/dist/heimdal/ChangeLog.1998
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/dist/heimdal/ChangeLog.1998        Thu Apr 05 23:24:26 2001 +0000
@@ -0,0 +1,3201 @@
+Sat Dec  5 19:49:34 1998  Johan Danielsson  <joda%hella.pdc.kth.se@localhost>
+
+       * lib/krb5/context.c: remove ktype_is_etype
+
+       * lib/krb5/crypto.c, lib/krb5/krb5.h, acconfig.h: NEW_DES3_CODE
+
+       * configure.in: fix for AIX install; better tests for AIX dynamic
+       AFS libs; `--enable-new-des3-code'
+
+Tue Dec  1 14:44:44 1998  Johan Danielsson  <joda%hella.pdc.kth.se@localhost>
+
+       * appl/afsutil/Makefile.am: link with extra libs for aix
+
+       * kuser/Makefile.am: link with extra libs for aix
+
+Sun Nov 29 01:56:21 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * lib/krb5/get_addrs.c (krb5_get_all_server_addrs): add.  almost
+       the same as krb5_get_all_client_addrs except that it includes
+       loopback addresses
+
+       * kdc/connect.c (init_socket): bind to a particular address
+       (init_sockets): get all local addresses and bind to them all
+
+       * lib/krb5/addr_families.c (addr2sockaddr, print_addr): new
+       methods
+       (find_af, find_atype): new functions.  use them.
+
+       * configure.in: add hesiod
+
+Wed Nov 25 11:37:48 1998  Johan Danielsson  <joda%hella.pdc.kth.se@localhost>
+
+       * lib/krb5/krb5_err.et: add some codes from kerberos-revisions-03
+
+Mon Nov 23 12:53:48 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * lib/kadm5/log.c: rename delete -> remove
+
+       * lib/kadm5/delete_s.c: rename delete -> remove
+
+       * lib/hdb/common.c: rename delete -> remove
+
+Sun Nov 22 12:26:26 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * configure.in: check for environ and `struct spwd'
+
+Sun Nov 22 11:42:45 1998  Johan Danielsson  <joda%blubb.pdc.kth.se@localhost>
+
+       * kdc/kerberos5.c (as_rep): set keytype to sess_ktype if
+       ktype_is_etype
+
+       * lib/krb5/encrypt.c (krb5_keytype_to_etypes): zero terminate
+       etypes
+       (em): sort entries
+
+Sun Nov 22 06:54:48 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * lib/krb5/init_creds_pw.c: more type correctness
+
+       * lib/krb5/get_cred.c: re-structure code.  remove limits on ASN1
+       generated bits.
+
+Sun Nov 22 01:49:50 1998  Johan Danielsson  <joda%hella.pdc.kth.se@localhost>
+
+       * kdc/hprop.c (v4_prop): fix bogus indexing
+
+Sat Nov 21 21:39:20 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * lib/krb5/verify_init.c (fail_verify_is_ok): new function
+       (krb5_verify_init_creds): if we cannot get a ticket for
+       host/`hostname` and fail_verify_is_ok just return.  use
+       krb5_rd_req
+
+Sat Nov 21 23:12:27 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * lib/krb5/free.c (krb5_xfree): new function
+
+       * lib/krb5/creds.c (krb5_free_creds_contents): new function
+
+       * lib/krb5/context.c: more type correctness
+
+       * lib/krb5/checksum.c: more type correctness
+
+       * lib/krb5/auth_context.c (krb5_auth_con_init): more type
+       correctness
+
+       * lib/asn1/der_get.c (der_get_length): fix test of len
+       (der_get_tag): more type correctness
+
+       * kuser/klist.c (usage): void-ize
+
+       * admin/ktutil.c (kt_remove): some more type correctness.
+
+Sat Nov 21 16:49:20 1998  Johan Danielsson  <joda%hella.pdc.kth.se@localhost>
+
+       * kuser/klist.c: try to list enctypes as keytypes
+
+       * kuser/kinit.c: remove extra `--cache' option, add `--enctypes'
+       to set list of enctypes to use
+
+       * kadmin/load.c: load strings as hex
+
+       * kadmin/dump.c: dump hex as string is possible
+
+       * admin/ktutil.c: use print_version()
+
+       * configure.in, acconfig.h: test for hesiod
+
+Sun Nov 15 17:28:19 1998  Johan Danielsson  <joda%hella.pdc.kth.se@localhost>
+
+       * lib/krb5/crypto.c: add some crypto debug code
+
+       * lib/krb5/get_in_tkt.c (_krb5_extract_ticket): don't use fixed
+       buffer when encoding ticket
+
+       * lib/krb5/auth_context.c (re-)implement `krb5_auth_setenctype'
+
+       * kdc/kerberos5.c: allow mis-match of tgt session key, and service
+       session key
+
+       * admin/ktutil.c: keytype -> enctype
+
+Fri Nov 13 05:35:48 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * lib/krb5/krb5.h (KRB5_TGS_NAME, KRB5_TGS_NAME_SIZE): added
+       
+Sat Nov  7 19:56:31 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * lib/krb5/get_cred.c (add_cred): add termination NULL pointer
+
+Mon Nov  2 01:15:06 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * lib/krb5/rd_req.c: adapt to new crypto api
+
+       * lib/krb5/rd_rep.c: adapt to new crypto api
+
+       * lib/krb5/rd_priv.c: adopt to new crypto api
+
+       * lib/krb5/rd_cred.c: adopt to new crypto api
+
+       * lib/krb5/principal.c: ENOMEM -> ERANGE
+
+       * lib/krb5/mk_safe.c: cleanup and adopt to new crypto api
+
+       * lib/krb5/mk_req_ext.c: adopt to new crypto api
+
+       * lib/krb5/mk_req.c: get enctype from auth_context keyblock
+
+       * lib/krb5/mk_rep.c: cleanup and adopt to new crypto api
+
+       * lib/krb5/mk_priv.c: adopt to new crypto api
+
+       * lib/krb5/keytab.c: adopt to new crypto api
+
+       * lib/krb5/get_in_tkt_with_skey.c: adopt to new crypto api
+
+       * lib/krb5/get_in_tkt_with_keytab.c: adopt to new crypto api
+
+       * lib/krb5/get_in_tkt_pw.c: adopt to new crypto api
+
+       * lib/krb5/get_in_tkt.c: adopt to new crypto api
+
+       * lib/krb5/get_cred.c: adopt to new crypto api
+
+       * lib/krb5/generate_subkey.c: use new crypto api
+
+       * lib/krb5/context.c: rename etype functions to enctype ditto
+
+       * lib/krb5/build_auth.c: use new crypto api
+
+       * lib/krb5/auth_context.c: remove enctype and cksumtype from
+       auth_context
+
+Mon Nov  2 01:15:06 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * kdc/connect.c (handle_udp, handle_tcp): correct type of `n'
+
+Tue Sep 15 18:41:38 1998  Johan Danielsson  <joda%hella.pdc.kth.se@localhost>
+
+       * admin/ktutil.c: fix printing of unrecognized keytypes
+
+Tue Sep 15 17:02:33 1998  Johan Danielsson  <joda%hella.pdc.kth.se@localhost>
+
+       * lib/kadm5/set_keys.c: add KEYTYPE_USE_AFS3_SALT to keytype if
+       using AFS3 salt
+
+Tue Aug 25 23:30:52 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * lib/krb5/send_to_kdc.c (krb5_sendto_kdc): care about
+       `use_admin_kdc'
+
+       * lib/krb5/changepw.c (get_kdc_address): use
+       krb5_get_krb_admin_hst
+
+       * lib/krb5/krbhst.c (krb5_get_krb_admin_hst): new function
+
+       * lib/krb5/krb5.h (krb5_context_data): add `use_admin_kdc'
+
+       * lib/krb5/context.c (krb5_get_use_admin_kdc,
+       krb5_set_use_admin_kdc): new functions
+
+Tue Aug 18 22:24:12 1998  Johan Danielsson  <joda%emma.pdc.kth.se@localhost>
+
+       * lib/krb5/crypto.c: remove all calls to abort(); check return
+       value from _key_schedule;
+       (RSA_MD[45]_DES_verify): zero tmp and res;
+       (RSA_MD5_DES3_{verify,checksum}): implement
+
+Mon Aug 17 20:18:46 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * kdc/kerberos4.c (swap32): conditionalize
+
+       * lib/krb5/mk_req_ext.c (krb5_mk_req_internal): new function
+
+       * lib/krb5/get_host_realm.c (krb5_get_host_realm): if the hostname
+       returned from gethostby*() isn't a FQDN, try with the original
+       hostname
+
+       * lib/krb5/get_cred.c (make_pa_tgs_req): use krb5_mk_req_internal
+       and correct key usage
+
+       * lib/krb5/crypto.c (verify_checksum): make static
+
+       * admin/ktutil.c (kt_list): use krb5_enctype_to_string
+
+Sun Aug 16 20:57:56 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * kadmin/cpw.c (do_cpw_entry): use asprintf for the prompt
+
+       * kadmin/ank.c (ank): print principal name in prompt
+
+       * lib/krb5/crypto.c (hmac): always allocate space for checksum.
+       never trust c.checksum.length
+       (_get_derived_key): try to return the derived key
+
+Sun Aug 16 19:48:42 1998  Johan Danielsson  <joda%emma.pdc.kth.se@localhost>
+
+       * lib/krb5/crypto.c (hmac): fix some peculiarities and bugs
+       (get_checksum_key): assume usage is `formatted'
+       (create_checksum,verify_checksum): moved the guts of the krb5_*
+       functions here, both take `formatted' key-usages
+       (encrypt_internal_derived): fix various bogosities
+       (derive_key): drop key_type parameter (already given by the
+       encryption_type)
+
+       * kdc/kerberos5.c (check_flags): handle case where client is NULL
+
+       * kdc/connect.c (process_request): return zero after processing
+       kerberos 4 request
+
+Sun Aug 16 18:38:15 1998  Johan Danielsson  <joda%blubb.pdc.kth.se@localhost>
+
+       * lib/krb5/crypto.c: merge x-*.[ch] into one file
+
+       * lib/krb5/cache.c: remove residual from krb5_ccache_data
+
+Fri Aug 14 16:28:23 1998  Johan Danielsson  <joda%emma.pdc.kth.se@localhost>
+
+       * lib/krb5/x-crypto.c (derive_key): move DES3 specific code to
+       separate function (will eventually end up someplace else)
+
+       * lib/krb5/x-crypto.c (krb5_string_to_key_derived): allocate key
+
+       * configure.in, acconfig.h: test for four valued krb_put_int
+
+Thu Aug 13 23:46:29 1998  Assar Westerlund  <assar%emma.pdc.kth.se@localhost>
+
+       * Release 0.0t
+
+Thu Aug 13 22:40:17 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * lib/krb5/config_file.c (parse_binding): remove trailing
+       whitespace
+
+Wed Aug 12 20:15:11 1998  Johan Danielsson  <joda%emma.pdc.kth.se@localhost>
+
+       * lib/krb5/x-checksum.c (krb5_verify_checksum): pass checksum type
+       to krb5_create_checksum
+
+       * lib/krb5/x-key.c: implement DES3_string_to_key_derived; fix a
+       few typos
+
+Wed Aug  5 12:39:54 1998  Assar Westerlund  <assar%emma.pdc.kth.se@localhost>
+
+       * Release 0.0s
+
+Thu Jul 30 23:12:17 1998  Assar Westerlund  <assar%sics.se@localhost>
+
+       * lib/krb5/mk_error.c (krb5_mk_error): realloc until you die
+
+Thu Jul 23 19:49:03 1998  Johan Danielsson  <joda%emma.pdc.kth.se@localhost>
+
+       * kdc/kdc_locl.h: proto for `get_des_key'
+
+       * configure.in: test for four valued el_init
+



Home | Main Index | Thread Index | Old Index