Commit Graph

12512 Commits

Author SHA1 Message Date
Johan Danielsson
6a621def0e document appdefaults/{forward,encrypt}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-04 14:30:04 +00:00
Johan Danielsson
e264c26f0c (doit): remove leftover sockets
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-04 13:42:05 +00:00
Love Hörnquist Åstrand
e7f2346d0c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-04 06:23:23 +00:00
Love Hörnquist Åstrand
9c604bf8c2 add SAM types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-04 05:37:17 +00:00
Love Hörnquist Åstrand
646ee1b761 break out the encrypt timestamp preauth to its function
break out the pa_data_to_key_plain to its own function
make more variables const


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12766 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-04 05:30:48 +00:00
Love Hörnquist Åstrand
e44d866589 s/des_read_pw_string/UI_UTIL_read_pw_string/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12765 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-04 01:14:12 +00:00
Johan Danielsson
a05b82b0e5 use $DATEDVERSION as version number
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 15:56:27 +00:00
Love Hörnquist Åstrand
612ba5c47a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 11:55:08 +00:00
Love Hörnquist Åstrand
3cd7e6c162 Add key usage for encryption of the SAM-NONCE-OR-SAD field.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 11:53:25 +00:00
Love Hörnquist Åstrand
b6b6ef861a use new DES_ api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 11:48:53 +00:00
Love Hörnquist Åstrand
4a7a8019a7 include <openssl/ui.h> in the openssl case
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 11:48:20 +00:00
Love Hörnquist Åstrand
8b66e46474 s/des_read_pw_string/UI_UTIL_read_pw_string/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12759 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 11:47:30 +00:00
Love Hörnquist Åstrand
ce72892e20 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 11:11:20 +00:00
Love Hörnquist Åstrand
eac04f34dc assume session key is a char array of length 8
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 11:11:07 +00:00
Love Hörnquist Åstrand
bf6845d115 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:38:40 +00:00
Love Hörnquist Åstrand
ca12cabf2f check for DES_, AES_, and if openssl UI_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:38:26 +00:00
Love Hörnquist Åstrand
03f9a30177 use new DES_ api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12754 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:37:27 +00:00
Love Hörnquist Åstrand
54fc57ccb5 s/des_read_pw_string/UI_UTIL_read_pw_string/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:37:03 +00:00
Love Hörnquist Åstrand
33efaf1f26 switch from the des_ to the DES_ api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:29:36 +00:00
Love Hörnquist Åstrand
efb37e15c6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:27:55 +00:00
Love Hörnquist Åstrand
70a309f60b (MD4_Final): make the function threadsafe by removing static on the
local variable zeros


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:27:42 +00:00
Love Hörnquist Åstrand
c9681ae897 (MD5_Final): make the function threadsafe by removing static on the
local variable zeros


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:27:16 +00:00
Love Hörnquist Åstrand
49e0243cc5 switch to the DES_ api, dont provide any compat glue
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:26:03 +00:00
Love Hörnquist Åstrand
992f32ca35 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 08:42:04 +00:00
Love Hörnquist Åstrand
6cdb4003eb EC is not included in the checksum since the length might change
depending on the data.
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 08:36:57 +00:00
Love Hörnquist Åstrand
3779c3d612 use DES_KEY_SZ instead of sizeof(des_block)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 03:12:32 +00:00
Love Hörnquist Åstrand
74967d603a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12744 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:59:12 +00:00
Love Hörnquist Åstrand
1ce5a9d550 (krb5_to4): set client princ of the mcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:58:08 +00:00
Love Hörnquist Åstrand
6caf92684d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:47:00 +00:00
Love Hörnquist Åstrand
06bf61ec4a add and enable check program default_keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:46:50 +00:00
Love Hörnquist Åstrand
c92c24750f test program for _kadm5_generate_key_set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:46:17 +00:00
Love Hörnquist Åstrand
eb6fcf70a4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:43:03 +00:00
Love Hörnquist Åstrand
9f96a0e10d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:31:52 +00:00
Love Hörnquist Åstrand
61e14619de use krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:31:42 +00:00
Love Hörnquist Åstrand
f287772b22 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12736 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:23:34 +00:00
Love Hörnquist Åstrand
d1bbbff72f use krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
compare a uint32_t with 0xffffffff instead of -1


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:17:09 +00:00
Love Hörnquist Åstrand
0d372b0a5b fix [Gt]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:13:07 +00:00
Love Hörnquist Åstrand
ae9f3656f7 use krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:45:38 +00:00
Love Hörnquist Åstrand
eb2c032414 (krb5_get_init_creds_password): handle password passed in though context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:41:34 +00:00
Love Hörnquist Åstrand
90b82c4533 (TESTS): += test_config
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:21:23 +00:00
Love Hörnquist Åstrand
1752eb97e0 move variable thats used within a #ifdef to be defined within that #ifdef
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:20:46 +00:00
Love Hörnquist Åstrand
9582b9fe1a (krb5_data_free): reset whole krb5_data when freeing it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:19:17 +00:00
Love Hörnquist Åstrand
70efc47aa7 (krb5_keyblock_zero): new function, zeros out a keyblock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:17:59 +00:00
Love Hörnquist Åstrand
aa3701f551 rewrite/implement krb5_get_init_creds_password with new preauth
handing, still it can only work with krb5-pa-enc-timestamp for
preauth, but now it can handle etype-info2


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:17:08 +00:00
Love Hörnquist Åstrand
ca9d0c8062 (krb5_get_init_creds_opt_alloc): allocate a opt structure
(krb5_get_init_creds_opt_free): free a opt structure
(krb5_get_init_creds_opt_set_pa_password): set preauth info for enc-timestamp


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:12:54 +00:00
Love Hörnquist Åstrand
3400abc1ef add struct _krb5_get_init_creds_opt_private
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:11:17 +00:00
Love Hörnquist Åstrand
a14f0b93c3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 20:52:27 +00:00
Love Hörnquist Åstrand
24b09630d3 add SAM keyusage numbers
add s2k proc typedef
add a pointer to a private part of krb5_get_init_creds_opt


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 20:51:48 +00:00
Love Hörnquist Åstrand
378d92a693 (main): avoid const warning by using a extra variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 03:01:58 +00:00
Love Hörnquist Åstrand
0b7b55471d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 02:50:43 +00:00