Love Hörnquist Åstrand
7c6b360f3a
(make_ccred_from_cred): addresses is filled in now, remove comment
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 18:01:15 +00:00
Love Hörnquist Åstrand
d87eb9758e
add mutex for global variables, clean up returned error codes,
...
implement storing addresses into the ccapi
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 17:41:22 +00:00
Love Hörnquist Åstrand
e502ee6379
AES is enabled by default, remove ifdefs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-17 00:42:05 +00:00
Love Hörnquist Åstrand
fdb02ca44d
use hex encoder from roken
...
AES is enabled by default, remove ifdefs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-17 00:34:12 +00:00
Love Hörnquist Åstrand
00c5d0af9f
more static and unsigned issues
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14639 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-15 19:11:25 +00:00
Love Hörnquist Åstrand
256ec57f94
fix signedness issues, prompted by report of Magnus Ahltorp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-15 14:49:04 +00:00
Love Hörnquist Åstrand
144fc12c0e
more text about how to free returned resources
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-13 15:07:13 +00:00
Love Hörnquist Åstrand
4b695a4a24
handle the -25 generation path
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14632 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-10 05:39:21 +00:00
Love Hörnquist Åstrand
244e0b3971
do error handling and catch programmers errors
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14631 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 23:28:10 +00:00
Love Hörnquist Åstrand
81e92ae5b3
use KRB5_PADATA_PK_AS_REQ_19
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14630 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 22:59:39 +00:00
Love Hörnquist Åstrand
19c78d1e03
fold in pk-init-25 asn1 changes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 22:39:17 +00:00
Love Hörnquist Åstrand
b68c2887d2
use generated oid's
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 15:31:39 +00:00
Love Hörnquist Åstrand
f69e7ee138
use the new generated oid functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-08 22:57:22 +00:00
Love Hörnquist Åstrand
2b0b4dc044
update to the asn1 structures used in -25's
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-08 22:17:46 +00:00
Love Hörnquist Åstrand
7015659927
bump version to 21:0:4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 15:51:02 +00:00
Love Hörnquist Åstrand
6084387c52
(DES_string_to_key_int): must check for weak keys after doing the
...
DES_cbc_cksum
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 18:41:40 +00:00
Luke Howard
d3251a6794
Set KD_CONFIG after calling config_get_hosts() in kpasswd_get_next()
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-20 06:50:26 +00:00
Love Hörnquist Åstrand
4651d05136
(krb5_random_to_key): cast size_t to int to make %d work
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-09 09:55:44 +00:00
Love Hörnquist Åstrand
620f5d40f8
(krb5_kt_get_entry): tell what enctype the caller requested to provide
...
the user with a glue what the caller was asking for.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-08 12:12:53 +00:00
Luke Howard
fb69189ceb
Add _krb5_kcm_is_running/_krb5_kcm_noop API
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-06 01:33:21 +00:00
Love Hörnquist Åstrand
5d95fe0e1c
document large_msg_size
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:39:57 +00:00
Love Hörnquist Åstrand
c75a81d69f
(init_context_from_config_file): init large_msg_size to 6000
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:36:25 +00:00
Love Hörnquist Åstrand
a298a950b1
(krb5_context_data): add large_msg_size, threshold where we start to
...
use transport protocols without tiny max data transport sizes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:26:27 +00:00
Love Hörnquist Åstrand
1ba81cd3f1
drop prototypes, they all live in krb5-private.h by now
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:21:31 +00:00
Luke Howard
1f9851b03b
make KCM socket "/var/run/.kcm_socket"
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 22:56:01 +00:00
Love Hörnquist Åstrand
d375fa4d7f
(send_and_recv_udp): make private again
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 20:05:30 +00:00
Love Hörnquist Åstrand
e211cca93d
use AF_UNIX like the rest of the codebase, add some more error strings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 20:01:22 +00:00
Luke Howard
936660f382
Add kcm.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:33:50 +00:00
Luke Howard
c276c9537e
add krb5_store_creds_tag, krb5_ret_creds_tag
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:32:59 +00:00
Luke Howard
93ff9f0443
fix cc_retrieve prototype, add KCM cc_ops
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:32:47 +00:00
Luke Howard
5d93249adc
add _krb5_send_and_recv_tcp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14533 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:32:31 +00:00
Luke Howard
099770ec85
add initial implementation of KCM client library
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:32:09 +00:00
Luke Howard
4de42cbbbb
add krb5_get_init_creds_keyblock (for now - subject to change)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:30:25 +00:00
Luke Howard
6152d507ad
pass all options to cc_retrieve_cred
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:30:04 +00:00
Luke Howard
710ae74abe
register KCM cc_ops
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:29:54 +00:00
Luke Howard
83b5139ce2
use cc_retrieve_cred if present rather than enumerating ccache
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:29:14 +00:00
Luke Howard
240da19de0
Allow NULL in_options to be passed to krb5_get_init_creds_password()
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-24 10:32:43 +00:00
Love Hörnquist Åstrand
039d507d89
cast argument to isdigit to unsigned char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 22:58:38 +00:00
Love Hörnquist Åstrand
5f77418366
cast argument to toupper to unsigned char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 22:57:18 +00:00
Love Hörnquist Åstrand
d697ff390d
drop krb5_{checksum,enctype}_is_disabled
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 21:12:10 +00:00
Love Hörnquist Åstrand
68572cd597
drop krb5_enctype_is_disabled, more text about krb5_enctype_valid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 21:10:48 +00:00
Love Hörnquist Åstrand
5dc0e19c59
drop krb5_{checksum,enctype}_isdisabled
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14489 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 21:06:04 +00:00
Love Hörnquist Åstrand
8ea83fdc64
drop krb5_checksum_is_disabled, krb5_checksum_valid handles that just fine
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 20:52:19 +00:00
Love Hörnquist Åstrand
2d1c1063ef
krb5_enctype_is_disabled is the same thing as krb5_enctype_valid, so
...
use the later since its older and the api doesn't really need another
entry point
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 20:43:50 +00:00
Love Hörnquist Åstrand
69a18af8ac
(krb5_parse_address): filter out dup addresses from getaddrinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 17:36:11 +00:00
Love Hörnquist Åstrand
299a0c0048
document krb5_generate_subkey_extended
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 09:52:29 +00:00
Love Hörnquist Åstrand
5021545677
(man_MANS) += krb5_is_thread_safe.3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 09:47:42 +00:00
Love Hörnquist Åstrand
8b728dab95
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 09:47:02 +00:00
Love Hörnquist Åstrand
802103911a
(krb5_is_thread_safe): return TRUE is the library was compiled with
...
multithreading support. If not, application must global lock the
library, it it uses threads that call kerberos functions at the same
time.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 09:41:36 +00:00
Luke Howard
191db4ab4f
support ETYPE_ARCFOUR_HMAC_MD5_56
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14468 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 06:31:01 +00:00