Johan Danielsson
26457b7135
replace krb5_free_creds_contents by krb5_free_cred_contents
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:25:35 +00:00
Love Hörnquist Åstrand
76a580ad8a
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:07:56 +00:00
Love Hörnquist Åstrand
6357f48500
handle non blocksized cbc messages
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:06:51 +00:00
Love Hörnquist Åstrand
234befda59
add AES_cbc_encrypt
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:05:05 +00:00
Johan Danielsson
5eca4bbf39
add krb5_cc_next_cred_match() and krb5_cc_copy_cred_match()
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 17:20:19 +00:00
Johan Danielsson
b24e10c46b
(krb5_compare_creds): add more matching options
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 16:12:04 +00:00
Johan Danielsson
851f04f5e0
add more creds match flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 16:11:37 +00:00
Johan Danielsson
25de2f6777
add --valid-for option
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 16:03:45 +00:00
Love Hörnquist Åstrand
63ac41ecad
use the right oid for pkauthdata
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 15:58:07 +00:00
Love Hörnquist Åstrand
44e0ad43e8
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 15:35:24 +00:00
Love Hörnquist Åstrand
fe0d0505cf
always send both win2k compat version and the ietf draft one, this is
...
possible microsoft since they use wrong/diffrent PA number. Make the
configuration flag boolean configuring if NOT to send the win2k compat
glue.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 15:34:29 +00:00
Johan Danielsson
8791dd6c6e
(krb5_store_creds): set is_skey flag if length of second ticket is > 0
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:54:44 +00:00
Love Hörnquist Åstrand
8eb58824b5
document krb5_{de,en}crypt_ivec
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:50:13 +00:00
Love Hörnquist Åstrand
89f71476cb
pacify mdoclint
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:30:09 +00:00
Love Hörnquist Åstrand
4fa6529707
use IV for envelopeddata encryption, patch originally from Luke Howard
...
<lukeh@padl.com >, tweeked by me.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:29:33 +00:00
Love Hörnquist Åstrand
a7f10685cc
document KRB5_STORAGE_CREDS_FLAGS_WRONG_BITORDER
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:23:24 +00:00
Love Hörnquist Åstrand
8550c8f01f
document that krb5_data_free cleans the structure too
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13774 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:21:16 +00:00
Love Hörnquist Åstrand
2b36497494
use IV for envelopeddata encryption, patch originally from Luke Howard
...
<lukeh@padl.com >, tweeked by me.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:20:07 +00:00
Johan Danielsson
34fa8c9204
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13772 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 22:47:07 +00:00
Johan Danielsson
b96a303522
add cred cache copy tool
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 22:46:08 +00:00
Johan Danielsson
bc8821c0f9
use rk_SYS_LARGEFILE
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 21:54:01 +00:00
Johan Danielsson
381738d7f9
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 21:53:02 +00:00
Johan Danielsson
ef6bd838dc
like AC_SYS_LARGEFILE, but also add to CPPFLAGS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 21:51:32 +00:00
Johan Danielsson
9125cb5647
Fix the cache flags bitorder issue with a storage flag instead of a
...
separate function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 21:17:02 +00:00
Love Hörnquist Åstrand
878240ccc4
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13766 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 16:10:00 +00:00
Love Hörnquist Åstrand
227900ca1c
move out the oid check from get_reply_key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13765 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 16:09:42 +00:00
Love Hörnquist Åstrand
261d6cef84
uniquify error messages
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 15:19:01 +00:00
Love Hörnquist Åstrand
0161e447c4
make the pkinit nonce same os the plain nonce for now
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 15:17:32 +00:00
Love Hörnquist Åstrand
ab0c82c636
more w2k compat from Luke Howard <lukeh@padl.com>
...
add RC2 support, clean up error messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 15:07:39 +00:00
Love Hörnquist Åstrand
1365676e29
remove more dependency on krb5_config->pkinit_flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 13:29:23 +00:00
Love Hörnquist Åstrand
c9aac6c50e
(_krb5_pk_convert_rep): convert microsoft style answer to IETF, From
...
Luke Howard <lukeh@padl.com >
(_krb5_pk_create_sign): ms handles NULL in param, so always send it
(_krb5_pk_mk_padata): look for [realms]REALM = { win2k_pkinit = bool }
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 13:15:01 +00:00
Love Hörnquist Åstrand
76d1e32354
(_krb5_pk_create_sign): always set the digestAlgorithm to sha1 (both
...
for SignerInfo and SignedData, add new function _set_digest_alg to set it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13759 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 12:26:38 +00:00
Love Hörnquist Åstrand
c68ce70373
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 12:09:02 +00:00
Love Hörnquist Åstrand
452afa5916
test vectors from RFC2268
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 12:08:54 +00:00
Love Hörnquist Åstrand
e166f76126
(RC2_set_key): rewrite the mask calculation
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 12:08:22 +00:00
Love Hörnquist Åstrand
d3ee5536f7
(RC2_set_key): handle keys where effective bits are diffrent from keylength
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 12:05:26 +00:00
Love Hörnquist Åstrand
5c405cf489
include rc2.h, and when I'm here, make aes mandatory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13754 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-23 20:23:36 +00:00
Love Hörnquist Åstrand
47bed55995
add ENCTYPE_ARCFOUR_HMAC as compat glue for MIT kerberos
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-23 19:48:19 +00:00
Love Hörnquist Åstrand
b5a7b42a3a
(krb5_crypto_init): clear return pointer on failure
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-23 19:43:57 +00:00
Love Hörnquist Åstrand
f135b1bfe8
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-23 19:25:52 +00:00
Love Hörnquist Åstrand
e8470007a1
rc2 implementation
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-23 19:23:38 +00:00
Love Hörnquist Åstrand
f4826c51a0
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-22 22:14:24 +00:00
Love Hörnquist Åstrand
497fcd1e8a
(DES3_random_to_key): make it produce the right result
...
(DES3_postproc): use DES3_random_to_key
(krb5_random_to_key): check the required number of bits (not the size
of the key)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-22 22:13:00 +00:00
Love Hörnquist Åstrand
2be538b05c
test random to key function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-22 22:09:35 +00:00
Love Hörnquist Åstrand
2037600911
comment out the "@"/"" test for now
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-22 22:00:51 +00:00
Love Hörnquist Åstrand
3df9dedd06
document that krb5_string_to_key_derived is broken for non 3des
...
enctypes and thus deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-22 21:36:03 +00:00
Love Hörnquist Åstrand
d5f8428a44
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13744 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-22 11:54:51 +00:00
Love Hörnquist Åstrand
e597b84708
(generate_dh_keyblock): use the new function krb5_random_to_key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-22 11:54:37 +00:00
Love Hörnquist Åstrand
fb27fb0d91
add des and DES3 random_to_key hooks, they need special processing
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-22 11:53:12 +00:00
Love Hörnquist Åstrand
b17bf61cc0
(krb5_random_to_key): new function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-22 08:00:08 +00:00