Commit Graph

2845 Commits

Author SHA1 Message Date
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
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
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
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
Love Hörnquist Åstrand
f9a1ff77fe document krb5_random_to_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-22 07:59:32 +00:00
Love Hörnquist Åstrand
b8ddf0d0a7 (krb5_set_default_in_tkt_etypes): use the return from krb5_enctype_valid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-21 13:36:33 +00:00
Love Hörnquist Åstrand
272e7e5504 (build_auth_pack): use heim_integer to encode DH public key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-19 21:40:57 +00:00
Love Hörnquist Åstrand
7ee21a72fb add krb5_context to so its added as manpage-link too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-18 18:36:20 +00:00
Love Hörnquist Åstrand
b209d68f8c (fcc_remove_cred): simplistic implementation, XXX add locking
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-17 17:09:31 +00:00
Love Hörnquist Åstrand
69cdbef7a8 merge certificate/private_key to a user_id
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-15 23:45:40 +00:00
Love Hörnquist Åstrand
abc38c3ab4 use KRB5_PADATA_PK_AS_REQ_WIN
free X509_STORE


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13720 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-15 13:52:49 +00:00
Love Hörnquist Åstrand
08f10ab3ca define BUILD_KRB5_LIB when building libkrb5.la, add KRB5_LIB_FUNCTION proto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 14:35:39 +00:00
Love Hörnquist Åstrand
2d70eeae3e add KRB5_LIB_FUNCTION
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 14:33:45 +00:00
Love Hörnquist Åstrand
57075c968c (krb5_ticket_get_authorization_data_type): add error strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 12:35:56 +00:00
Love Hörnquist Åstrand
58a0415a27 (krb5_prompter_posix): if some thing is printed on stderr, fflush it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 12:35:09 +00:00
Love Hörnquist Åstrand
af12e77109 free functions also zeros out the key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 12:33:47 +00:00
Love Hörnquist Åstrand
3a9a357e65 some text about krb5_prompter_posix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13705 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 12:33:10 +00:00
Love Hörnquist Åstrand
e8708cd380 document hdb-ldap-structural-object
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 12:32:23 +00:00
Love Hörnquist Åstrand
7866d861da add krb5_cc_get_prefix_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 11:55:32 +00:00
Love Hörnquist Åstrand
f1d3b2660d also lookup _kpasswd._tcp SRV-rr
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-31 14:04:57 +00:00
Love Hörnquist Åstrand
de787b6b66 add tcp support to the set protocol, should be cleaned up to enable
sharing code with krb5_sendto


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-31 14:03:38 +00:00
Love Hörnquist Åstrand
8e9abebb79 try to pacify mdoc macros on osf/1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-31 04:23:18 +00:00
Love Hörnquist Åstrand
bfd4bb3a04 (pa_data_add_pac_request): don't increase md->len, krb5_padata_add
already does that


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-30 15:54:12 +00:00
Love Hörnquist Åstrand
2bf6c25dcd its PAC not PAQ
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-30 15:41:04 +00:00
Love Hörnquist Åstrand
9f2191119f man_MANS += krb5_string_to_key.3 krb5_rcache.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13631 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-23 14:44:53 +00:00
Love Hörnquist Åstrand
bf31f6aead remove function krb5_sendto_kdc2, its no longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-23 12:09:33 +00:00
Love Hörnquist Åstrand
01b1f388d7 unexport krb5_get_host_realm_int to external users by prefixing it with _
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-23 12:08:25 +00:00
Love Hörnquist Åstrand
111658f363 s/krb5_mk_req_internal/_&/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-23 12:07:23 +00:00
Love Hörnquist Åstrand
c1f83887ae unexport krb5_mk_req_internal to external users by prefixing it with _
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-23 12:06:33 +00:00
Love Hörnquist Åstrand
f5b17b4a81 update .Dd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-22 08:49:11 +00:00
Love Hörnquist Åstrand
787d41d896 add missing }
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13612 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-22 08:45:01 +00:00
Love Hörnquist Åstrand
c762fbde59 (krb5_get_init_creds_opt_set_pkinit): add prompter argument and use it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13607 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-21 18:47:29 +00:00
Love Hörnquist Åstrand
c14cf91ac5 add more stuff, 105 functions to go
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-21 18:17:55 +00:00
Love Hörnquist Åstrand
7569e82240 add krb5_get_server_rcache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-21 18:14:33 +00:00
Love Hörnquist Åstrand
359befde6c framework for replay cache manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-21 17:19:42 +00:00
Love Hörnquist Åstrand
2829761e76 document string to key functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-21 17:14:26 +00:00