summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * md5crypto.c md5glue.c:Richard Basch1996-05-154-2/+16
| | | | | | | | ensure the cksum content length is sufficient. * t_cksum.c: initialize cksum.length git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8025 dc483132-0cff-0310-8789-dd5450dbe970
* * md4crypto.c md4glue.c:Richard Basch1996-05-153-1/+11
| | | | | | ensure the cksum content length is sufficient git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8024 dc483132-0cff-0310-8789-dd5450dbe970
* * des_int.h: the cs_entry routines in cbc_cksum.c are now staticRichard Basch1996-05-155-60/+36
| | | | | | | | | | | | * Makefile.in: removed cs_entry.c * cbc_cksum.c: caller is responsible for allocating cksum->contents and indicate the allocated amount in cksum->length. the cs_entry routines are now static and the cs_entry structure is now in this file to enforce proper use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8023 dc483132-0cff-0310-8789-dd5450dbe970
* crc.c: ensure the cksum length is sufficientRichard Basch1996-05-153-4/+14
| | | | | | crc-test.c: set the cksum length field git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8022 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_req_ext.c mk_safe.c send_tgs.c:Richard Basch1996-05-155-28/+37
| | | | | | | | | set the length field of the krb5_checksum structure before calling krb5_calculate_checksum. * str_conv.c: replaced sha-des3 cksum with hmac-sha. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8021 dc483132-0cff-0310-8789-dd5450dbe970
* replaced CKSUMTYPE_SHA_DES3 with CKSUMTYPE_HMAC_SHARichard Basch1996-05-152-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8020 dc483132-0cff-0310-8789-dd5450dbe970
* Remove old, outdated libraryTheodore Tso1996-05-1428-3056/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8019 dc483132-0cff-0310-8789-dd5450dbe970
* Change call to krb5_auth_con_setcksumtype to useTheodore Tso1996-05-142-1/+7
| | | | | | krb5_auth_con_set_req_cksumtype by default instead. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8018 dc483132-0cff-0310-8789-dd5450dbe970
* ser_ctx.c (krb5_context_size, krb5_context_externalize,Theodore Tso1996-05-148-208/+403
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | krb5_context_internalize): Add missing fields from the serialized context: clockskew, default_kdc_req_sumtype, default_ap_req_sumtype, default_safe_sumtype, kdc_default_options, library_options, profile_secure, fcc_default_format, scc_default_format. ser_actx.c (krb5_auth_context_size, krb5_auth_context_externalize, krb5_auth_context_internalize): Serialize the two fields req_cksumtype and safe_cksumtype, instead of the one cksumtype field. mk_safe.c (krb_mk_safe): Use safe_cksumtype instead of cksumtype in the auth context. mk_req_ext.c (krb5_mk_req_extended): Use req_cksumtype instead of cksumtype in the auth context. init_ctx.c (krb5_init_context): Add support for new profile relations libdefaults/tkt_lifetime, libdefaults/kdc_req_checksum_type, libdefaults/ap_req_cksumtype, libdefaults/safe_checksumtype, and libdefaults/kdc_default_options. auth_con.h: Remove old cksumtype element, and replace it with req_cksumtype and safe_cksumtype. auth_con.c (krb5_auth_con_init): Initialize the req_cksumtype and safe_cksumtype from the context's default req_cksumtype and safe_cksumtype. (krb5_auth_con_set_req_cksumtype, krb5_auth_con_set_safe_cksumtype): New functions, to replace old krb5_auth_con_setcksumtype git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8017 dc483132-0cff-0310-8789-dd5450dbe970
* k5-int.h: Added new field values for ap_req_sumtype and safe_sumtype.Theodore Tso1996-05-143-1/+24
| | | | | | | | | | | Added new convenience function for verifying magic numbers: KRB5_VERIFY_MAGIC. krb5.hin (krb5_auth_con_set_req_cksumtype, rb5_auth_con_set_safe_cksumtype): Added prototypes of new functions, to replace old krb5_auth_con_setcksumtype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8016 dc483132-0cff-0310-8789-dd5450dbe970
* Change the default ticket lifetime to something reasonable (10 hours,Theodore Tso1996-05-142-1/+7
| | | | | | | instead of 10 minutes). Also change the label of this parameter to be tkt_lifetime. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8015 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_LIBS): For shared library, add dependency onEzra Peisach1996-05-133-2/+13
| | | | | | | | | libkrb5.so * configure.in (CRYPTO_SH_VERS): Pass krb5 shared library version to Makefile. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8014 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in heuristic.c:Richard Basch1996-05-134-866/+853
| | | | | | | | | | | | | Change the euid before opening the source ccache, so we don't use someone else's ccache. authorization.c: users only in /.k5login were not permitted to use the '-e cmd' feature. The man page does not indicate that this should not be permitted... Also, lots of indentation cleanup was done... I couldn't read the code before. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8013 dc483132-0cff-0310-8789-dd5450dbe970
* Back out change to libupdate.sh.Ezra Peisach1996-05-122-6/+1
| | | | | | | | The problem is that for directories containing multiple subdirs, the current procedure is to do a foreach and invoke libupdate --force for each one. This is broken as it caused the library to be removed each time. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8012 dc483132-0cff-0310-8789-dd5450dbe970
* When invoked with --force, do not use variable before being setEzra Peisach1996-05-112-1/+6
| | | | | | NetBSD complained about trying to use the command "rm -f" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7980 dc483132-0cff-0310-8789-dd5450dbe970
* Copy sizeof(mit_des_cblock), not sizeof(key) so that we are getting theRichard Basch1996-05-112-1/+6
| | | | | | full DES key. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7979 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Need to include sys/types.h before regexp.h in test toEzra Peisach1996-05-112-0/+8
| | | | | | | | see if regcomp works. NetBSD required this so that size_t is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7978 dc483132-0cff-0310-8789-dd5450dbe970
* removed des3-cbc-md5 supportRichard Basch1996-05-102-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7977 dc483132-0cff-0310-8789-dd5450dbe970
* * shs.c (longReverse): Remove extraneous \.Ezra Peisach1996-05-102-3/+8
| | | | | | (expand): Start #define in first column. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7976 dc483132-0cff-0310-8789-dd5450dbe970
* added des3_raw.c and sha..Richard Basch1996-05-101-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7975 dc483132-0cff-0310-8789-dd5450dbe970
* replaced des3_md5.c with des3_sha.cRichard Basch1996-05-101-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7974 dc483132-0cff-0310-8789-dd5450dbe970
* removed des3-md5 support (replaced with des3-sha)Richard Basch1996-05-102-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7973 dc483132-0cff-0310-8789-dd5450dbe970
* replaced des3-md5 with des3-shaRichard Basch1996-05-103-2/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7972 dc483132-0cff-0310-8789-dd5450dbe970
* Removed des3-md5 supportRichard Basch1996-05-102-4/+14
| | | | | | Added support for sha cksum types and des3-sha. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7971 dc483132-0cff-0310-8789-dd5450dbe970
* Replaced des3-md5 with des3-sha (also added sha cksumtype)Richard Basch1996-05-103-5/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7970 dc483132-0cff-0310-8789-dd5450dbe970
* Obsolete file (replaced des3-md5 with des3-sha)Richard Basch1996-05-101-173/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7969 dc483132-0cff-0310-8789-dd5450dbe970
* Replaced des3-md5 with des3-shaRichard Basch1996-05-104-19/+221
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7968 dc483132-0cff-0310-8789-dd5450dbe970
* Replace des3-md5 with des3-shaRichard Basch1996-05-105-4/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7967 dc483132-0cff-0310-8789-dd5450dbe970
* NIST-SHA supportRichard Basch1996-05-1010-0/+890
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7966 dc483132-0cff-0310-8789-dd5450dbe970
* add new function ovsec_kadm_flushBarry Jaspan1996-05-091-0/+26
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7964 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unused fileTheodore Tso1996-05-091-30/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7956 dc483132-0cff-0310-8789-dd5450dbe970
* Better handling of the principal max_life..Richard Basch1996-05-092-8/+28
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7952 dc483132-0cff-0310-8789-dd5450dbe970
* krlogind.c krshd.c:Richard Basch1996-05-094-1/+63
| | | | | | | | | Use the default service principal as the basis for the rcache name. login.c: SVR4 systems typically do not do mail/motd checks in login; they do it in the profiles (/etc/profile). Follow that convention... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7951 dc483132-0cff-0310-8789-dd5450dbe970
* Use the default service principal (don't assume it is "host") as theRichard Basch1996-05-092-1/+6
| | | | | | basis for the replay cache name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7950 dc483132-0cff-0310-8789-dd5450dbe970
* Don't skip keytab entries with kvno=0Richard Basch1996-05-092-6/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7949 dc483132-0cff-0310-8789-dd5450dbe970
* convert has been removedEzra Peisach1996-05-081-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7946 dc483132-0cff-0310-8789-dd5450dbe970
* Removing unbuilt directory from source tree. The functionality wasEzra Peisach1996-05-087-1251/+0
| | | | | | merged with kdb5_edit August 1995. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7944 dc483132-0cff-0310-8789-dd5450dbe970
* des425 needs to be compiled after krb5 as des425 depends on krb5_free_keyblockEzra Peisach1996-05-082-1/+5
| | | | | | Turns out that link order in aclocal.m4 already assumed this. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7924 dc483132-0cff-0310-8789-dd5450dbe970
* Handle compiling with BERK_DB without dbm available. (Linux whenEzra Peisach1996-05-072-0/+13
| | | | | | the option --with-kdb-db=db) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7923 dc483132-0cff-0310-8789-dd5450dbe970
* Don't do more than the necessary encryptions for a single cblock lengthRichard Basch1996-05-071-4/+5
| | | | | | | random key. Only the larger cblocks need a second wrap-around cbc encrypt to prevent leaking a codebook. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7922 dc483132-0cff-0310-8789-dd5450dbe970
* We are providing 3des routines in libcrypto..Richard Basch1996-05-072-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7921 dc483132-0cff-0310-8789-dd5450dbe970
* Somehow I missed this file during my previous checkin... New 3des randomRichard Basch1996-05-071-15/+121
| | | | | | function support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7920 dc483132-0cff-0310-8789-dd5450dbe970
* Mark's changes for ticket validationKen Raeburn1996-05-072-2/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7918 dc483132-0cff-0310-8789-dd5450dbe970
* Pass the eblock to the init_random_key and finish_random_key functionsRichard Basch1996-05-072-5/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7914 dc483132-0cff-0310-8789-dd5450dbe970
* Use the revamped random number routinesRichard Basch1996-05-073-34/+63
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7913 dc483132-0cff-0310-8789-dd5450dbe970
* Use the new 3des random number generatorRichard Basch1996-05-073-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7912 dc483132-0cff-0310-8789-dd5450dbe970
* New DES random number generation. For regular DES, it is nearly equivalentRichard Basch1996-05-078-338/+261
| | | | | | | | | (an extra DES encryption now happens). For 3des, it is a substantially better setup (the original one was a placeholder); it may not be the final one, but at least it is not as weak as the previous version. (This checkin does not include the proposed API changes.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7911 dc483132-0cff-0310-8789-dd5450dbe970
* (clean-unix): Remove libgssapi_krb5.stampEzra Peisach1996-05-072-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7909 dc483132-0cff-0310-8789-dd5450dbe970
* Use a wrapper script for the rcp started from kshd. This change cleans up theEzra Peisach1996-05-072-10/+12
| | | | | | test as written. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7908 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed the abstraction violation, where the code knew the details about theRichard Basch1996-05-066-36/+43
| | | | | | cryptosystem structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7907 dc483132-0cff-0310-8789-dd5450dbe970