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
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
7298e49a3f
use the first proposed enable enctype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-21 15:21:05 +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
35140ccefa
at least try to handle diffrent enveloped enctypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-21 11:30:20 +00:00
Love Hörnquist Åstrand
06146a0885
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13736 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-21 00:55:05 +00:00
Love Hörnquist Åstrand
8b7d2a4dc4
1.28.2.16: (der_get_oid): handle all oid components being smaller then
...
127 and allocate one extra element since first byte is split to to
elements.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-21 00:53:58 +00:00
Love Hörnquist Åstrand
21139ee8f0
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-19 23:30:17 +00:00
Love Hörnquist Åstrand
379f4e3738
ETYPE_DIGEST_MD5_NONE, ETYPE_CRAM_MD5_NONE: private use, lukeh@padl.com
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-19 23:29:02 +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
432db5d5c9
add --credential argument that just remove one credential entry out of
...
the cache specified
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-17 17:00:06 +00:00
Love Hörnquist Åstrand
627a7a31ef
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-17 09:03:11 +00:00
Love Hörnquist Åstrand
2553080b05
replace the krb5.conf configuration option that describes the mapping
...
between principals and subject names with a file, default
/var/heimdal/pki-mapping. XXX this should be pushed into HDB
XXX should add issuer too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-17 09:01:35 +00:00
Love Hörnquist Åstrand
4121fc049e
merge certificate/private_key to a user_id
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-17 08:43:40 +00:00
Love Hörnquist Åstrand
e6dca71033
update prototype for pk_initialize
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-16 09:00:18 +00:00
Love Hörnquist Åstrand
8bc1b3e836
merge certificate/private_key to a user_id
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-16 00:40:21 +00:00
Love Hörnquist Åstrand
bb7814c980
adapt to heim_integer changes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-16 00:38:36 +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
eac2949b39
adapt to heim_integer changes
...
merge certificate/private_key to a user_id
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-15 23:44:02 +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
4d732f1c66
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-14 13:57:22 +00:00
Love Hörnquist Åstrand
876e4da04d
even more evil stuff for cross-compiling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-14 13:53:35 +00:00
Love Hörnquist Åstrand
d32da4ab7f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13717 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-14 12:48:20 +00:00
Love Hörnquist Åstrand
24072eaa7f
use AC_RUN_IFELSE so we can handle cross compiling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-14 12:47:37 +00:00
Love Hörnquist Åstrand
30d6172fe7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13715 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 14:35:50 +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
c9a77dc3c7
if -E, add windows standard calling conv to headerfile if needed
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 14:33:07 +00:00
Love Hörnquist Åstrand
50719c034d
export KRB5_LIB_FUNCTION when building with BUILD_KRB5_LIB
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13711 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 14:30:42 +00:00
Love Hörnquist Åstrand
97a462ec95
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 14:30:03 +00:00
Love Hörnquist Åstrand
d0dd5ae91a
add rk_WIN32_EXPORT
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 14:29:47 +00:00