Love Hörnquist Åstrand
86a93da7e5
spelling from Josef El-Rayes <josef@FreeBSD.org>
...
while here, write some text about the SPNEGO situation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-06 15:57:10 +00:00
Love Hörnquist Åstrand
37fccbef81
(pk_rd_pa_reply_dh): use krb5_random_to_key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-29 08:21:59 +00:00
Love Hörnquist Åstrand
1d8257ac92
(krb5_verify_ap_req2): clear the whole ticket, not just a pointer size of it
...
From: Luke Howard <lukeh@padl.com >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-29 07:31:45 +00:00
Love Hörnquist Åstrand
15ac7dcf54
add set_param for RC2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 22:03:02 +00:00
Love Hörnquist Åstrand
0d09bd5540
use krb5_oid_to_enctype and remove all oids that are no longer needed
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 21:23:42 +00:00
Love Hörnquist Åstrand
51a769716d
(krb5_oid_to_enctype): make sure oid exists before we compare with it
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 21:17:19 +00:00
Love Hörnquist Åstrand
0e9441df50
(krb5_crypto_get_params): check ivec length before returning it
...
add aes-oids
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 21:08:01 +00:00
Love Hörnquist Åstrand
c65f0e94ca
(libasn1_la_SOURCES) += der_cmp.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 21:01:01 +00:00
Love Hörnquist Åstrand
7bc2e8f782
add heim_oid_cmp and heim_octet_string_cmp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 20:54:02 +00:00
Love Hörnquist Åstrand
5d186c03b3
add heim_oid_cmp heim_octet_string_cmp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 20:52:36 +00:00
Love Hörnquist Åstrand
4354a5a5dc
add krb5_enctype_to_oid and krb5_oid_to_enctype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 20:49:50 +00:00
Love Hörnquist Åstrand
a1bf15705c
add krb5_crypto_set_params, aes aes-NNN-cbc-none
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 20:01:46 +00:00
Love Hörnquist Åstrand
f66d41fa79
add KEYTYPE_AES192
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:57:50 +00:00
Love Hörnquist Åstrand
3c71c948b6
add ETYPE_AESNNN_CBC_NONE
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:54:16 +00:00
Love Hörnquist Åstrand
fa6167819e
use krb5_crypto_get_params to implement kcrypto RC2 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:18:04 +00:00
Love Hörnquist Åstrand
45c5b47131
add CMS symmetrical parameters
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:14:13 +00:00
Love Hörnquist Åstrand
d36b180200
add CMS symmetrical parameters here, enctype rc2-cbc
...
XXX RC2CBCParameter is wrong because the compiler is broken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:11:04 +00:00
Love Hörnquist Åstrand
9ce4894fcf
add KEYTYPE_RC2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:04:56 +00:00
Love Hörnquist Åstrand
054e0d01d6
add partial CMS parameter handling, this is needed for RC2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:02:56 +00:00
Johan Danielsson
5e02dc0ec1
allow parsing directly from strings with
...
krb5_config_parse_string_multi
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 07:14:28 +00:00
Johan Danielsson
4ac10a4c46
try to resolve hostnames
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 06:13:45 +00:00
Johan Danielsson
f3dc346f5d
(krb5_storage_from_fd): dup the file descriptor so we don't have to
...
keep track of it in two places
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 21:27:34 +00:00
Johan Danielsson
898468d57e
add krb5_compare_creds.3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:31:26 +00:00
Johan Danielsson
5f9df92e40
move krb5_compare_creds to its own manpage
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:29:53 +00:00
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
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
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
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
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
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