Commit Graph

6209 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
2647105cbe add krb5_auth_con_addflags and krb5_auth_con_removeflags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 17:07:26 +00:00
Love Hörnquist Åstrand
6a5f0a3ce8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-06 16:59:11 +00:00
Love Hörnquist Åstrand
643ddf98e9 add more T_ types and inline the dns headers, all this for bind9 resolvers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-06 16:51:33 +00:00
Love Hörnquist Åstrand
94479da346 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-05 22:48:05 +00:00
Love Hörnquist Åstrand
ab68d05e93 Wrap token was in wrong order, found by Sam Hartman
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-05 22:44:41 +00:00
Love Hörnquist Åstrand
ae835d7c1a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-04 11:17:47 +00:00
Love Hörnquist Åstrand
c5d2778488 add AcceptorSubkey (but no code understand it yet)
ignore unknown token flags


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-04 11:16:38 +00:00
Love Hörnquist Åstrand
dc82ab8fa2 (decrypt_internal_derived): move up padsize to avoid memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-03 13:07:41 +00:00
Love Hörnquist Åstrand
1da5f2fcee x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-02 17:28:28 +00:00
Love Hörnquist Åstrand
1b0cfc72b1 add _PATH_ARLA_OPENBSD & c/o
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-02 17:28:18 +00:00
Love Hörnquist Åstrand
84ca0906cd require cipher-text to be padded to padsize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-02 16:32:25 +00:00
Love Hörnquist Åstrand
e30d6d0882 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-02 12:03:25 +00:00
Love Hörnquist Åstrand
446442bdf2 EAI_ADDRFAMILY and EAI_NODATA is deprecated in RFC3493
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-02 11:32:22 +00:00
Love Hörnquist Åstrand
8d91bc26de EAI_ADDRFAMILY and EAI_NODATA is deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-02 11:30:52 +00:00
Love Hörnquist Åstrand
627c19cca9 use EAI_NONAME instead of EAI_ADDRFAMILY to check for if we need EAI_ macros
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-02 11:28:31 +00:00
Love Hörnquist Åstrand
c8e6b409c1 (check_host): don't check for EAI_NODATA, because its depricated in RFC3493
Pointed out by Hajimu UMEMOTO <ume@mahoroba.org> on heimdal-discuss


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-02 11:25:01 +00:00
Love Hörnquist Åstrand
6d4640ff58 move test_crypto to noinst_PROGRAMS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-01 17:33:47 +00:00
Love Hörnquist Åstrand
3676f25630 add --version,--help
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13165 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-01 17:32:43 +00:00
Love Hörnquist Åstrand
456f102612 tweek to make pkinit work with the fact the asn1_compile can't
generate code for context tagless optionals


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-26 00:46:02 +00:00
Love Hörnquist Åstrand
b3b050fa31 clean up error handling, make enc-type work again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-25 23:26:58 +00:00
Love Hörnquist Åstrand
9b2795abd8 make PKINIT DH support work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-25 10:53:20 +00:00
Love Hörnquist Åstrand
e967835b0c (LDADD): link with LIB_dlopen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 08:56:51 +00:00
Love Hörnquist Åstrand
c90cadbe73 make pkinit_win2k_compatible into a flag field
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 06:14:53 +00:00
Love Hörnquist Åstrand
aff1525106 remove most compile depencies
clean up


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 06:13:37 +00:00
Love Hörnquist Åstrand
e3c2965c74 fix bugs, improve error reporting
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:10:00 +00:00
Love Hörnquist Åstrand
8f1d37e688 clean up, make remove depenency on openssl's api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 23:43:27 +00:00
Love Hörnquist Åstrand
d601b85bd3 add some glue for pkinit
add reference counter to _krb5_get_init_creds_opt_private


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 23:40:23 +00:00
Love Hörnquist Åstrand
9c1ceb2050 reference count krb5_get_init_creds_opt private component to avoid
copy all the data in it


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 23:38:02 +00:00
Love Hörnquist Åstrand
0cb92c7056 (AES_string_to_key): fix memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 22:06:34 +00:00
Love Hörnquist Åstrand
5c2a1917c0 (init_cred_loop): fix memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 21:17:52 +00:00
Love Hörnquist Åstrand
b4fc4e3eb4 include pthread.h in the pthread case
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 20:16:50 +00:00
Love Hörnquist Åstrand
6f6e81bdbd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 06:26:44 +00:00
Love Hörnquist Åstrand
122bc51378 don't include <krb5-private.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 06:24:16 +00:00
Love Hörnquist Åstrand
8ae4ac8c04 stop using krb5 lib private byte-frobbing functions and replace them
with with krb5_storage


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 06:23:28 +00:00
Love Hörnquist Åstrand
05ab428f9c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-22 22:43:34 +00:00
Love Hörnquist Åstrand
3882d8ca5f Don't require timestamp to be set on delegated token, its already
protected by the outer token (and windows doesn't alway send it)
Pointed out by Zi-Bin Yang <zbyang@decru.com> on heimdal-discuss


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-22 22:42:16 +00:00
Love Hörnquist Åstrand
f00c4ac492 (receive_loop): when seeking over the entries we already have, skip
over the trailer.
From: Jeffrey Hutzelman <jhutz@cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-19 03:21:31 +00:00
Love Hörnquist Åstrand
b2d9a55c02 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-18 23:20:30 +00:00
Love Hörnquist Åstrand
ef7b3a72f6 (main): parse kdc.conf
From: Jeffrey Hutzelman <jhutz@cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-18 23:19:26 +00:00
Love Hörnquist Åstrand
43d74c9d79 (TESTS): add test_crypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-15 07:04:17 +00:00
Love Hörnquist Åstrand
1c791de2da time crypto operations
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-15 06:49:20 +00:00
Love Hörnquist Åstrand
210a5b92a6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-14 16:30:48 +00:00
Love Hörnquist Åstrand
82fa1ca07c typo, Bruno Rohee <bruno@rohee.com>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-14 16:29:22 +00:00
Love Hörnquist Åstrand
8f3b927b5f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-14 03:13:33 +00:00
Love Hörnquist Åstrand
00c0fe1ebb fix {} error, pointed out by Liqiang Zhu
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-14 03:11:23 +00:00
Love Hörnquist Åstrand
155a667009 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-10 15:43:20 +00:00
Love Hörnquist Åstrand
33b781c6f6 Sequence number should be stored in bigendian order
From: Luke Howard <lukeh@padl.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-10 15:40:36 +00:00
Love Hörnquist Åstrand
f0e00bfd8d (krb5_verify_ap_req2): krb5_free_ticket free the ticket now, rewrite
error handling to handle that


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13108 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 01:28:01 +00:00
Love Hörnquist Åstrand
bc935dd347 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 01:22:46 +00:00
Love Hörnquist Åstrand
711b17e252 (gss_delete_sec_context): don't free ticket, krb5_free_ticket does that now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 01:17:13 +00:00